Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BMP280 Datasheet Misleading in reading order of compensation parameters?

    BMP280 Datasheet Misleading in reading order of compensation parameters?

    fireflies_night
    New Poster

    Hi,

    I'm currently looking at the BMP280 datasheet and wanted to readout the Temperature compensation parameters from the sensor. In Page 21 under section 3.11.2, I see the registers to read dig_T1, dig_T2 and dig_T3in Table 17. However the table header shows that the first register is the content LSB while the second register is the content MSB. The value I've put together doesn't add up to the expected register content values shown in the sample table in Page 23.

    However, if I use the first register as the MSB and the second register as the LSB, the values I get match what I see in the Page 23 table. Moreover, I am getting the expected cmpensation output with the "byte swap" I've done instead.
    Hence, I wanted to request if Table 17 header could be modified in the datasheet to have the first column as "Register Address MSB/LSB" instead of the current "LSB/MSB"?

    1 REPLY 1

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inqury.

    I checked BME280 shuttle board that has BMP280 inside BME280 chip and verified that Table 17 in BMP280 datasheet is correct. This means that for dig_T1 register 0x88 contains LSB and register 0x89 contains MSB. For example, dig_T1 shows value of 28033, while register 0x88 has value of 0x81 and register 0x89 has value of 0x6D. Therefore, dig_T1 = (0x89 MSB << 😎 | (0x88 LSB) = 0x6D81 = 28033.

    FAE_CA1_0-1674586635338.png

    Similarly, dig_P2 shows value of -10850 from register 0x90 (LSB) and 0x91 (MSB). I read register 0x90 and got value of 0x9E. And I got value of 0xD5 from register 0x91. So dig_P2 = (0x91 MSB << 😎 | (0x90 LSB) = 0xD59E = -0x2A62 = -10850.

    Thanks.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist