22/09/2021
WEIDOS Quick Start Guide
Version: 00.00.01
Page 35 / 52
See SPI connector location in the following image:
MISO, MOSI and SCK connector pins for SPI bus are common to the internal communication bus. Chip
Select pin is free available for the first external device. Each of the connected devices needs a single and
dedicated CS pin. You can use 41:MF0 and 42:MF1 as CS pins in case of having more external SPI devices
connected to Weidos.
Below we can see a wiring diagram for the internal SPI bus of Weidos controllers. Note that the peripheral
SPI port operates at 3,3 V DC.
Internal SPI Block Diagram for Weidos Controllers:
Using the Weidos boards in Arduino IDE, there is a library that simplifies the SPI protocols implementation.
See SPI communication examples in ArduinoIDE
File > Examples > Examples for WEIDOS-XXX > SPI