Hardware requirements
Type-C USB cable
FRDM-MCXW23 Board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the FRDM board J10.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
Group GPIO input interrupt example
GINT0 event is configured
Press corresponding switch to generate events
This example configures “Group GPIO interrupt 0”” to be invoked when SW2 and SW5 switches are pressed by the user. The interrupt callback prints “GINT0 event detected” message on the serial terminal.