Hi Everyone!
I've been playing around with TI-RTOS, and it's wonderful for development! However, I need to run an interrupt at 200kHz (5us) for control, so the 10us latency inherent in the BIOS on the F28069 at 90Mhz for interrupts simply won't work. I've taken the interrupt out of the RTOS with Hwi_plug, and the latency seems to be better, but the jitter is now up at about 1us. In bare metal, the jitter is a fraction of that.
The conclusion that I've come to is that the timer2 interrupt that the RTOS uses is pre-empting my timer0 interrupt, and the timer1 interrupt seems to be locked out. Even if it wasn't, I need to be able to use lower priority PIE level interrupts like PWM and ADC.
http://www.ti.com/lit/an/spraax9/spraax9.pdf
This app note for this indicates that the worst case lock out is 88 cycles, or .97us, which is exactly what I saw.
Is there any way to make it so that the RTOS doesn't lock me out of my control interrupt for a variable time?
Justin