Hello,
We seem to have run into a problem with a network interface tied up to the MII interface that may be related to the new version of silicon. I'm wondering if anyone knows if there was any change in that portion of the silicon that may affect our performance? I didn't see anything in the Errata.
I've been looking into the driver a bit and found a discrepancy from our custom board that is troubling and may also be causing a problem, but I'm not sure why it would have changed with a newer version of silicon. Anyhow, in the davinci_emac.c, the following two defines are set:
#define EMAC_BUS_FREQUENCY
76500000 /* PLL/6 i.e 76.5 MHz */
#define EMAC_MDIO_FREQUENCY 2200000 /* PHY
bus frequency */
I'm wondering how these driver defines translate into the register set. It looks to me that the only MDIO register related to this would be a counter setting the MDIO frequency that should be clocked in the PLL1/6 clock domain, so the EMAC_BUS_FREQUENCY really wouldn't matter. However, I would like some clarification because on my board, PLL1 is actually 576 MHz, so this value should be 99 MHz, but was left at the value used on the EVM in the current version of the driver, so I'm interested in seeing how this effects the operation of the EMAC. Does it use the two constants to set the counter value or what?
My last finding is really what made me wonder if there were changes to the silicon in that area because since our clocking configuration may be incorrect, if the clocking changed and we were only marginally working before, it may now be broken. I'll be scoping out the signals to check the interface timing in the next day or so, so I should be able to see that, but it would be nice to find out this information in parallel.