BMI270 c++ api for sparkfun

Hello

I use Sparkfun bmi270 board connected via i2c

I have no problems running the python library and getting accelerometer and gyroscope data, but I have problems using the official BMI270-Sensor-API library

 

As far as I understand, it is intended for Application/Shuttle Bosh board?

How can I use BMI270-Sensor-API with Sparkfun bmi270 board?

Best reply by Minhwan

Hi Mark, 

 

Sparkfun board is different from our application board and shuttle board. It's Sparkfun board. 

Our API is for our application board and shuttle board. Of course you can still use it after changing I2C functions depends on your board. 

I'd like to check as below step. 

 

1) Your application board is our app 2.0 or app 3.0? 

Application Board 2.0 - https://www.mouser.com/datasheet/2/783/Bosch_Applicationboard-2-0_Flyer-1217732.pdf

Application Board 3.0 - https://www.bosch-sensortec.com/software-tools/tools/application-board-3-0/

If you are using one of them, please go 2-1). Or, go 2-2) 

2-1) You have to connect our app board and sparkfun board properly. If you are using I2C, you might need pull up resistors. Then, go 3) 

 

2-2) You are not using our application board, so you should change interface function. 

Please go common.c in common folder and change I2C properly for your system. 

 

3) If you are using our application board and sparkfun, the API is run by our COINES. 

https://www.bosch-sensortec.com/software-tools/tools/coines/

 

Thank you. 

View original
3 replies
Resolved