Skip to main content
WBen .2
Associate
April 18, 2021
Solved

STM32 F746G-DISCO

  • April 18, 2021
  • 2 replies
  • 903 views

Hello there, I am actually new in coding STM32 boards. I am currently working on an STM32 F746G-DISCO.

i am using the "LCD_UsrLog ((char *)" to print messages on the LCD tft screen.

I am wondering if there some high level function that enables me to clear the messages I show (only messages and not the totality of the screen.

Thank you in advance

This topic has been closed for replies.
Best answer by Imen.D

Hello @WBen .2​ and welcome to the STM32 Community =)

Clear the whole LCD using BSP_LCD_Clear() function or only one specified string line using the BSP_LCD_ClearStringLine() function.

Have a look at this example available under STM32CubeF7 which can be a starting point for your project:

STM32Cube_FW_F7_V1.16.1\Projects\STM32746G-Discovery\Examples\LTDC

 May this application note helps you:

  • AN4861 : LCD-TFT display controller (LTDC) on STM32 MCUs

Please mark my answer as best by clicking on the "Select as Best" button if it helped:smiling_face_with_smiling_eyes:

Imen

2 replies

Imen.DBest answer
ST Technical Moderator
April 19, 2021

Hello @WBen .2​ and welcome to the STM32 Community =)

Clear the whole LCD using BSP_LCD_Clear() function or only one specified string line using the BSP_LCD_ClearStringLine() function.

Have a look at this example available under STM32CubeF7 which can be a starting point for your project:

STM32Cube_FW_F7_V1.16.1\Projects\STM32746G-Discovery\Examples\LTDC

 May this application note helps you:

  • AN4861 : LCD-TFT display controller (LTDC) on STM32 MCUs

Please mark my answer as best by clicking on the "Select as Best" button if it helped:smiling_face_with_smiling_eyes:

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
WBen .2
WBen .2Author
Associate
April 21, 2021

Thank you so much Imen, this was definitely helpful :thumbs_up::thumbs_up:

Best regards

​