10-14-2022 02:57 PM
Hi guys,
I am trying to evaluate the BHI160B for our application (we wanted to use BHI260, but they were not available atm). Therefore, we bought the Shuttle board and application board 3.0.
I am trying to understand the documentation, but information is quite scattered.
I am facing two major challenges:
1. When I use the development desktop 2.0, I can connect the board and download the BMI160_BMM150 firmware to it. Then under virtual sensors I am setting a sample rate for Accelerometer, Gyroscope and Magnetometer and enable raw data output and press write. As soon as I click Start streaming the sensor data arrives, but after 1-2 seconds it just stops without error or anything. Same for Orientation. In addition, the sampling rates that I set are not the same as shown in the "physical sensor working status" tab.
2. Second I tried to get the sensor talking over command line, so I am using Coines under Windows. Building the BMI160 example works, however when I execute it I am getting the error "Warning invalid sensor shuttle,This application will not support this sensor". So I tried the BMM150 example. Same error. Then I found this repo https://github.com/BoschSensortec/BHy1_driver_and_MCU_solution however, there are no makefiles provided for the examples.
At the moment I am a bit lost, could you please provide me with some guidelines how to simply get the sensor data from BHI160B shuttle board 3.0 on a Application board 3.0 with a C or a Python example?
Thanks
Steffen
10-18-2022 07:34 AM
Hi stef87,
Could we know what's development desktop UI version and COINES version you installed?
10-18-2022 07:48 AM
Hi thanks for your reply,
from the Development Desktop 2.0 Beta I get:
SW ID: 1.9
HW ID: 1.0
Shuttle ID 0x99
UI Version 3.25.0.0
BoardType: ApplicationBoardV3
COINES is version 2.7.0
Yesterday I tried writing myself a makefile for the examples in BHY1. I downloaded the github repo for BHY1 and put it in the example folder of COINES. Then I adapted the paths the COINES install folder and run mingw32-make. However i get lots of include errors (first one is twi.h, when I fix that I get the next one...). Some files do not even exist in the COINES install directory. Maybe I need to install an older version of COINES or something?
ifeq ($(OS),Windows_NT)
11-25-2022 04:27 AM
Hi stef87,
The new version of COINES removes the example of BHY1. If you have an older version of COINES(v2.0) , you can refer to the BHY1 example in v2.0 and move it to COINES v2.7 for use.