MCUXpresso SDK Documentation

wwdt_example

wwdt_example#

Overview#

The WWDT Example project is to demonstrate usage of the KSDK wdog driver. In this example, quick test to show user how to feed the watch dog. User needs to feed the watch dog in time before warning or timeout interrupt. The WINDOW register determines the highest TV value allowed when a watchdog feed is performed.

Supported Boards#

EVK-MIMXRT595
Hardware requirements
  • Micro USB cable

  • EVK-MIMXRT595 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J40) on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

EVK-MIMXRT685
Hardware requirements
  • Micro USB cable

  • EVK-MIMXRT685 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

FRDM-MCXA153
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA153 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a Type-C USB cable between the host PC and the MCU-Link port(J15) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXA156
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA156 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J5) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXA346
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA346 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J5) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXN236
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXN236 board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a type-c USB cable between the host PC and the MCU-Link USB port (J10) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXW23
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXW23 Board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the FRDM board J10.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

When the example runs successfully, the following message is displayed in the terminal:

--- Time out reset test start ---
Watchdog reset occurred

--- Window mode refresh test start---
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
FRDM-RW612
Hardware requirements
  • Micro USB cable

  • FRDM-RW612 board

  • Personal Computer

Board settings

No special settings

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J10) on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo. For IAR debug/release build, please ensure the image was written to flash offset 0x400 before running.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

LPC845BREAKOUT
Hardware requirements
  • Micro USB cable

  • LPC845 Breakout board

  • Personal Computer

Board settings

No special settings are required.

Prepare the demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board.

  2. Open a serial terminal with the following settings:

    • 9600 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

LPCXpresso51U68
Hardware requirements
  • Mini/micro USB cable

  • LPCXpresso51U68 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J6) on the board

  2. Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

LPCXpresso54628
Hardware requirements
  • Micro USB cable

  • LPCXpresso54628 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the host PC and the LPC-Link USB port (J8) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

LPCXpresso802
Hardware requirements
  • Micro USB cable

  • LPCXpresso802 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board

  2. Open a serial terminal with the following settings:

    • 9600 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

LPCXpresso804
Hardware requirements
  • Micro USB cable

  • LPCXpresso804 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board

  2. Open a serial terminal with the following settings:

    • 9600 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

LPCXpresso824MAX
Hardware requirements
  • Mini/micro USB cable

  • LPCXpresso824MAX board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board

  2. Open a serial terminal with the following settings:

    • 9600 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

LPCXpresso845MAX
Hardware requirements
  • Mini/micro USB cable

  • LPCXpresso845MAX board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board

  2. Open a serial terminal with the following settings:

    • 9600 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

LPCXpresso860MAX
Hardware requirements
  • Micro USB cable

  • LPCXpresso860MAX board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board

  2. Open a serial terminal with the following settings:

    • 9600 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

MIMXRT685-AUD-EVK
Hardware requirements
  • Micro USB cable

  • MIMXRT685-AUD-EVK board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

MIMXRT700-EVK
Hardware requirements
  • Micro USB cable

  • MIMXRT700-EVK board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a micro USB cable between the PC host and the MCU-LINK on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

RD-RW612-BGA
Hardware requirements
  • Micro USB cable

  • RD-RW612-BGA board

  • Personal Computer

Board settings

U38 DIP 1,2,3,4 all off HD12 1-2, 3-4 connected

Prepare the Demo
  1. Connect a micro USB cable between the PC host and the MCU-Link USB port (J7) on the board

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Launch the debugger in your IDE to begin running the demo. For IAR debug/release build, please ensure the image was written to flash offset 0x400 before running.

Running the demo

The log below shows example output of the WWDT driver demo in the terminal window:

— Time out reset test start — Watchdog reset occurred

— Window mode refresh test start — WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed! WDOG has been refreshed!

MCXW23-EVK
Hardware requirements
  • Mini/micro USB cable

  • MCXW23-EVK Board

  • Personal Computer

Board settings
Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J33.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

When the example runs successfully, the following message is displayed in the terminal:

--- Time out reset test start ---
Watchdog reset occurred

--- Window mode refresh test start---
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
 WDOG has be refreshed!
FRDM-MCXA174
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA174 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J5) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXA344
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA344 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J5) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXA266
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA266 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J5) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXA366
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA366 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J5) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXA577
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA577 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J5) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXC162
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXC162 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J5) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!

FRDM-MCXA287
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXA287 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB Type-C cable between the host PC and the MCU-Link USB port (J5) on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

If the demo run successfully, you will see the red LED blink every two seconds. The log below shows example output of the WWDT driver demo in the terminal window: — Time out reset test start — Watchdog reset occurred

— Window mode refresh test start— WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed! WDOG has be refreshed!