XMC4500 - No return from Ethernet DMA Reset

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

cross mob
Not applicable
Hi all,
I'm currently testing the KEIL TCPIP examples on Hexagon Board. Unfortunately non of the examples is working.

During init the ETH DMA is resetted (ETH_BUS_MODE_SWR), but the reset is never cleared by the XMC.

/* Reset Ethernet DMA */
ETH0->BUS_MODE |= ETH_BUS_MODE_SWR_Msk;
for (tout = 0; tout < 0xFFFF; tout++);
while (ETH0->BUS_MODE & ETH_BUS_MODE_SWR_Msk);

The PHY clock is present (I checked on P15.8).

Any idea what could be the reason ?

Best regards,
Frank
0 Likes
3 Replies
Not applicable
Hi Frank,
I had the exact same behaviour on the RelaxKit -- also using Keil and DAVE - let us co-ordiante out side of the forum.

ron.barker@hotmail.com
0 Likes
Not applicable
OK, looks like I'm not the only one with this issue. This problem is not solved.

Can anyone confirm that the KEIL TCPIP demos are working on XMC4500 / Hexagon Boards ?
0 Likes
ron
Employee
Employee
Hey

the issue is the P15_PDISC P14_PDISC register. You may use a older version of a DAVE example or an App. For the please update to the latest version of the lib store. In case you use a working project (example) please insert a line of code before you start the DAVE_Init(); and clear the respective pad bit inside the register xx_PDISC.

ron
0 Likes