08-17-2021 11:52 AM - edited 08-17-2021 12:35 PM
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.
Solved! Go to Solution.
08-18-2021 03:41 AM
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.
08-18-2021 07:07 AM
08-20-2021 10:31 AM
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.
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)
08-20-2021 11:12 AM
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.