Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BHI260AB API Documentation (or Virtual sensor explanation)

    BHI260AB API Documentation (or Virtual sensor explanation)

    jdsan
    Member

    Hi

    I´ll need to migrate to sensor BHI260AB because BMA423 is not recommended for new designs. From the documentation available for BHI206AB I can’t find a detailed explanation of the operation of the default virtual sensors described in table 79 of the Datasheet (v1.7) or in the Github’s BHY2-Sensor-API. For my case in particular, the following information of the Step counter, Step Detector and Activity is necessary to continue development:

    1. A detailed explanation of the operation of the virtual sensor (what it does, which physical sensors are used, parameters, interrupts, etc.)
    2. How the parameters configure the sensor operation.

     

    Note: In the case of the BMA423 the different features are comprehensible described in the Datasheet.

    In advance, thanks for any advice where I can find the mentioned information.

    5 REPLIES 5

    BSTRobin
    Community Moderator
    Community Moderator

    Hello jdsan,

    Github code: https://github.com/BoschSensortec/BHY2-Sensor-API/tree/master/examples/bhy2cli
    bhy2cli.c and parse.c demonstrate step counter and activity example, refer the callback parse_scalar_event() and parse_activity().

    BHI260AB table 79.png

    BHI260AB table 73.png

    Thanks @RTSRobin for your answer. With the code you mention is clear how to use the virtual sensors. What I'm looking is a high level description of the logic of the sensors. For instance, on the BMA423 was the following explanation about the step counter:

     

    jdsan_0-1644523558231.png

    + more pages. 

    Does the BHI260AB has similar documentation explaining the different virtual sensors?

    Thanks you for any guidance.

     

     

    BSTRobin
    Community Moderator
    Community Moderator

    Hello jdsan,

    As you can see, the access way of BHI260AB is different from that of BMA423.
    If you want to use a product similar to BMA423, you can choose BMA456, which is very close to BMA423.

    Thanks @BSTRobin for your response. Unfortunately, the hardware will be populated with BHI260AB as gyro is necessary. Seems that there is not detailed explanation of each virtual sensor besides what is placed in the API source code.  

    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