cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F107 ETH DMA hangs on reset

jakub2
Associate
Posted on October 10, 2016 at 18:29

Hi, I generated project in CubeMX, and I can't run ETH. Connections to PHY are fine. My program run on line 215 in file stm32f1xx_hal_eth.c whitch is:

while (((heth->Instance)->DMABMR & ETH_DMABMR_SR) != (uint32_t)RESET)

  {

  }

I read errata for that MCU, and it is said, that it is possible, that DMA is not working after changing power mode for sleep or stop, but I am not doing it in code, and eth DMA seems to be enabled. Please help me anyone.

#dma #eth #eth_dmabmr
1 REPLY 1
Posted on October 10, 2016 at 23:02

MII/RMII clock running? All 3 clock enable bits in RCC set?

JW