08-20-2020 11:07 PM - edited 08-20-2020 11:19 PM
What could be the problem, when after power-on reset I get temperature and pressure right, but humidity value is the reset value (0x8000).
The next read returns the reset values for all of them.
The communication looks good (saleae) taken from the BME280 board pins.
Could that be caused by floating CSB? Too frequent reading? Bad oversampling setting? I'm using XinaBox SW1 with threads soldered on the connection pads and DuPonts in the other end. The processor is STM32L425 also running with VCC 1.8V.
It's hard to imagine how that could be power issue, because of the low current consumption compared the 3A output of the power supply.
I'm using 1.8V for Vcc and Vccio, though.
08-31-2020 10:59 PM
The API which you listed in the link is generic API for any platform including MCU platform.
It is not platform depended.
So you should able to use in any environment (C based)
If not, you can report an issue for the API then our engineer will try to fix it.