Hello sheejavarghese,
You could use reference code in github to read ACC, GYRO data.
https://github.com/BoschSensortec/BNO055_driver/blob/master/bno055_support.c
/* Raw accel X, Y and Z data can read from the register * page - page 0 * register - 0x08 to 0x0D*/ comres += bno055_read_accel_x(&accel_datax); comres += bno055_read_accel_y(&accel_datay); comres += bno055_read_accel_z(&accel_dataz); comres += bno055_read_accel_xyz(&accel_xyz);
/* Raw mag X, Y and Z data can read from the register * page - page 0 * register - 0x0E to 0x13*/ comres += bno055_read_mag_x(&mag_datax); comres += bno055_read_mag_y(&mag_datay); comres += bno055_read_mag_z(&mag_dataz); comres += bno055_read_mag_xyz(&mag_xyz);
/* Raw gyro X, Y and Z data can read from the register * page - page 0 * register - 0x14 to 0x19*/ comres += bno055_read_gyro_x(&gyro_datax); comres += bno055_read_gyro_y(&gyro_datay); comres += bno055_read_gyro_z(&gyro_dataz); comres += bno055_read_gyro_xyz(&gyro_xyz);
... View more