Files
microchip-application-pec93…/Examples/spi/spi_slave

spi slave mode

This example is used to run the function of spi to transmit data in slave mode.

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
  • Run the example
  • spi_clk -- p02
  • spi_do -- p03
  • spi_di -- p04
  • spi_cs -- p05