Hello
for my application I would like that a watchdog overflow of cpu2 causes a cpu1 reset (also resulting in a cpu2 reset). For the moment I've tried (with no success) to do this:
- In CPU2 configure watchdog to cause a reset
- In CPU1 enable NMI interrupt in PIE vector table
- In CPU1 Iinside NMI ISR clear NMI flag then force its own watchdog reset with a for (;;) bucle
The problem I'm facing is that CPU1 resets but CPU2 doesn't.
By the way, is there some example of using NMI interrupts? Which could be the best solution for my problem?
Thank you
Maite