Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME688: how to get data when length of profile larger than 3?

    nkdnnlr
    Member

    BME688: how to get data when length of profile larger than 3?

    Hi
    In the documentation you mention, that the data register is overwritten after 3 steps if the temperature profile is longer than 3 steps. When I try to read the data, this is confirmed, as data[0].gas_index=1, data[1].gas_index=2, data[2].gas_index=3. When I want longer profiles, how do I get all the data?
    Thanks in advance for your answer!
    Nik

    Selection_999(296).png

     Edit: I am using sequential_mode.

    5 REPLIES 5
    Minhwan
    Community Moderator

    Re: BME688: how to get data when length of profile larger than 3?

    Hello, 

     

    Currently, our maximum gas index is 4. 

    That's related to our AI studio. The maximum specific gas you can learn is 4. 

    Therefore, if you want to get specific gases more than 4, you need to use more than 1 config files. 

    Thanks, 

    nkdnnlr
    Member

    Re: BME688: how to get data when length of profile larger than 3?

    Ok I think then I misunderstood something. I am not talking about learning any gas yet. The only thing I want is to apply a temperature profile of, let's say, 10 steps, and read out the data at each step.Like this:

    Selection_999(300).png

    Based on the below image, I thought gas_index is the same as gas_meas_index and gives me the index of the heater step, so that is not the case?

    Selection_999(301).png

    Minhwan
    Community Moderator

    Re: BME688: how to get data when length of profile larger than 3?

    You don't worry about that. 

    As you can see our example in sequential_mode, there is n_fields variable. 

    It can check that how many data we can get it. 

    When you run the example, you can see that all data is provided in order even though gas index is more than 3. 

    Thanks, 

    nkdnnlr
    Member

    Re: BME688: how to get data when length of profile larger than 3?

    Hi

    Sorry I don't understand what you mean with this. Which example in sequential_mode are you talking about? In the datasheet I only see forced and parallel.

    My question is: I want to get the data readings for all the temperature steps. How do I read it in time without the buffer to be overwritten? And which register tells me which temperature step was selected?

    Thanks in advance.
    Nik

    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