Jul 11, 2021
04:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 11, 2021
04:21 AM
Hi guys,
I am using TC397 step B ,while initializing the Eth driver, the bit SWR of DMA_MODE is set to 1 and never returns to 0,this bit is normally set by software during init but it should've flipped to 0 after reset is complete but it isnt, I checked the MCU ref eth clock and its configured,P11.5 and P11.2 seems to be configured and working fine, what else should I check or could be causing this synchronization issue?.
Thank you.
I am using TC397 step B ,while initializing the Eth driver, the bit SWR of DMA_MODE is set to 1 and never returns to 0,this bit is normally set by software during init but it should've flipped to 0 after reset is complete but it isnt, I checked the MCU ref eth clock and its configured,P11.5 and P11.2 seems to be configured and working fine, what else should I check or could be causing this synchronization issue?.
Thank you.
- Tags:
- IFX
4 Replies
Jul 13, 2021
03:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2021
03:44 AM
Make sure that the reference clock from external is available. You must measure this clock. If the clock is not available then the SWR bit will never changed to 0 after setting, reset will not completed.
Jul 13, 2021
04:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 13, 2021
04:25 AM
MoD wrote:
Make sure that the reference clock from external is available. .
what do you mean to make sure that the reference clock is "available"? I checked that MCU GETH clock is configured and CCUCON5 i can see the configuration for the clock and I can see P11.5 the clock pin blinking,is there something else I should check?
Jul 14, 2021
05:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 14, 2021
05:21 AM
You need a 125MHz clock from external on P11.5. I don't know what you mean with pin blinking. Which board you use?
Jul 14, 2021
07:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 14, 2021
07:55 AM
Iam using a lauterbach debugger, the 125 MHz is connected to P11.5, what i meant by blinking is in the debugger i can see the pin switching between high/low, but still it seems there is a synchronization issue, is there something missing other than initializing P11.5 as input and connecting the 125MHz to it?
This widget could not be displayed.