I am using Aurix Tricore TC27x board. Here I am using two interrupts, one interrupt will occur for every 5us(High Priority) and another interrupt will occur for every 100us(Low Priority). The time for executing the 100us(Low Priority) interrupt is 40us, so while executing the 100us(Low Priority) interrupt if 5us(High Priority) interrupt comes context switching is not happening.
After completing the Low priority interrupt then only switching is happening to High Priority interrupt. Because of this I lost data.
Why it is not preempted?
Thanks in Advance.