2015-04-16 12:53 PM
We are using LwIP running under CMSIS-RTOS and we are trying to initialize the Ethernet peripheral on an STM32F429. I have traced the problem to a line in the ST Cube code v1.5.0, in the file stm32fxx_hal_eth.c. It near a comment about doing an Ethernet Software reset. The line is:
while (((heth->Instance)->DMABMR & ETH_DMABMR_SR) != (uint32_t)RESET)
{ }It never gets out of this while loop. I believe that I have forgotten to do something or properly initialize something. Any ideas?Thanks,Bob2015-04-16 06:05 PM
Check the clocks for the ETH and PHY, if supplying PHY via clock out of MCO check that, GPIOA, SYSCFG, etc.