Hardware requirements
Type-C USB cable
FRDM-MCXW23 Board
Personal Computer
Board settings
MASTER_BOARD CONNECTS TO SLAVE_BOARD
Pin Name Board Location Pin Name Board Location
SPI_SSEL1 J1-5 SPI_SSEL1 J1-5
SPI_MOSI J4-2 SPI_MOSI J4-2
SPI_MISO J4-1 SPI_MISO J4-1
SPI_SCK J4-6 SPI_SCK J4-6
GND J3-7 GND J3-7
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 demo runs successfully, the log would be seen on the terminal like:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SPI board to board interrupt master example started!
SPI transfer finished! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~