Hardware requirements

  • Mini/micro USB cable

  • MCXW23-EVK Board

  • Personal Computer

Board settings

No special settings are required.

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

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

Example output:

 GPIO Driver example

 The LED is taking turns to shine.

 Standard port read: 1c100c

 Masked port read: 1c0000

 Port state: 18100c

 Port state: 10100c

 Port state: 18100c

 Port state: 10100c
 ...
  • When press sw4 the LED BLUE will toggle.