5 years, 10 months ago.

ILI9341 & STM32F429

Hello. I try to connect the screen (ILI9341 controller) to STM32F429I-DISC board. I created the project, I added mbed, SPI_TFT_ILI9341 and TFT_fonts library.

But in case of compilation I receive an error: Error: Identifier "D11" is undefined in "main.cpp", Line: 6, Col: 22

The compiler swears on each pin in this string : SPI_TFT_ILI9341 TFT(D11, D12, D13, D8, D9, D10, "TFT"); (mosi, miso, sck, cs, reset, dc)

What do I do not so? I ask for help :)

1 Answer

5 years, 10 months ago.

Hi Marat,

The SPI_TFT_ILI9341 library you are using is referencing Arduino pin names that aren't available on all targets. If you check the graphic here (scroll down to Pins Legend) you can map this to the SPI port and other pins that you want to use on the STM32F429:

The source file for reference is:

-Ralph, Team Mbed