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: Watchdog _disable_irq

Part Number: TMS570LS3137

Since FLash API F021 does not work when interrupts are enabled and when you erase/program the block where the ISR code resides, I decided to use the model below:

_disable_irq();

flash_erase()

enable_irq();

I also called dwdInit() in main() and call dwdReset|() periodically.

I am not able to understand the impact of disable/enable_irq on the watchdog timer.

When I call enable_irq|(), does the dwd start running automatically? Do I need any dwd related function call to restart the DWD? 

Could you please explain the impact of disable/enable_irq on the DWD?

thanks,