Skip to main content
Professional
Associate III
March 13, 2019
Question

TouchGFX and cubeMX with IAR project for STM32F767

  • March 13, 2019
  • 3 replies
  • 728 views

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
March 19, 2019

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
March 19, 2019

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
March 21, 2019

Hi @Professional​ 

Yes the code generated by STM32CubeMx is sufficient.

Best regards.

Nesrine.