Hardware requirements

  • Micro USB cable

  • LPCXpresso54628 board

  • Personal Computer

Board settings

Populate jumper JP6. Connect SPI slave on board to SPI master on other board

INSTANCE0(SPI9)                                       
Pin Name   Board Location                             
MISO       J9 pin 11
MOSI       J9 pin 13
SCK        J9 pin 9
PCS0       J9 pin 15
GND        P3 Pin 1

Prepare the Demo

  1. Connect a micro USB cable between the PC host and the LPC-Link USB port (J8) on the board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Reset the SoC and run the project.

Running the demo

When the demo runs successfully, the log would be seen on the terminal like:

Slave is working....

Succeed!