Hardware requirements
Mini USB cable
Two TWR-KM34Z75M board
Personal Computer
Two Elevator Tower
Board settings
SPI one board:
Transfer data from MASTER_BOARD to SLAVE_BOARD of SPI interface, SPI0 pins of MASTER_BOARD are connected with SPI0 pins of SLAVE_BOARD
MASTER_BOARD CONNECTS TO SLAVE_BOARD
Pin Name Board Location Pin Name Board Location
MOSI B-10 MOSI B-10
MISO B-11 MISO B-11
SCK B-7 SCK B-7
PCS0 B-9 PCS0 B-9
GND B-2 GND B-2
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target 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 example runs successfully, the following message is displayed in the terminal:
Master Start...
Succeed!