cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H757 ETH and LCD performance issue

NAham.1
Associate II

Hi,

I am trying to integrate ETH & TFT LCD i nto my application using STm32H757 MCU

TFT LCD display interface is working properly unless ETH is configured 

ETH is configured through below link

https://community.st.com/s/article/How-to-create-project-for-STM32H7-with-Ethernet-and-LwIP-stack-working

Ethernet module is able to get the IP address connected to DHCP server

MPU is configured and I-Cache & D-Cache Enabled as given in above link

One problem with ETH configuration is - Application is not executing in normal mode.

Need to click on F5 (3-5 times) in debug mode as in the below link'

https://community.st.com/t5/stm32cubemx-mcu/start-code-execution-problem-with-mx-lwip-init/td-p/167691

When enabling D-Cache for ETH irrespective of MPU region configurations, TFT LCD is not displaying clearly 

Disabling D-Cache makes LCD display clear

Unable to find the proper solution for both issues

Please extend your valuable support to fix it

 

1 REPLY 1
FBL
ST Employee

Hello @NAham.1,

 

Would you please share your memory definitions in the linker file? Have you tried to increase the stack size? 

When D-Cache is enabled, it can cause issues with memory coherency if the memory regions are not properly configured. Would you share your MPU configuration?

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.