ETH DMAMR SWR always set, why?
Hello ,
I have STM32H750x MCU.
I would like to know why the ETH DMAMR->SWR (software reset bit) is still ALWAYS SET?
I know even the HAL driver is trying to do the SW reset on the ETH DMA and MAC. I know I should have an enabled and stable clock for the HCLK. and i also turn on the clocks for the ETH interface, CLOCK setup for the ETH has been called, using the
__HAL_RCC_ETH1MAC_CLK_ENABLE();
__HAL_RCC_ETH1TX_CLK_ENABLE();
__HAL_RCC_ETH1RX_CLK_ENABLE();
commands are set, and also all the RMII GPIOs are set, and in the SYSCFG register the RMII interface has been selected, still the SWR bit is set, and the only thing I can clear it if I do a:
__HAL_RCC_ETH1MAC_FORCE_RESET();
but after this I have to again release the forced reset using the
__HAL_RCC_ETH1MAC_RELEASE_RESET();
command, but still the SWR bit immediately switches back to SET state, so thats why simply the ETH DMA does not start working.
How can I debug or check why the SWR bit is always ON??
Thanks, Peter
