You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
Implement a basic SPI mode that can use a mix of registers or serialized message buffers. If it uses registers and supports multiple transport layers, how do we separate I2C and SPI?
We should update the JSON schema at the same time to perform proper validation.
Example spec:
spi:
# These two params combined make up AThings SPI modes 0-3 in a quadrantclockPolarity: LOW | HIGHclockPhase: LEADING | TRAILING # clock edgefrequency: 16000# 16KHzendianness: # Same as in I2C (make this a separate type we reference?)word: 8# bitsformat: REGISTER | SERIALIZATION # Depends on whether we use registers or we use serialized message buffers
Implement a basic SPI mode that can use a mix of registers or serialized message buffers. If it uses registers and supports multiple transport layers, how do we separate I2C and SPI?
This format is already supported in several platforms including Arduino and Android Things and uses transactions.
We should update the JSON schema at the same time to perform proper validation.
Example spec: