Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

[Ethernet] iLLD driver issue on TC29x

$
0
0
I've found other bug that may help you.

In my evaluation board, the pin defined for MDIO is not bidirectional. This has some implications in the iLLD PHY driver. For the non-bidirectional pin, the default config makes the MDIO pin to be just an output pin (let's call ut MDO then). When the driver tries to read the PHY registers with the MDO it will obviously not work properly. This cause the initialization function to not wait for the PHY to reset, since this busy-wait relies on the Read of a PHY register. I observed that this cause my PHY to not be configured correctly, by watching the clock pin with an oscilloscope and observing that the frequency was not the one configured. As a "temporary hack", until we migrate the microcontroller to our own board and change the pin mapping, I made dummy sleep function to wait the PHY to reset, by around 200ms. This fixed the issue for me.

P.S.: If you observe the clock pin with a oscilloscope, it is recommended to disattach the probe after your measurments, because I observed many ETH frames not arriving, due to, probably, too much current being drained by my probe.

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>