In our application a digital accelerometer stores samples in it’s fifo buffer. When the number of samples reaches a threshold (512 samples) the interrupt pins of the accel goes high, then IMP responds using a callback function and it read 512 samples from the fifo. That interrupt is generated every 77ms and it takes IMP about 10ms to read the samples and store them somewhere else. This process is repeated until 8192 samples have been collected. In between the interrupts the IMP application is idling. I understand that the IMP interrupts are no true interrupts and that the interrupt callback are executed as soon as the imp is idling.
- While IMP application is idling, will it handle to interrupt callbacks immediately?
- Could ImpOS be doing stuff in the background causing the interrupt callback to be executed too late?
- How many millis after an interrupt is an interrupt callback executed?
- Can you guarantee a certain number of ms?