briantdavis / EAS_BBB_DataAcquisition

EAS data acquisition using BeagleBone Black
GNU General Public License v2.0
6 stars 10 forks source link

Calibration Coefficent for BME 280 is not being generated properly #25

Closed marsfan closed 5 years ago

marsfan commented 6 years ago

The calibration Coefficent string for the BME280 is 72 characters.

However, the datasheet indicates that registers 0x88-0xA1 and 0xE1 to 0xF0 are used to store data, totaling 42 registers used to store calibration data. Since each of these registers is 8 bits, it should take two hex characters to store the data per register, totaling 84 characters in the calibration string.

To make this more confusing, though there are 42 registers storing calibration data, not all of them are used. Only registers 0x88-0xA1 and 0xE1-0xE7 are used as calibration values. This is a total of 32 registers, or 64 characters needed.

marsfan commented 5 years ago

Upon further examination, this is actually functioning correctly, in a separate branch.