07-26-2019 03:35 PM - edited 07-26-2019 03:55 PM
Hello,
I used the BNO055 chip for my application with library from bosch (bno055.c, bno055.h, bno055_support.c)
I want to read the raw data of linear accel x, but I can only get the register address of that value. hier is some pieces of my code and the output.
Can you help me find the error I made. Thank you very much.
Solved! Go to Solution.
07-26-2019 05:16 PM - edited 07-26-2019 05:18 PM
Could you please confirm that you have successfully customized the BNO055_I2C_bus_read() and BNO055_I2C_bus_write() functions to your specific platform? These functions are by default only provided as reference of the prototypes expected by the sensor API, and need to be edited to execute the proper communication on the bus.
If this was already taken care of, please check the values returned by the different functions in your code snippet, in particular does bno055_init() return any error/warning message?
If still facing some issues, please share an oscilloscope/logic analyzer capture of the I2C bus when trying to read data from the sensor.