cancel
Showing results for 
Search instead for 
Did you mean: 

How to connet a 4.3" LCD 480x272 to STM32F407 or STM32F429 module and use TouchGFX ?

I have develop in few days my first TouchGFX application with STM32F746-DISCO and it was very easy to integrate encoders, infrared remote and I2C comunication with external DAC chips.

Now I would like to create a new application with TouchGFX but with a cheaper STM32F4.

I have seen that TouchGFX allow to create a Smart Embedded display app with 480x272 display but how to specify the lcd pins and how to connect these ?

For example I can buy one of these modules at low cost

https://it.aliexpress.com/item/32972483336.html

https://it.aliexpress.com/item/4000086771574.html

the second have also the 40 pin connector for the lcd but how to give the parameters to TouchGFX to drive it ?

2 REPLIES 2
Martin KJELDSEN
Chief III

> I have seen that TouchGFX allow to create a Smart Embedded display app with 480x272 display but how to specify the lcd pins and how to connect these ?

Are you talking about the EDT Smart Embedded devices?

Generally, you have to configure your display GPIOs in either CubeMX (LTDC settings) or by hand. TouchGFX does not really concern itself with how you do your board bringup. As long as the interface works and your TouchGFX HAL set- and getTFTFrameBuffer() is asking the right register for the current Framebuffer being transferred.

In essence, you could do your display configuration and test transferring pixels without having TouchGFX enabled. When you tell TouchGFX where your framebuffers are it will then, through TouchGFX HAL, set the LTDC framebuffer register (CFBAR). The interrupt you receive from the LTDC will drive touchgfx and render frames into that memory.

/Martin

I don't use Cube MX.

How to create a new app for these module without a predefined schema on TouchGFX ?

Is there a source file to modify to set the combination pin stm32 to pin lcd ?