Files

spi send and receive data

This example is used to run spi send and receive function.

Hardware and Software environment

  • This example runs on PEC930 devices.

How to use it ?

In order to make the program work, you must do the following:

  • Open your preferred toolchain
  • Rebuild all files and load your image into target memory
  • Sets the data to be transferred
  • Run the example
  • spi_clk -- p02
  • spi_do -- p03
  • spi_di -- p04
  • spi_cs -- p05