Hi ajmire,
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.
... View more