Skip to main content
Professional
Associate III
Mar 13, 2019 7:46 AM UTC
Question

TouchGFX and cubeMX with IAR project for STM32F767

Hello,

i have generated an IAR cubeMX project with touchGFX for STM32F767.

Do i have just to modify the parameters in the cubeMX Multimedia->LTDCD according to my screen (synchro for width, for height...) ?

Or are there other initializations to do to make my screen work with touchGFX ?

(in a demo project there is a stm32746g_discovery_lcd.c file that have initialization and configuration functions)

Thanks for any support

best regards

This topic has been closed for replies.

3 replies

Nesrine.JLASSI
Visitor II
Mar 19, 2019 12:27 PM UTC

Hi @Professional​ 

Yes you can modify the parameters in the CubeMX Multimedia => LTDCD (synchronization for width, for height...), for example, the values of  TGFX_Buffer_Width  and TGFX_Buffer_Height (of Graphics) are retrieved from Active Width and Active Height (of Ltdc) as shown in the following figures.

0690X0000088E82QAE.png

0690X0000088E87QAE.png

Best regards,

Nesrine.

Professional
Associate III
Mar 19, 2019 1:03 PM UTC

hello,

thanks for the reply, so there are no more initialization needed to make the screen work ? The code generated by CubeMx is sufficient ?

Best regards

Nesrine.JLASSI
Visitor II
Mar 21, 2019 8:11 AM UTC

Hi @Professional​ 

Yes the code generated by STM32CubeMx is sufficient.

Best regards.

Nesrine.