Bosch Sensortec Community

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

    BMX160 why z-axis cutoff frequency of acc is only 353 Hz?

    BMX160 why z-axis cutoff frequency of acc is only 353 Hz?

    cwi
    Established Member

    cwi_0-1603356276054.png

     

    According to the datasheet the 3 dB cutoff frequency is always lower than for the other axes? Is there a particular reason for this? And is it possible to get unfiltered data?

    thanks

    6 REPLIES 6

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    BMI160 accel and gyro have both filtered data and unfiltered data (or pre-filtered data). In data registers there are only filtered data at different ODRs. At accel ODR of 1600Hz the 3dB cut-off frequency is 684Hz for X/Y axis and 353Hz for Z axis. This is by design and has no reason behind.

    BMI160 accel unfiltered data is always at 1600Hz and gyro unfiltered data 6400Hz. Even they are not available in data registers, they are available in FIFO. When you set bit-7 of register 0x45 to 0, then the FIFO will have accel data at 1600Hz unfiltered data. You can read FIFO to get accel unfiltered data.

    Thanks.

    cwi
    Established Member

    Okay if we would like to have for both acc and gyro 1600 Hz and would like to use the fifo how do we need to configure the config registers. Furthermore, if we use the unfiltered option can we assume that aliasing is avoided by design?

    And by the way is it possible to see the entire filter curve of the low pass filter.

    Thanks,

    C.W.

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Please refer to BMI160 API source code at https://github.com/BoschSensortec/BMI160_driver. You only need to bring the accel and gyro inside BMX160 respectively. And then you set their ODRs and full scale ranges. Then you set the register 0x45 bit-7 to 0 to use unfildered data. Then you can call the function to confgiure the FIFO and get data from FIFO. Since the ODR is 1600Hz, please use SPI interface to read data samples from FIFO faster in burst read.

    Thanks.

    cwi
    Established Member

    Okay but then I have 6400 Hz for Gyro and 1600 Hz for Acc. But I want 1600 Hz for both and for both unfiltered. Furthermore, could you answer my question regarding the aliasing filter?

    Kind regards,

    C.W.

    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