Altera_Forum
Honored Contributor
15 years agoSending 60 video frames per second using Ethernet
Hello,
First of all happy new year. We are designing an embedded system that is used to send video frames to another embedded system via Ethernet connection. It is required to send 60 frames per second. To store the video frames we used a modular sgdma in such a way that odd frames are stored in a dedicated location in SDRAM and even frames are stored in another one. To send these frames via the Ethernet, NicheStack TCP/IP is used with uC/OS-II as an RTOS. While measuring the performance of NIOS-II processor (using the performance counter) when sending the video frames, we have the following inquiries: 1- Although using the same code, sending the odd frames takes longer time (~ 1.6 sec!!); when sending the even frames it takes only about 0.10 sec. In addition to, when measuring the performance at the beginning of the function , the CPU execution time is 0.01295. !!!! 2- After changing the execution order of the profiled section, the execution time differs (frame zero send part replaces frame 1 and vice versa). 3- We sent only 2 frames per 1.5 sec?? Can any one advise me on this issue?:cry::( Sorry for being long. Kind Regards