Bosch Sensortec Community

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

    BMX160 - What is the FIFO Buffer?

    BMX160 - What is the FIFO Buffer?

    Nikosant03
    Long-established Member

    Hi everyone,

    Could some one explain me in simple words:

    1. What the FIFO buffer is?

    2. What is the advantages (if any) of using the FIFO buffer

    3. Is it achieved energy optimization my using the FIFO buffer?

    Thanks in advance

    Nick

    3 REPLIES 3

    BSTRobin
    Community Moderator
    Community Moderator

    Hello Nikosant03,

    FIFO (First Input First Output), that is, the first-in first-out queue. It is used in the sensor to cache data to prevent data loss; and can store the data in a centralized manner, which can avoid frequent communication between the main controller and the Sensor, reduce the burden on the CPU, and reduce system power consumption. A FIFO is integrated in BMX160 also to support low power application and prevent data loss in non-real0time system.

    Nikosant03
    Long-established Member

    Thank you for your reply BSTRobin

    Well, my application is designed to send IMU's data with a frequency of 100Hz over Bluetooth. Meaning that I have to call the bmi160_get_sensor_data() function every 10ms.

    Could FIFO buffer somehow be useful for my application? I am looking for power optimization that's why I am asking.

    Nick

    Vincent
    Community Moderator
    Community Moderator

    It is depending on your used data rate from sensor. 

    If it is higher than 100Hz ODR and you want to keep all data available for host to calculation,  then FIFO is good help to reduce the system power.

    If you use exactly 100Hz ODR now,  then FIFO have no benefit on system power consumpiton side

    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