Hi everyone,
My customer has a timer interrupt of 500us with TMS570LS3137.
Normally, a timer interrupt is executed at a cycle of 500 μs.
However, if the customer executes the following write flow to FLASH, this 500usec timer interrupt will be delayed by 10msec ~ 100msec.
I'd like to know why the delay in the timer interrupt occurs due to the write operation to FLASH.
It is a supplement below.:
- Timer interrupt uses sectors 8 and 9 of FLASH bank0.
- The TMS570LS3137 is writing to FLASH BANK1.
- FLASH Bank1 is not accessed from the timer interrupt.
- If 100 msec Delay is inserted before Fapi_issueProgrammingCommand() of the following flow, the timer interrupt will not be delayed.
- When 10 msec Delay is inserted before Fapi_issueProgrammingCommand() of the following flow, the timer interrupt is delayed.
What is the reason?
Please give us advice.
Best regards,
Sasaki