Altera_Forum
Honored Contributor
15 years agoImplementing interrupt based PIO read for NIOS II
Hello,
I'm working on embedded system software design for the first time. So i have difficulties in understanding UCOSII, Niche stack TCP/IP stack capabilities and its usage. Details of the problems is mentioned. Hope i get some help. I have attached a pdf file and a C code file which has the details of the requirement. Basically it is a real time data acquisition system where in the parallel data is coming through Channel1 and channel2 (the design has two more channels which is not shown) clocked at respective channel clocks. These data should be read by NIOS II and has to be send to host PC s TCP/IP packets. Since there are 4 channels of data which are continuously and simultaneously coming i need to know a method to send all these 4 channels data to the host PC. Also each of these channel data should be configurable to reach minimum 4 destinations(IP address).. Because of the above requirement I need to know whether I need to use multithreading capability of UCOS II. If So I need to know how multithreading can be implemented on NIOS II using UCOS II for my requirement. Awaiting for the reply...