i.A7med
Newbie level 1
Hello,
I have a project on an ALTERA FPGA that includes two softcore NIOS II processors, the first processor runs an image processing algorithm that produces and output each 2 seconds (hope to improve it) and sends this output to another processor . This second processor controls a USB chip and finally sends the output to PC using USB.
The first process is straightforward but the second process is interrupt driven and an interrupt should happen and handled each 8 ms , so what I want to do is using only 1 processor and multitasking between those 2 tasks using uc/os-II but I am beginner to RTOS and I want to know if there will be a problem if one of the 2 tasks is highly interrupt driven .Is my idea possible ? Will this task interrupt latency be affected badly by the context switching ? How should I begin ?
I have a project on an ALTERA FPGA that includes two softcore NIOS II processors, the first processor runs an image processing algorithm that produces and output each 2 seconds (hope to improve it) and sends this output to another processor . This second processor controls a USB chip and finally sends the output to PC using USB.
The first process is straightforward but the second process is interrupt driven and an interrupt should happen and handled each 8 ms , so what I want to do is using only 1 processor and multitasking between those 2 tasks using uc/os-II but I am beginner to RTOS and I want to know if there will be a problem if one of the 2 tasks is highly interrupt driven .Is my idea possible ? Will this task interrupt latency be affected badly by the context switching ? How should I begin ?