08-29-2019 09:55 PM
I ran the self test from the BMP3-Sensor-API library and the response I am getting is BMP3_TRIMMING_DATA_OUT_OF_BOUND, because function validate_trimming_param() failed which is the CRC check on the calibration parameters. This agrees with the strange temp/pressure values I am seeing come from the `bmp3_get_sensor_data()` API. These calibration values are set at manufacturing time I gather, so what can I do about this?
https://github.com/BoschSensortec/BMP3-Sensor-API/blob/master/self-test/bmp3_selftest.c
09-11-2019 11:32 AM - edited 09-12-2019 10:36 AM
You can perform the CRC calculation, log the data from the stored_CRC and cal_CRC and compare them to check whether any errors occurred during the calculation.
If you have another BMP388 sensor, repeat the same steps suggested. Probably there is something wrong with the hardware integration or the sensor is broken.