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 0–3 (clock polarity/phase) |
sampleIntervalMs |
Read interval (ms) |
Steps
- Wire MOSI/MISO/SCLK/CS to the gateway and match the device's SPI mode and clock.
- Add a device with protocol spi, pick the gateway, and enter the pins.
- Add a tag per reading.
spi/fault events typically indicate a wrong mode, clock, or CS wiring.