Connect an SPI device

SPI devices use four lines plus a chip-select on the gateway.

Protocol: spi · Requires: a gateway

Connection fields:

Field Meaning
mosiPin / misoPin / sclkPin / csPin SPI signal pins
clockHz SPI clock speed
mode SPI mode 03 (clock polarity/phase)
sampleIntervalMs Read interval (ms)

Steps

  1. Wire MOSI/MISO/SCLK/CS to the gateway and match the device's SPI mode and clock.
  2. Add a device with protocol spi, pick the gateway, and enter the pins.
  3. Add a tag per reading.

spi/fault events typically indicate a wrong mode, clock, or CS wiring.