Bosch Sensortec Community

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

    bmx160 geomagnetic sensor data

    bmx160 geomagnetic sensor data

    Jagath
    Member

    Hello

    I am using the bmx160 sensor for a project there is no exact source code for bmx160. I need to use BMI160 for the accelerometer and gyro and for the magnetic sensor I need to use BMM160 source code.

    I have configured the BMI160 code for BMX160 and got accelerometer and gyro values.

    How to configure BMM150 source code for BMX160 sensor along with BMI160  source code.

    The address map of  BMM150 is different from BMX160.

    Is there any source code for BMX160  where all 3 sensor data can be read out.

     

    Thank you

    Jagath

     

    6 REPLIES 6

    No, because I directly configure the register. Can you tell me which register should be configured and what value should be configured to drive the magnetometer?

    I have read the data of accelerometers and gyroscopes according to the official program. Is the parameter of the function to obtain Euler angle in the official algorithm library the original data value passed in?

    bmi160_get_sensor_data((BMI160_ACCEL_SEL | BMI160_GYRO_SEL | BMI160_TIME_SEL), &bmi160_accel, &bmi160_gyro, &bmi);

    bsxlite_do_step(&bsxlite_instance, w_time_stamp, &bmi160_accel, &bmi160_gyro, bsxlite_fusion_out);

    Are the above parameters directly transmitted to the acquired accelerometer and gyroscope data? Or do you need to calculate before you can pass it in

    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