Forum Discussion
Altera_Forum
Honored Contributor
13 years agoPetrak,
That will work fine unless you're doing realtime processing and using Ethernet too. Reading the PHY like this stalls the NIOS II interrupt response for a significant time period. I know this because it affected my project. When I reported this to Altera the response was "this is how it works". While the PHY shifts in serial data on this MDIO read, the NIOS II will not respond to interrupt requests. We used logic in the Cyclone to delay the task the interrupt was performing to hide this latency that the PHY causes. It was a real pain but we have to respond to an external interrupt within a few uS. Fortunately there was a workaround or our product would have been dead. The MDIO read was causing additional interrupt latency from 31 to 48uS over normal latency times. Bill A.