]>
Repositories - Adafruit_Blinka-hackapet.git/commit
do not set SPI_NO_CS bit when chip is AM3358 #104
Avoid trying to set SPI_NO_CS mode bit when the chip is AM3358 as this
will always fail as Linux kernel driver omap2_mcspi does not support it.
This applies to the BeagleBone Black and PocketBeagle.
For testing, BME280 was wired to SPI0 peripheral on BeagleBone Black.
Run these commands to make sure the pins are in the correct mode:
config-pin p9.13 gpio # GPIO used for CS
config-pin p9.18 spi # SPI0_D1 (MOSI)
config-pin p9.21 spi # SPI0_D0 (MISO)
config-pin p9.22 spi_sclk # SPI0_SCLK
SPI0 was accessed via /dev/spidev0.0