Bosch Sensortec Community

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

    BMI088 on Beaglebone Black

    BMI088 on Beaglebone Black

    RajMehta
    Member

    Aim: to Read Gyroscope data from BMI088 sensor on BeagleBone Black.

     

    I know the connection. and I already verify my connections and BMI088 sensor with Arduino Nano Because Arduino already developed the BMI088 library. but not for Linux.

     

    I also refer to this GitHub contribution: https://github.com/BoschSensortec/BMI08x-Sensor-API.

    but in that coines.h library is not found error is shown.

     

    Thank you. I will appreciate your response.

    4 REPLIES 4

    BSTRobin
    Community Moderator
    Community Moderator

    Hello RajMehta,

    coines.h contains interfaces related to the hardware platform. To run github code to your BeagleBone Black platform, you need to You need to implement hardware related interfaces.

    You could download COINES software from here, and you could see coines.h under installation folder.
    https://www.bosch-sensortec.com/software-tools/tools/coines/

    Thank you for your response. 

    Any other way to interface with the BMI088 sensor. without COINES software package.

    if yes please guide me.

    Thank you.

    BSTRobin
    Community Moderator
    Community Moderator

    Hello RajMehta,

    You could see common.c had the following interface which related hardware. You need to replace the implementation in the function with the implementation of your hardware platform.
    https://github.com/BoschSensortec/BMI08x-Sensor-API/blob/master/examples/common/common.c

    BMI08X_INTF_RET_TYPE bmi08x_i2c_read(uint8_t reg_addr, uint8_t *reg_data, uint32_t len, void *intf_ptr)
    BMI08X_INTF_RET_TYPE bmi08x_i2c_write(uint8_t reg_addr, const uint8_t *reg_data, uint32_t len, void *intf_ptr)
    BMI08X_INTF_RET_TYPE bmi08x_spi_read(uint8_t reg_addr, uint8_t *reg_data, uint32_t len, void *intf_ptr)
    BMI08X_INTF_RET_TYPE bmi08x_spi_write(uint8_t reg_addr, const uint8_t *reg_data, uint32_t len, void *intf_ptr)
    void bmi08x_delay_us(uint32_t period, void *intf_ptr)

    Thank you for your response and time.

    I solve my issue to refer Arduino BMI088.c/h library file. without the help of COINES software package and library.

    and get accurate results in degrees 0 to 360.

    Thanks again.

    Regards,

    Raj Mehta

    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