Bosch Sensortec Community

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

    What kind of data unit should I feed to the BSXLite?

    ZhuRan
    Member

    What kind of data unit should I feed to the BSXLite?

    hello, I am using BMF055 on Cortex-M4F and I have get the acc, gyro and mag data from the sensor, and now I want to let it work  with BSXLite, but I get some puzzle about the data which I feed to the BSXLite.

    I got the acc data is  like  {x = -35, y = -355, z = 4025} with an range of -2g~2g which is as the example code of BMF055(that is right because 4025*0.000244g/LSB=0.9821g=9.8m/s^2), but after I send it to the BSXLite, I get the result as below bsx_get_accrawdata(&acc_raw_data) then the acc_raw_data = {x = -0.248996973, y = -3.562572, z = 38.5945282} , it is same with the acc_cor_data, that is absolutely wrong because this function return the acc value with a unit of m/s^2, why?

    another question is about the calib_stat, I perform the calibration as this video https://www.youtube.com/watch?v=Bw0WuAyGsnY ,I then I can get the bmf055_mag_calib_stat value of 3, but the bmf055_acc_calib_stat and bmf055_gyr_calib_stat looks like is always 0(though the video said that the calibration of gyro just need to still the sensor, it not work in my board)

    Tags (2)
    3 REPLIES 3
    Yanchao
    Community Moderator

    Re: What kind of data unit should I feed to the BSXLite?

    Hi,

    I'll check if BSX-Lite support BMF055, because the bsxlite_cortex_m3_m4_m4f\ConfigStings don't have BMF055.

    Another suggest about your first question, please refer to BSXlite-integration and try this solution.

    Yanchao_0-1609918915739.png

     

    ZhuRan
    Member

    Re: What kind of data unit should I feed to the BSXLite?

    thanks.

    BMF055 is a package of several sensors so i think i can use BSXLite.

    And now I have done the mag and acc calibration(means got the stat of 3), but I am in trouble that I cdont konw how to calibrate the gyroscope, how should I put the sensor?

     

    感谢!

     

    c0med1an
    New Poster

    Re: What kind of data unit should I feed to the BSXLite?

    hello

    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