Hello,
I am currently working one the BMI160/BMM150 Shuttle Board with an Arduino UNO. I use the library from hanyazou to get the BMI160 data trough 4-wire SPI Communication and it works well.
But I'd like to access to the data from the magnetometer as well. I have searched a long time on Internet but no one seems to have done it for Arduino. So i decided to work on it, based on the library from hanyazou. I add almost every fonction i thought of in order to make it work, i add all the register adress needed and i've configurate them to initalize the second interface as the magnetometer, however it is not working yet.
So if you guys could lend me a hand to help me find what is not working i'll be more than happy !
You can find my work on this github repo :GitHub - KZSLAB/BMI160_Arduino_Library: An Arduino Library for the BMI160, a 6-Axis Sensor from BOSCH
the repository is still fresh but i already spent long hours on the code so i might be a bit messy, i need to organized it. Sorry for that !
Thanks for reading !