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.
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.
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)