Bosch Sensortec Community

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

    BMI08x Sensor API issue

    BMI08x Sensor API issue

    welin
    Member

    Hello there,

    I am using IIC bus to communicate with BMI088 sensor with the given exapmle from BMI08x-Sensor-API.

    1. With IIC bus, are the interrput pins a mandatory connection to the BMI088? Or VCC, GND, SCK, SDI pins are also enabled to get the raw data. If interrupt pin are not necessary, could bmi08a_get_data_int_status processing (get register data 0x1D for accel, 0x0A for gyro) also be omitted?

    2. I found in the example codes that there is a file needs to upload. But I also found that the reigsters 0x59, 0x5B, 0x5C, 0x5E etc are reserved registers, which means that the bmi08x config file onto the device processing (bmi08a_load_config_file) could be omitted? Becaues I always get failed returning after upload file data, the 0x2A for getting Accel Internal status register is reserved too.

    3. Could I capture the accel and gyro data synchronously? As they are in different IIC slave address buses.

    Many thanks.

    4 REPLIES 4

    BSTRobin
    Community Moderator
    Community Moderator

    Hello welin,

    1.The interrupt pin does not have to be connected. Data can be read at any time, but when data ready interrupt flag is available, it could read new data updated;

    2.For the problem of config file download failure, you could check the difference between you code and github code.
    https://github.com/BoschSensortec/BMI08x-Sensor-API/blob/master/examples/read_sensor_data/read_senso...

    3.You can refer to the system time of the host to synchronize ACC and gyro data.

    Hello officer,

    Thanks for your feedback.

    For the second question, I just wonder whether downloading config file is a mandatory workflow before getting the data.

    Thanks.

    BSTRobin
    Community Moderator
    Community Moderator

    Hello welin,

    Yes, downloading config file is a mandatory workflow before getting the data.

    Hi,

     

    now I could get the data. But without upload file into BMI088 IMU sensor.

    Thanks for your help.

    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