I am trying to write a python driver for the BHI160B foy my application. At the end of uploading FW I get an error raised saying the crcFromFw and crcFromDevice do not match. I calculated my own CRC with an external library, but even that does not match anything previous.
The CRC accoring to my FW header should be:[154, 49, 27, 231] ;['0x9a', '0x31', '0x1b', '0xe7'] ;3877319066
What I read from device registers (0x97): [28, 198, 67, 179]; ['0x1c', '0xc6', '0x43', '0xb3']; 3007563292
What I am calculating: [156, 237, 155, 233];[0x9c,0xed,0x9b,0xe9]; 2632817641
The arduino MCU code is too large to be implemented on an Arduino. (https://github.com/BoschSensortec/BoschSensorHub)
Is there an FAE for this product that I can reach out for techincal support and development?
Could we know some information from you:
1. Did you you use BMM150 on your hardware?
2. Currently, which firmware you used?
We are not using the BMM150 in our hardware.
We have tried with with the following firmware versions.
Bosch_PCB_7183_di03_BMI160-7183_di03.2.1.11824 (Lastest found on https://www.bosch-sensortec.com/products/smart-sensors/bhi160-firmware/)
Bosch_PCB_7183_di03_BMI160_BMM150-7183_di03.2.1.11696_170103.h (Found on Bosch Github)
You could refer BHI160B sensor API on github https://github.com/BoschSensortec/BHy1_driver_and_MCU_solution, download this firmware "examples/firmware/Bosch_PCB_7183_di03_BMI160-7183_di03.2.1.11696_170103" as you used BHI160B and don't have BMM150 in your design.