Issues with FPS and Screen Tearing on 7" LCD using STM32F767 MCU
Hello everyone,
We are working on a project that involves an LCD display and we are using the STM32F767 MCU. We have designed the board to work with both a 4.3" LCD with a resolution of 480x272 and a 7" LCD with a resolution of 800x480. While we are satisfied with the performance on the 4.3" LCD, we are facing issues with the 7" LCD, particularly with the FPS (Frames Per Second) and screen tearing.
We were able to increase the FPS on the 7" LCD from 25 to around 65 by adjusting the LCDCLK value using the formula "TotalW x TotalH x refresh rate". However, we encountered visible tearing on the screen (moving and colorful lines) when using the RGB888 Color Format. Switching to RGB565 resolved these issues and provided a cleaner display. This effect was consistent across different UI designs.
We have tested different UI designs using both ST TouchGFX and Embedded Wizard, and observed the same results.
We suspect that the problem might be related to DMA2D or SDRAM, but we are not sure how to proceed or what tests to conduct to confirm this. Any insights or suggestions would be greatly appreciated.
System Summary:
- MCU: STM32F767ZIT6
- SDRAM: MT48LC4M32B2P-6AIT
- LCD: 800x480 24bit Parallel RGB
Thank you in advance for your help.