3.9.34. spi - write/read from SPI device¶
3.9.34.1. Usage¶
spi [-brcmfwv] DATA...
3.9.34.2. Options¶
- -b BUS
SPI bus number (default 0)
- -r COUNT
bytes to read
- -c
chip select (default 0)
- -m MODE
SPI mode (default 0)
- -f HZ
max speed frequency, in Hz (default 1 MHz)
- -w BIT
bits per word (default 8)
- -v
verbose