2 years, 8 months ago.

stm32l432kc with bme280 using i2c

I am a newbie, so please bear with me.

I have the stm32 and bme280 returning a hex value of 0x90, so I have to say they are communicating. I do not understand how to get the read/write sequences to work. Could someone please help me with the obtaining of data from the bme280?

Thanks in advance ..

1 Answer

2 years, 8 months ago.

Don't forget to have pull up resistor to VCC. Without them nothing will work. Look at this example ..it should works.

https://os.mbed.com/components/BME280-Combined-humidity-and-pressure-se/

Accepted Answer