SPI3 or SPI1 on Electron D2-D5?

I would like to use the SPI peripheral on pins D2-D5; according to the the pinout diagram for electron, these pins correspond to “SPI3”: https://docs.particle.io/assets/images/electron/illustrations/electron_pinout.pdf

But according to the reference document, D2-D5 are controlled by the “SPI1” class.
https://docs.particle.io/reference/firmware/electron/#spi

Anything to worry about? Is one of the documents out of date?

The confusion here is probably that pinout refers to the internal hardware interface of the STM32F controler and the firmware reference states the name of the software object to use this hardware interface :wink:

1 Like