Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME688 Gas Wait Shared

    hrishnspl
    New Poster

    BME688 Gas Wait Shared

    Hello,

    I have started using the BME688 and have integrated a code segment into my workspace. I would like to know how to calculate the register value for gas_wait_shared while using parallel mode. The below available code section is a bit unclear.

    meas_cycles = os_to_meas_cycles[conf->os_temp];
    meas_cycles += os_to_meas_cycles[conf->os_pres];
    meas_cycles += os_to_meas_cycles[conf->os_hum];

    /* TPH measurement duration */
    meas_dur = meas_cycles * UINT32_C(1963);
    meas_dur += UINT32_C(477 * 4); /* TPH switching duration */
    meas_dur += UINT32_C(477 * 5); /* Gas measurement duration */

    -Regards

    Hrishikesh

    7 REPLIES 7
    BSTRobin
    Community Moderator

    Re: BME688 Gas Wait Shared

    Hi hrishnspl,


    Could we know the following information:
    1.What is your application with BME688?
    2.Which example code do you refer to?

    hrishnspl
    New Poster

    Re: BME688 Gas Wait Shared

    1.What is your application with BME688?

    A. We have a small chamber setup where we plan to expose the BME688 sensor with different gases. This project is presently used for our internal testing and demonstration.


    2.Which example code do you refer to?

    A. https://github.com/BoschSensortec/BME68x-Sensor-API

    BSTRobin
    Community Moderator

    Re: BME688 Gas Wait Shared

    Hi hrishnspl,

    Do you have an algorithm to identify different gases?

    hrishnspl
    New Poster

    Re: BME688 Gas Wait Shared

    Hi,

    No we are not using any algorithm as of now. At present, we are just reading the basic data available from the sensor. We are trying to set different profile and accordingly read the data from the sensor. I am using the calculations available in the datasheet for temperature, pressure, humidity, gas resistance. Also the calculation for gas_wait_x is clear. But the calculation for gas_wait_shared is not clear.

    How much should I keep the wait time before every TPHG conversion reading?

    - Regards

    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