Hardware requirements
Type-C USB cable
FRDM-MCXW23 Board
Personal Computer
Board settings
MASTER_BOARD(SPI1) CONNECTS TO SLAVE_BOARD(SPI2)
Pin Name Board Location Pin Name Board Location
SPI_SSEL1 J1-5 SPI_SSEL1 J2-8
SPI_MOSI J4-2 SPI_MOSI J2-7
SPI_MISO J4-1 SPI_MISO J2-6
SPI_SCK J4-6 SPI_SCK J2-5
Use the default jumper settings.
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
When the example runs successfully, the following message is displayed in the terminal:
SPI one board interrupt example started!
SPI transfer finished!