AM64x MCU+ SDK  08.02.00
Watchdog interrupt mode

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
a53ss0-0 nortos
Toolchain ti-arm-clang
arm.gnu.aarch64-none
Board am64x-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!!