May 28, 2021
02:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 28, 2021
02:59 AM
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
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
Labels
- Labels:
-
Technical Center
- Tags:
- IFX
1 Reply
Mar 28, 2022
04:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 28, 2022
04:15 AM
Any answer here? I have the same problem, but using Tc397.