cancel
Showing results for 
Search instead for 
Did you mean: 

TH_DMABMR_SR bit never goes to zero and then exits for TIMEOUT

infoinfo983
Associate II

Hi

On my board the ETH_DMABMR_SR bit never goes to zero and then exits for TIMEOUT.

Where did I make the mistake?

What exactly should I check?

Best Regards

Albert

2 REPLIES 2
Imen.D
ST Employee

Hello @infoinfo983​ ,

In order to more understand the issue you are facing, we need more details on the case:

Which Hardware board used?

Are you using MII or RMII ? Is MII/RMII clock available from external source?

Do you have configured correctly the pins and enabled the clocks in RCC?

Kind Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
infoinfo983
Associate II

Hi

The project was created with STM32cubeMX 4.27.0 and STlib 1.21.0. ... does not work. The microcontroller is STM32F429ZIT6. The interface is RMII. The ETH_REF_CLK is 50Mhz.

I tried to introduce a very old LwIP and oddly it works. In any case, I had to enter the following line of code in the HAL_ETH_Init (..) function on line 384

phyreg = heth-> Instance-> MACMIIAR; // FIXME

I'm looking for differences to understand where the problem is

Thank you