01-25-2021 06:56 PM
Hello Everyone,
I am getting started on the BMI160 with an Atmega1608 and just using Arduino for now. I am able to get it up and running but when I send the ID command I am getting 0xD8 instead of 0xD1 to start with. As I continue, the PMU reports all 0's and the sensortime is changing. I try to use the CMD to turn on the accelerometer, gyro and magnetometer with the base configuration settings and the only one that has the PMU actually turn on is the magnetometer. Any thoughts or things I should share to figure this all out?
01-25-2021 06:58 PM
Additionally, no errors after any accel or gyro setting change or power commands. The status just says data is ready for the NVM and nothing else.
01-26-2021 07:07 AM
Hello gregtronics,
Chip ID should be 0xD1. Could we know which HW interface you used, I2C or SPI? It is better to capture waveform to see if the HW communication is ok or not.
01-27-2021 03:26 PM
Hello,
Thanks for the tip. I did use a logic analyzer before to see the data coming in and that was correct. I will scope it today to see what I have and let you know.
02-01-2021 10:30 AM
Hello gregtronics,
Does it work nomally?