Hi klcheung,
There is not enough information here to understand what else you may be doing wrong, but from what I can understand,
the dev_id parameter of the BMI160 device struct should contain the I2C address of the BMI160 depending on it's connections to the NRF52832, either 0x68 or 0x69.
the reg_addr should not be overwritten with 0xd8.
If you could share how the hardware is connected, and more code about how the NRF52832's peripherals are configured in software, I would be able to guide you here.
Regards, kgoveas
... View more