Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME680 How to Verify Settings over SPI

    BME680 How to Verify Settings over SPI

    dpeaslee
    Occasional Visitor

    Is there an outline of what to expect in terms of settings read back from the BME680. In a production environment, is this list of settings useful for QA/QC puroposes? For instance, what are the min/max values to expect from each field. 

    I've used the BME680_driver v3.5.10 (BoschSensortec on Github) to collect the following data. This data is populated after the sensor settings have been set, and read back from the BME680 over SPI.

    Thanks for your answer

    Expression Value Location Type
    gas_sensor <struct> 0x20000224 struct bme680_dev
    chip_id 'a' (0x61) 0x20000224 uint8_t
    dev_id '\0' (0x00) 0x20000225 uint8_t
    intf BME680_SPI_INTF 0x20000226 enum bme680_intf
    mem_page 16 0x20000227 uint8_t
    amb_temp 25 0x20000228 int8_t
    calib <struct> 0x2000022C struct bme680_calib_data
    par_h1 745 0x2000022C uint16_t
    par_h2 1016 0x2000022E uint16_t
    par_h3 0 0x20000230 int8_t
    par_h4 45 0x20000231 int8_t
    par_h5 20 0x20000232 int8_t
    par_h6 120 0x20000233 uint8_t
    par_h7 -100 0x20000234 int8_t
    par_gh1 -38 0x20000235 int8_t
    par_gh2 -10374 0x20000236 int16_t
    par_gh3 18 0x20000238 int8_t
    par_t1 25996 0x2000023A uint16_t
    par_t2 26321 0x2000023C int16_t
    par_t3 3 0x2000023E int8_t
    par_p1 37043 0x20000240 uint16_t
    par_p2 -10387 0x20000242 int16_t
    par_p3 88 0x20000244 int8_t
    par_p4 8052 0x20000246 int16_t
    par_p5 -263 0x20000248 int16_t
    par_p6 30 0x2000024A int8_t
    par_p7 50 0x2000024B int8_t
    par_p8 -3700 0x2000024C int16_t
    par_p9 -2165 0x2000024E int16_t
    par_p10 30 0x20000250 uint8_t
    t_fine 0 0x20000254 int32_t
    res_heat_range 1 0x20000258 uint8_t
    res_heat_val 46 0x20000259 int8_t
    range_sw_err 3 0x2000025A int8_t
    tph_sett <struct> 0x2000025C struct bme680_tph_sett
    os_hum '.' (0x02) 0x2000025C uint8_t
    os_temp '.' (0x04) 0x2000025D uint8_t
    os_pres '.' (0x03) 0x2000025E uint8_t
    filter '.' (0x02) 0x2000025F uint8_t
    gas_sett <struct> 0x20000260 struct bme680_gas_sett
    nb_conv '\0' (0x00) 0x20000260 uint8_t
    heatr_ctrl '\0' (0x00) 0x20000261 uint8_t
    run_gas '.' (0x01) 0x20000262 uint8_t
    heatr_temp 113 0x20000264 uint16_t
    heatr_dur 101 0x20000266 uint16_t
    power_mode '.' (0x01) 0x20000268 uint8_t
    new_fields '\0' (0x00) 0x20000269 uint8_t
    info_msg '\0' (0x00) 0x2000026A uint8_t
    read user_spi_read (0xAF1) 0x2000026C bme680_com_fptr_t
    write user_spi_write (0xB79) 0x20000270 bme680_com_fptr_t
    delay_ms delay_ms (0x1B3F) 0x20000274 bme680_delay_fptr_t
    com_rslt '\0' (0x00) 0x20000278 int8_t

     

    1 REPLY 1

    handytech
    Community Moderator
    Community Moderator

    I believe this AppNote should be relevant here.

    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