freescale(imx53) with xenomai patch
I set freescale board (imx53) gpio2-14 as interrupt trigger pin and the kernal with xenomai patch. When i use Interrupt handling in kernel space like Below code:
#define MYIRQ (1*32+14)
int irq=gpio_to_irq(MYIRQ);
static int isr_code(xnintr_t *intr)
{
rt_intr_disable(&myinterrupt);
...
...rt_intr_enable(&myinterrupt);
return RT_INTR_HANDLED;
}
.....
sampling_task1...........
sampling_task2...............
static int __init gpio_irq_init(void)
{
rt_intr_create(&myinterrupt, "myinterrupt", irq, isr_code, NULL, 0);
rt_task_create.....sampling_task1
..................sampling_task2
rt_intr_enable(&myinterrupt);
return 0; }
The I-pipe path version is adeos-ipipe-2.6.35.9-arm-1.18-01.patch , the kernal version is 2.6.35.9
I find if the tasks i have created more and more the ISR (Interrupt response function)will lose a lot of response .
So I do not know if I set the interrupt priority level is too low, or what?
If I had to set the interrupt priority real-time kernel, then how can I set up?
or gpio Interrupt number is right ?
Strong real-time system requirements,but I do not know why if it has lots of task it will lose real-time .
Thanks!