ETH is not working when integrating LWIP with LTDC
- July 21, 2020
- 2 replies
- 2795 views
We are using STM32F429IGTx microcontroller for our application. We use STM32CubeMX with Keil IDE v5. Our application needs both LCD and internet connectivity. we try to use 800 x 480 TFT LCD ( RGB565 ) for display and ethernet for internet connectivity. So, we configure LTDC with RGB565 and LWIP with ETH ( RMII ) using CubeMX. When we build LTDC and LWIP separately, both work well. When we integrate, LCD works but ETH is not working. We tried to solve the issue but we can’t find the source of it. There isn’t a pin muxing and memory issue. Then I started to comment LTDC initialization function call then ETH is started working. So, I tried to get to the root of it. At last, we figured out, when we comment out either __HAL_RCC_LTDC_CLK_ENABLE() function or HAL_GPIO_Init(GPIOF, &GPIO_InitStruct) function which is the LTDC DE pin, then ETH is working but we can't understand why?
I have attached my CubeMx report pdf file ( meraspluginsapp2.pdf ) and the evaluation board we use for your reference.
