Hi all,
We are using our Vendor supplied TI Arago Linux 2.6.32 Kernel on our TI DM3730 based board.
Our Processor is acting as an SPI master and an AFE board is acting as SPI slave.
SPI slave is configured to generate periodic interrupts at 125 microseconds.
During this time, some input data to be read at the master side. This is done at the master's tasklet.
A GPIO of DM3730 is configured to generate interrupt when the interrupt is reached from SPI slave.
Using a scope, we have ensured the correctness of interrupts from the SPI slave (AFE board).
But we can see interrupts missing at the master side in every 94 milliseconds.
We have seen this by toggling another GPIO inside interrupt handler.
Another observation is if the CPU becomes loaded, interrupt missing happens very frequently.
Because of this, our data acquisition becomes wrong and our output result is incorrect.
We suspect if there is any high priority interrupts being serviced by the Kernel at this 94ms interval.
We have verified the output of cat /proc/interrupts. The other frequent interrupts running simultaneously are
gp_timer and eth0. We have also tried to increase the priority of our interrupt by writing some registers at our
IRQ controller. Could anyone please shed some light to this issue? What may be the reason of this interrupt miss / interrupt latency?
Please suggest any workarounds to solve this issue...
The processor is running at 1GHz.
Thanks,
Honey S