Hardware requirements
Micro USB cable
LPCXpresso54628 board
Personal Computer
Board settings
SPI one board: Transfer data from instance0 to instance 1 of SPI interface. SPI9 pins are connected with SPI2 pins of board
INSTANCE0(SPI9) CONNECTS TO INSTANCE1(SPI2)
Pin Name Board Location Pin Name Board Location
MISO J9 pin 11 MISO J13 pin 12
MOSI J9 pin 13 MOSI J13 pin 2
PCS0 J9 pin 15 PCS0 J9 pin 3
SCK J9 pin 9 SCK JP11 pin 2
Prepare the Demo
Connect a micro USB cable between the PC host and the LPC-Link USB port (J8) on the board.
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.
Reset the SoC and run the project.
Running the demo
When the demo runs successfully, the log would be seen on the terminal like:
SPI one board interrupt example started!
SPI transfer finished!