This application demonstrates how to use SPI driver interface on CYW20706 to send and receive bytes or a stream of bytes over the SPI.

 

Hardware connections on CYW20706 EVAL:

For SPI Slave use the below pins :

  •   CS   - P26
  • MOSI - P27
  • MISO - P25
  • CLK  - P36

For SPI Master use the below pins :

  •   CS   - P26
  • MOSI - P0
  • MISO - P25
  • CLK  - P36

 

Test Procedure:

  • Program 1 kit with the spi_master app and another kit with spi_slave app (attached the project).
  • Connect the SPI lines and ground on the 2 kits.
  • Power on the kits. You can see the logs through PUART
  • Reset the SPI master first and then SPI slave.