edit

Using SPI on Wio Terminal

This Repo will demonstrate how to use SPI on Wio Terminal. You can use this to control other devices!

Port Configurations

As you can see, the physical SPI Pins are as follow:

  • MOSI -> GPIO 19

  • MISO -> GPIO 21

  • SCK -> GPIO 23

  • SS -> GPIO 24

Software Configurations

In Arduino, all SPI pins are pre-defined and you can access the pins as follow:

  • MOSI -> PIN_SPI_MOSI

  • MISO -> PIN_SPI_MISO

  • SCK -> PIN_SPI_SCK

  • SS -> PIN_SPI_SS

Note: The break out SPI ports is SPI, where the ESP32 uses SPI1, built-in SD card uses SPI2 and the TFT LCD uses SPI3