Anson Zhao caf1cb2360 init commmit. 6 years ago
..
gd32f3x0_libopt.h caf1cb2360 init commmit. 6 years ago
main.c caf1cb2360 init commmit. 6 years ago
readme.txt caf1cb2360 init commmit. 6 years ago

readme.txt

/*!
\file readme.txt
\brief description of the master and slave fullduplex communication with nssp mode
*/

/*
Copyright (C) 2017 GigaDevice

2017-06-06, V1.0.0, firmware for GD32F3x0
*/

This example is based on the GD32350R-EVAL board, it shows SPI0 and SPI1 fullduplex
communication with nssp mode.After the communicate is complete,if receive data equal to
send data,led1 and led2 turn on, if not led1 and led2 turn off.

Connect SPI0 NSS PIN(PA4) to SPI1 NSS PIN(PB12)
Connect SPI0 SCK PIN(PA5) to SPI1 SCK PIN(PB13)
Connect SPI0 MISO PIN(PA6) to SPI1 MISO PIN(PB14)
Connect SPI0 MOSI PIN(PA7) to SPI1 MOSI PIN(PB15)