Tc387 Ethernet - SWR bit of DMA_MODE is set to 1

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User16950
Level 1
Level 1
Hi guys,
I am using TC387 for my Ethernet project and I'm writing my Eth driver.
After the Eth driver is initialized and reset, I have set the external PHY as RGMII. Then I performed the DMA reset but the bit SWR of DMA_MODE is set to 1 and never returns to 0.
I read from the manual that " The reset operation is complete only when all resets in all active clock domains are de-asserted. Therefore, it is essential that all PHY inputs clocks (applicable for the selected PHY interface) are present for software reset completion."
I looked with the debugger and GREFCLK and RXCLK are present ( 125 MHz frequency ), but instead the TXCLK is always 0. All the Port are configured correctly so I don't know why it is always 0.
Do you know how to fix it? Any causes can lead to this behaviors?

Thank you,
Pietro
0 Likes
1 Reply
Firat
Level 1
Level 1
First reply posted First like given Welcome!

Any answer here? I have the same problem, but using Tc397.

0 Likes