10-13-2022 01:47 PM
Hello,
We are trying BHI260AP's code. I found code this site https://github.com/BoschSensortec/BHY2-Sensor-API. But We don't know how we can run the code. Can you be helpful ?
Solved! Go to Solution.
10-13-2022 09:11 PM
Hi uuranbey,
Yes, the github url is for the BHI260AP.
You need to modify interface part for your system.
https://github.com/BoschSensortec/BHY2-Sensor-API/blob/master/examples/common/common.c
Below functions are coded for COINES which is our EVM platform, so you need to change interface code.
bhy2_spi_read, bhy2_spi_write, bhy2_i2c_read, bhy2_i2c_write
Once you can communicate it with BHI260 properly, you can use example code.
Thanks,
10-17-2022 04:20 PM
Hello,
We are trying to compile the sample code on github using segger embedded studio. However, we are getting the error that the usb.h library could not be found. Which compiler should we use to run the code on Github? The processor we use is NRF52840 and we are working in windows environment. Can you help me?
10-18-2022 10:09 PM
Hi,
To compile github in your platform, you should remove all COINES and communication related sources.
Then, you should put your own files since you are not running in our EVM.
Thank you.