cancel
Showing results for 
Search instead for 
Did you mean: 

Problems during initialization of Ethernet on STM32F429

bobdeschambault9
Associate II
Posted on April 16, 2015 at 21:53

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,

Bob
1 REPLY 1
Posted on April 17, 2015 at 03:05

Check the clocks for the ETH and PHY, if supplying PHY via clock out of MCO check that, GPIOA, SYSCFG, etc.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..