Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Accelerometer stops outputting data (BMI088 + Application Board 3.0)

    Accelerometer stops outputting data (BMI088 + Application Board 3.0)

    plasota
    New Poster

    I'm using a BMI088 on a shuttle board attached to an Application Board 3.0. I'm trying out the examples after installing COINES, specifically the interrupt streaming example (https://github.com/boschsensortec/BMI08x-Sensor-API/blob/master/examples/interrupt_streaming_pc/inte...).

    I can run the example just fine as it is, which does a single read from the accelerometer an the gyro. I tried changing the example to read on a loop like this:

    /* Read sensor data */
    while(true)
    {
         read_sensor_data();
         coines_delay_msec(100);
    }

    This works for 1-3 loops for the accelerometer, and then stops outputting data. Adding some extra logging, I see that the `rslt` variable is -1 (`COINES_E_FAILURE`). The gyro keeps outputting data just fine. Can anyone help? Thank you in advance.

     

    3 REPLIES 3

    BSTRobin
    Community Moderator
    Community Moderator

    Hi plasota,

    What function do you want to achieve?
    If you would like to read accel, gyro data, you could refer this example code https://github.com/boschsensortec/BMI08x-Sensor-API/tree/master/examples/read_synchronized_data_mcu

    plasota
    New Poster

    It turned out to be a fimrware issue. I updated the firmware on the app3.0 by running `update_dd_fw.bat` in the `COINES\v2.7.0\firmware\app3.0` directory, and this fixed the issue. I was trying to achieve continuous reading from the IMU, as opposed to reading just one set of readings like in the example I linked.

    BSTRobin
    Community Moderator
    Community Moderator

    Good news, plasota.

    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