Hi, Thanks for the response. My configurations are as per below:
1. During Initialization
1.1 Configure PIT channel 2 interrupt (5 milliseconds periodicity)
1.2 Set Priority group in (SCB AIRCR register) to 3
1.3 Set NVIC priority register to have a value of 0x40
1.4 Start the PIT channel
2. In interrupt processing
2.1 Clear PIT Channel 2 status
2.2 Set NVIC priority register to have a value of 0x20 to increase the interrupt priority to allow the same interrupt to come again
2.3 Interrupt or task processing
2.4 Set NVIC priority register to have a value of 0x40 to bring back the priority to initial set value
2.5 exit from the interrupt
In the step 2.3, i create a delay of 10 milliseconds and expect the processor control to hit the entry point of the interrupt while it is within step 2.3. Please let me know if the expected behavior is possible with this microcontroller?
Regards,
Kishore