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?
02-04-2021 03:58 PM
Here is what the waveform looks like:
There is that little pulse at the end, could the SDA signal be lagging a little bit? I never heard of that but I guess it is possible.
02-05-2021 07:57 PM
Latest update. I reduced my pullup resistors to 1k and now I am seeing data. The ID is still wrong so I am not sure if that means the data is correct or not. But, the sensor is at least talking.
02-07-2021 04:00 AM
Hello gregtronics,
On my HW board, SDO pin to to VDDIO. On MCU SW side, I used HW I2C communication, and captured waveform when reading BMI160 chip ID. You could compare the missing communication timing in your waveform