Interfacing BHI260AP through STM32 or Arduino

Hello sir, 

As you had suggested that BHI260AP is a good replacement of BNO055 sensor. I read BHI260AP api on github and other resources but i didn't find any information about the interface of BHI260AP shuttle board 3.0 with stm or arduino for further prototyping. 

Can you help me out, I need quaternion or euler angle (as mentioned in example code on github). I need to run these example code to get quaternion or euler angle for further prototyping on arduino or stm32.

I read about changing the common.c file, but there are many thing and I didn't understand the what exactly I need to change so that those example code run through stm32 or arduino board. 

 

Thank you

Best reply by Minhwan

Hi Kumar, 

 

I think you already notice latest our API in github since you mentioned about common.c

https://github.com/BoschSensortec/BHY2-Sensor-API

Yes, you need to replace I2C or SPI interface with your own arduino SPI or I2C functions. 

Please remove all coines related functions and coines.h in common.h. 

That is our EVM related function. 

The attached file is for Arduino example based quite old API version, but could be useful for migration work. 

Therefore, you need to update it with github API. 

Thank you.  

bhy2cli_i2c.zip
134.55KB
View original
5 replies
Resolved