Bosch Sensortec Community

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

    BMA456 configuration

    BMA456 configuration

    keizerr
    New Poster

    Hello everyone,

    I am confused about some information in the application notes for BMA456 (AN000, AN001, AN032). In the documents, the same offsets can stand for different features configuration, or the feature configuration procedures may differ for the same features. I do not know which document do I currently have to believe.

    What is more, I am also confused about files bma456.c (.h) and bma456h.c (.h) in BOSCH drivers given here https://github.com/BoschSensortec/BMA456-Sensor-API 
    Which one is usable for new BMA456 applications? In bma456h.h, I am also confused about BMA456H_AUTO_LOW_POWER_OFFSET macro. Also, according to the mismatch of information between the application notes, shan't it be equal to 0x2C, or 0x58? Why 0x68 instead?

    Sorry if all this sounds foolish, but I have already spent a week on understanding that:(
    Thanks🙂
    Roman

    3 REPLIES 3

    BSTRobin
    Community Moderator
    Community Moderator

    Hello keizerr,

    There are bma456.c(.h) and bma456h.c(.h) BMA456 driver code in github. bma456.c(.h) focus on wearable applicatoin, bma456h.c(.h) focus on hearable application. You could choose different driver code(bma456.x or bma456h.x) according your application.
    First, what is your application?
    Second, what functions does your application need?

    Hello there,
    Thanks for your reply. Got the difference between the files. Well, my application needs only the any- and no-motion features for now, but also an auto-low-power feature is necessary for it.

    BSTRobin
    Community Moderator
    Community Moderator

    Hello keizerr,

    If you need auto-low-power feature, you should use the following driver code and example code:

    Driver code: bma4.c, bma4.h, bma456h.c, bma456h.h, bma4_defs.h
    Example code: https://github.com/BoschSensortec/BMA456-Sensor-API/tree/master/examples/bma456h/generic

    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