For your issue, firstly in order to confirm whether your chip matches the firmware, you need to read the 0x91 register value to confirm whether the chip is BI160 or BHI160B.
If revision ID value is 0x01, chip is BHI160. And the firmware should be like this: Bosch_PCB_7183_di01_BMI160-7183_di01*.h
If revision ID value is 0x03, chip is BHI160B. And the firmware should be like this: Bosch_PCB_7183_di03_BMI160-7183_di03*.h
Hi, I have the exact same issue. I tried with both firmwares and still it is not working. I just opened the repository, and flashed my arduino card.
Thanks for your time
Sensor part should match corresponding firmware, you could see previous comment.
You could give more detailed information about not working.