How to Interface nRF5340 DK with Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout - BNO055 sensor.

Hi,

I'm trying to interface Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout - BNO055 sensor with nRF5340 DK board. Can you please help with the code where I want to print all the sensed data on the terminal via a Bluetooth connection.

Currently I'm working on peripheral uart and central uart example, can you suggest me how can I include the code in peripheral uart which is the BNO055 sensor code?

Regards

Karthik Kumar

Parents Reply
  • You will mainly need to modify the driver to fit your new sensor, in other words you will need to change the implementation of the exposed api functions to fit your new sensor and change the name of the api functions to fit your new sensor:

    static const struct sensor_driver_api bmi270_driver_api = {
    	.sample_fetch = bmi270_sample_fetch,
    	.channel_get = bmi270_channel_get,
    	.attr_set = bmi270_attr_set
    };

Children
Related