07-10-2019 09:28 PM
Hello,
I would like to use the BME280 sensor in SPI mode on a raspberry board. On github, I found the I2C driver at this link: https://github.com/BoschSensortec/BME280_driver. In this code the SPI functions are not coded while the documentation explains that the driver supports the SPI mode. Does anyone know a Linux SPI driver for this sensor? Thank you.
Fred
07-12-2019 02:30 PM
07-17-2019 09:58 AM
Below information can give some help for your question:
https://www.kernel.org/doc/html/v4.14/driver-api/spi.html
11-14-2019 06:34 PM
Hey, we just published a Javascript driver which can use either SPI or I2C bus. Don't know if you were looking for a different language, but this driver is very easy to use, requires very little additional code, comes with several examples, and an automated test.
Check it out on NPM at https://www.npmjs.com/package/@agilatech/bme280