BMI270 GYRO data using SPI in C

Hi i am a fresher in development and I am trying  to get only gyroscope data from BMI270 sensor. Initially I have tried to get the data from example code from github  - boschsensortec /BMI270_SensorAPI , I tried to build -  bmi270_examples/gyro/gyro.c . I got error that  COINES is not included later i included COINES package as well and set the directory path correctly . Even though I didnot get any data .

 

Hardware wise I am only using BMI270 and I have made the connections to microprocessor as per the documentaion of 4 wire SPI .

so i want to get more clarification how to get data from BMI270

- does it require any other hardware like Application board or shuttle board .

- does the sensor require any configuration through software , if so , please list down them with thier dependicies.

- can we build the cdoe without using COINES package .

- or list any other way of getting gyro data from sensor using C code without external dependicies.

 

5 replies