Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
To make a short story shorter : I have a program running an USB interrupt and a timer0 interrupt(200kHz frequency). The timer0 is suppose to have a high priority and should interrupt the USB routine. But with USB traffic ongoing I'm loosing about 25% of my timer irqs (they do not interrupt the USB irq). If I move the USB on the main loop instead of the IRQ I get all the timer interrupts. So is there any trick here? Does somehow the compiler make interrupt not nestable (disable irq on entry or something like that)? Thanks everyone.