Hardware requirements
Micro USB cable
EVK-MIMXRT685 board
Personal Computer
Board settings
Connect SPI master on board to SPI slave on other board.
Master_board(SPI5) Slave_board(SPI5)
Pin Name Board Location Pin Name Board Location
MISO J28 pin 5 MISO J28 pin 5
MOSI J28 pin 4 MOSI J28 pin 4
SCK J28 pin 6 SCK J28 pin 6
PCS0 J28 pin 3 PCS0 J28 pin 3
GND J28 pin 7 GND J28 pin 7
Prepare the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) 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.
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:
Master Start...!
Succeed!