Altera_Forum
Honored Contributor
17 years agoIP packet rate using DE2 and Nios2
Hello,
My goal is to send video over IP using the DE2 kit with nios-2/f. I tried to use Altera's CD demonstration called DE2_NET. I managed to send packets to a directly connected PC using the DM9000A and the driver supplied in the demo: DM9000A.C. My problem is that the maximum number of received packets,which are 1518 Bytes each, is only 30 per second, that is about 45KBps. I noticed that DM9000A.C TransmitPacket() function contains a sleep() routine before copying each byte to the DM9000A TX buffer. My questions are: 1. What is the reason for this poor rate and how can I acheive a rate of ~80Mbit/s? 2.Are the 20 micro-sec sleep() routines needed? Thank you very much, tr.