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.

Halcogen code for MDIO

Other Parts Discussed in Thread: HALCOGEN

Hello,

I was reading the Halcogen 3.0 code for MDIO module.

I founded  the following for the init function :

void MDIOInit(unsigned int baseAddr, unsigned int mdioInputFreq,
unsigned int mdioOutputFreq)
{
HWREG(baseAddr + MDIO_CONTROL) = 0x41000020u;
}

Why there is mdioInputFreq and mdioOutputFreq if this values aren't used. There is plan to use it in the future ?

What problems thisstatic setting of the CONTROL register can cause ?

thanks,

Cristiano