Introduction
This example uses the WDT module in non reset mode to generate NMI Interrupt.
- The Watchdog interrupt is configured as a non-maskable interrupt and the user-defined callback function is registered.
- ESM module is configured with ESM Group 2 number and ESM NMI number to generate a non-maskable interrupt to the CPU.
- The callback function in the application handles the watchdog interrupt
Supported Combinations
Parameter | Value |
CPU + OS | r5fss0-0 nortos |
c66ss0 nortos |
Toolchain | ti-arm-clang, ti-c6000 |
Board | am273x-evm |
Example folder | examples/drivers/watchdog/watchdog_interrupt/ |
Steps to Run the Example
See Also
WATCHDOG
Sample Output
Shown below is a sample output when the application is run, Please note that application prints in both CCS and UART console.
CCS Console:
[Cortex_R5_0] Watchdog interrupt Mode Test Started ...
Watchdog Driver NMI received
All tests have passed!!
UART Console:
Watchdog interrupt Mode Test Started ...
Watchdog Driver NMI received
All tests have passed!!