Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAltera TSE driver and example program for lwIP (1.3.2)
After many many requests and complaints about lack of support and/or documentation for support of lwIP for the Altera TSE, I have developed a drop-in TSE driver and example program and made this avai...
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.