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: RTI-DWD when interrupts are disabled

Part Number: TMS570LS3137


Hi,

So, here is the case: I init RTI and DWD. And DWD should be reset around every 400 ms. I enable IRQ.

My reasoning is that when IRQ is disabled, RTI counters are not decremented (RTI does not tick any more), hence DWD is not ticking either.

So after diabling IRQ, if I run an operation taking, let's say 1 second, DWD will not reset the CPU.

Is that correct?

If so, this is risky to me. i diasble the IRQ interupts and erase bank 0 and bank1 entirely. Pretty lengthy. And for some reason if I get stuck in a dead while loop, DWD can not reset the CPU.

does my concern make sense?

BTW, Flash API requires interrupts to be disabled to perform operations on the same bank where the program runs.