Bosch Sensortec Community

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

    BMP280 - Datasheet clarification

    BMP280 - Datasheet clarification

    ronenw
    New Poster

    I’m working on the BMP280 digital pressure sensor.
    I would like to have some question raised during reading of the datasheet.

    1. What is the maximum measurement rate (157Hz VS. 166.67HJz)?
      ronenw_0-1660645130903.png

       


      However according to output data rate table it seems differently:
      ronenw_1-1660645130906.png

       

    Is it mandatory to read temperature prior to pressure?
    I would like to shorten the BMP280 measurement period/cycle by skip reading the temperature, is it allowed?

    ronenw_2-1660645130906.jpeg

     

     

    ronenw_3-1660645130908.png

     



    Moreover, at your reference code I’ve noticed that read pressure won’t be executed unless temperature has been read successfully before, pls see below snapshot:

    ronenw_4-1660645130919.png

     



    also I can see that compensate pressure must have the fine resolution temperature value in advanced

    ronenw_5-1660645130922.png

    Thanks in advanced
    Ronen

    9 REPLIES 9

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    BMP280 outputs unsigned integers for temperature sensor and pressure sensor. Users need to use the formula to calculate the final temperature in the unit of C and final pressure in the unbit of Pa based on the NVM parameters and the raw data.

    If the temperature is almost constant inside the product, then users can take one temperature sensor measurement during initialization and skip the temperature sensor measurement in the future in order to achieve higher sampling rate. That is, the formula will always use the initial temperature data to calculate all following pressure values.

    Thanks.

    Hi,

    1. I would like to understand the stabilization time involved when the sensor goes into sleep (lets say in Forced mode) and comes back out a few seconds later on (by reselecting Forced mode)?
    2. How much time elapssed between "Write settings" (of Configuration & Control registers) and measurement perioed  until pressure data can be readout?

    Thanks,
    Ronen

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    To your question #1, there is no stabilization time for BMP280 in Forced mode. This means that after you send a command to trigger the Forced mode, BMP280 will take measurements for pressure and temperature based on osr_p and osr_t settings as shown in Figure 3 on page 16 of BMP280 datasheet. After the measurements are done, the data registers will be updated with the new measurements. Then BMP280 will automatically goes into sleep mode. At this time you can immediately send the command again to trigger Forced mode. So on and so on.

    To your question #2, please refer to table 13 on page 18 of BMP280 datasheet. For example when osr_p = x1 and osr_t = x1, BMP280 will take typically 5.5ms and maximum 6.4ms to finish the measurements. You can either delay 7ms after you send the command to trigger Forced mode and then read data registers for new data, or keep polling status register 0xF3 to see if bit-3 is 0 or not. If this bit is 0, then it means new data is ready in data registers to be read. If you toggle a GPIO pin of your MCU at the time point when you send the command to BMP280 to trigger Forced mode and at the time point when status register 0xF3 bit-3 is 0, you can figure out the BMP280 measurement time at any combinations of osr_p and osr_t settings.

    Thanks.

    Hi,

    Thnaks for your support.

    Just another clarification with your pernmission please - is it also the same behiviour in Normal mode (i.e. no stabilization time expect the additional t-standby time)?

    BR,

    Ronen

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    That is correct. It is also the same behiviour in Normal mode (i.e. no stabilization time expect for the additional t-standby time).

    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