SPI Bus

Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Enable or disable SPI bus

boolean

false

Path to SPI bus like /dev/spidev0.0

string

SPI bus speed. Please check your vendor CPU documentation for acceptable values

integer

500000

SPI_MODE_0 SPI_MODE_1 SPI_MODE_3 SPI_MODE_4

SPI_MODE_1

Word length for byte in bus

enum

8

Bits ordering for bus

BIG_ENDIAN LITTLE_ENDIAN

BIG_ENDIAN