Hardware requirements
Mini/micro USB cable
MCXW23-EVK Board
Personal Computer
Board settings
MASTER_BOARD(SPI1) CONNECTS TO SLAVE_BOARD(SPI2)
Pin Name Board Location Pin Name Board Location
SPI_SSEL1 J24-3 SPI_SSEL1 J21-1
SPI_MOSI J18-6 SPI_MOSI J21-3
SPI_MISO J18-5 SPI_MISO J21-4
SPI_SCK J18-4 SPI_SCK J20-4
Use the default jumper settings.
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J33.
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!