This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x StarterWare: bug in MDIOInit

Hi!

MDIOInit function is described as following:

Initializes the MDIO peripheral. This enables the MDIO state machine, uses standard pre-amble and set the clock divider value.

But this function sets bit 20 (PREAMBLE) of MDIOCONTROL register. AM335x TRM says that setting this bit to 1 disables device from sending MDIO frame preambles. This conflicts with function description. Also this mode seems to be incompatible with standard PHYs. I suggest to fix this issue in next StarterWare release.

I'm using StarterWare version 02.00.01.01

Patch is attached to this post.