Hello Yahya,
Technically, you can write read register for BMX160. That means after writing data you should read proper data from register.
There is information in 2.11 register map datasheet.
As Robin mentioned that, why don't you use our API?
Although you get some data using register level coding, you need to compensate our raw data.
Therefore, our API is much more convenient.
https://github.com/BoschSensortec/BMI160_driver/wiki/How-to-use-an-auxiliary-sensor-or-magnetometer-with-the-BMI160.
Based on github API, I made example code.
Please let me know if you have any questions.
Thank you.
... View more