07-10-2019 10:17 AM
Hi,
I have a BMP280 shuttle board connected to a ESP32 using I2C.
Using the Bosh BMP280 API i can initialize, configure and read measured data. I can see the raw output of pressure and temperature changes over time.
The problem is that the raw registers values of the trimming parameters (i.e. registers 0x88+) have the first 6 bytes zeros. This causes the compensated temperature to be zero. And also t_fine is zero so the compensated pressure is off.
I have two BMP280 shuttle boards. Tested both, one at a time, they both have the same problem.
Are these sensors faulty or am i doing something wrong?
For refference here is a raw readout of the trimming parameters for both sensors.
Left most is 0x88. Each line is different BMP280. Values are decimal 0-255.
0 | 0 | 0 | 0 | 0 | 0 | 34 | 150 | 206 | 213 | 208 | 11 | 199 | 255 | 107 | 1 | 249 | 255 | 140 | 60 | 248 | 198 | 112 | 23 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 150 | 185 | 213 | 208 | 11 | 214 | 5 | 184 | 0 | 249 | 255 | 140 | 60 | 248 | 198 | 112 | 23 |
Solved! Go to Solution.
07-10-2019 02:14 PM
Would you be able to share some more details about your setup? For example schematic of the sensors' connections, code snippet of the sensor API usage, eventually even a logic analyzer capture of the trimming parameters read-out when using the sensor API?
07-17-2019 11:22 AM
Please read the chip ID to ensure if the reading from I2C is correct or not,check whether HW connection issue.
07-19-2019 02:32 PM
The issue has been resolved.
It was a software problem. Updating the underlying framework (ESP-IDF) was needed.
Thank you for your time and helpfull suggestions.