Hardware requirements

  • Type-C USB cable

  • FRDM-MCXE31B board

  • Personal Computer

Board settings

Connect the J4-8 to a voltage source.

Prepare the Demo

  1. Connect a type-c USB cable between the host PC and the MCU-Link USB port (J13) 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

When the example runs successfully, you will see similar information from the terminal shown below.

 ADC watchdog example.
 Please press any key to get the conversion result.
 The channel 5 ADC conversion value is 21903.
 The channel 5 ADC conversion value is 22297.
 The channel 5 ADC conversion value is 22761.
 The channel 5 ADC conversion value is 23149.
 The channel 5 ADC conversion value is 23769.
 Current ADC value is higher than the high threshold.