xWRL6432 MMWAVE-L-SDK  05.04.00.01
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
  • Make sure to confirm the following configuration in syscfg.
    WDT Reset Mode: trigger WDT interrupt

Supported Combinations

Parameter Value
CPU + OS m4fss0-0 freertos
Toolchain ti-arm-clang
Boards xWRL6432-evm
Example folder examples/drivers/watchdog/watchdog_interrupt/

Using SDK with SysConfig

A GUI tool SysConfig is used to configure different modules and peripherals of the example. Using this tool, users can select and customize different modules and peripherals. The SysConfig tool will generate the code for initializing and configuring these modules. This configuration is saved to a file called example.syscfg for every example. To know more about how to use SDK with SysConfig, Visit this page

Using SDK with SysConfig

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!!