Page 1 of 1

BME280 with SPI?

Posted: Sat Jul 15, 2017 4:35 pm
by MitchSF
Has anyone tried this? I've tried hardware and software SPI using pins 18, 21, 22 and different pins for CS. I tried switching MISO and MOSI just in case. I tried both Adafruit and Sparkfun libraries, setting both for SPI. I2C works with both libraries. Same setup works with an MKR1000.

I'm using the Adruino core. Help and suggestions are appreciated. Thanks in advance.

Re: BME280 with SPI?

Posted: Tue Jul 18, 2017 9:42 pm
by E-M-Dev
Hi,

Actually I run all sensors over I2C and they are all working.

Regards,

Re: BME280 with SPI?

Posted: Wed Jul 19, 2017 12:11 pm
by MitchSF
I have no issues with I2C, just SPI. I did manage to get one BME280 working with SPI, but a second one on the bus crashes it. I tried with and without pullups on the CS line. Maybe the cheap sensors don't work well with other devices on the bus. I'm thinking about trying Adafruit or Sparkfun.