Write a SPI driver for the Bosch BMI270 IMU connected to a nRF52832 in C

Job ID: 35084096

Budget: $10 – $30 USD

I need a driver for the Bosch BMI270 IMU connected to the Nordic nRF52832 via SPI that does not use any other libraries except those that are standard in the nRF SDK. The language should be C so that it can easily be integrated with another project. The driver should expose the x,y and z accelerometer values as well as the x,y and z gyro values.

Here is the datasheet for the BMI270: https://www.bosch-sensortec.com/products/motion-sensors/imus/bmi270/#description
Here is the datasheet for the nRF52832: https://www.nordicsemi.com/Products/nRF52832
Sample project that uses I2C and external libraries on an Arduino: https://github.com/hanyazou/BMI160-Arduino
Another Sample project: https://github.com/DFRobot/DFRobot_BMI160

Note that the BMI160 in the sample projects is an earlier version of the BMI270 and may provide a starting point.

The compiler should be gcc for arm