This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137: Timer interrupt is delayed during FLASH write

Part Number: TMS570LS3137

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