Bosch Sensortec Community

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

    BMI270 config file options or variations?

    BMI270 config file options or variations?

    _nd345
    New Poster

    Github samples include these two useful config files:

    https://github.com/boschsensortec/BMI270-Sensor-API/blob/d270cdee303b2ed9ea4c43fb7064da8ded8a48b4/bm...
    bmi270_maximum_fifo_config_file 328 bytes

    https://github.com/boschsensortec/BMI270-Sensor-API/blob/d270cdee303b2ed9ea4c43fb7064da8ded8a48b4/bm...
    bmi270_config_file 8192 bytes

    How can end-users generate custom config files? What are the options and how to generate? FIFO is very small, but the raw gyro data is not as clean as the NORMAL config.  Yet at 8192 bytes, it's rather large and not preferable or maybe even usable for some embeded systems.

    4 REPLIES 4

    _nd345
    New Poster

    off-subject, the github has issue-trackers and pull-requests that have been completely ignored by Bosch.

    BSTRobin
    Community Moderator
    Community Moderator

    Hi _nd345,

    The config file contains different algorithms, such as any motion, step counter, etc. The more algorithms supported, the larger the config file.

    As you can see, for the config file with the largest FIFO, the size of the config file is small, and it should not occupy the memory space of the host as much as possible to store the config file. It provide a large FIFO as much as possible to cache more data. Due to small size of config files, many algorithms were removed.

    Similarly, the 8KB config file provides as many algorithms as possible, so the size of the config file is relatively large.

    The config file does not support being modified by the user. You can select and use from published config files based on user applications.

    Applications

     

    BMI270 (base)

    • Any motion, No motion, Significant motion detectors
    • Wrist worn Step counter and Step detector (Pedometer)
    • Activity change recognition
      • Still
      • Walking
      • Running
    • Wrist gestures
      • Push arm down
      • Pivot up
      • Wrist shake jiggle
      • Flick in
      • Flick out
    • Wrist wear wake up

     

    BMI270 Context

    • Step counter and Step detector (Pedometer)
    • Activity change recognition
      • Still
      • Walking
      • Running

     

    BMI270 Legacy

    • Any motion, No motion, Significant motion detector
    • Orientation detector (Advanced Potrait-Landscape)
    • High-G, Low-G (Freefall) detector
    • Flat detector
    • Tap detection (Single, Double, Triple taps)
    • Smartphone Step counter and Step detector (Pedometer)
    • Activity change recognition
      • Still
      • Walking
      • Running

     

    BMI270 Maximum FIFO

    • Supports a 6kB FIFO

    Fair enough.
    Does FIFO contain essentially the same "Any motion, No motion, Significant motion detectors"?
    I'm trying to understand why NORMAL with OSR4 would have cleaner data and less filter delay for software-post-filtering as compared to FIFO with OSR4, which was sliglhty noisier data and slightly more software-post-filtering delay.  This application is in regards to A:B testing of Quadcopter Flight-Controller software comparing the two BMI270 config files.Flight-control obvisouly does not need all the features, but FIFO seems to be missing something special.
    Thank you.

    BSTRobin
    Community Moderator
    Community Moderator

    Hi _nd345,

    FIFO and "Any motion, No motion, Significant motion detectors" are parallel relationships, not inclusive relationships.

    You can provide a detailed description of your A and B tests separately, so that we can understand your problem.
    Sensor configuration:
    How to read data:
    Test environment:

    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