-
Notifications
You must be signed in to change notification settings - Fork 0
SPI config
Johan Söderlind Åström edited this page Feb 2, 2018
·
1 revision
Edit file
sudo nano /DietPi/config.txt
Change
dtparam=spi=off
To
dtparam=spi=off
It is recommended to set the SPI buffer size to 65536
. A larger SPI buffer makes it possible to receive a entire FLIR Lepton frame in one transfer.
Show current SPI buffer size
cat /sys/module/spidev/parameters/bufsiz
Set SPI buffer size by editing this file
sudo nano /boot/cmdline.txt
then add following line.
spidev.bufsiz=<Number>
A reboot is required for making SPI config take effect.
sudo reboot