You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the register reads are bytewise (one byte at a time). From the Bosch datasheet, that's a mistake that could return incorrect readings in 'normal' mode if the register reads happen across sample boundaries. The register shadowing protects you from that error if you do a burst read of all of the sample registers.
Data readout
To read out data after a conversion, it is strongly recommended to use a burst read and not address every register individually. This will prevent a possible mix-up of bytes belonging to different measurements and reduce interface traffic. Note that in I²C mode, even when pressure was not measured, reading the unused registers is faster than reading temperature and humidity data separately.
Data readout is done by starting a burst read from 0xF7 to 0xFC (temperature and pressure) or from 0xF7 to 0xFE (temperature, pressure and humidity). The data are read out in an unsigned 20-bit format both for pressure and for temperature and in an unsigned 16-bit format for humidity.
The text was updated successfully, but these errors were encountered:
All of the register reads are bytewise (one byte at a time). From the Bosch datasheet, that's a mistake that could return incorrect readings in 'normal' mode if the register reads happen across sample boundaries. The register shadowing protects you from that error if you do a burst read of all of the sample registers.
The text was updated successfully, but these errors were encountered: