I can't get the built-in IMU to work. I have a breakout board with a BMI270 chip and it works beautifully.
How do I access the built-in one? I tried I2C_SCANNER and no devices were found.
Can anyone point me to a library or sketch where the GDS IMU works?
Thanks.
I'm not familiar with the Giga and the Giga Display Shield. This is what I have found.
The Giga has 3 I2C buses, respectively referred to as Wire, Wire1 and Wire2. I'm not 100% sure which one is which (I2C1, I2C2 and I2C4). All peripherals on the shield (including the IMU) are on I2C4
So you will need to use one of Wire.begin(), Wire1.begin() or Wire2.begin() in the scanner program and adjust all other references in the scanner to those WireX objects; exception is the #include <Wire.h>. Once you have found the IMU on one of those, you can use the WireX to control the IMU.
Assuming Wire was used in the scanner, you should try Wire1 or Wire2.
Thank you so much. I was hopeful that I'd find the IMU on Wire1 or Wire2. Sadly, I did not.
I did verify that when I did connect my BMI270 breakout to SDA/SCL, it did show up on a scan of Wire at 104 (0x68). I tried using the camera connector pins and try Wire1. Nothing was found. I then used D8(SCL2) and D9(SDA2) with Wire2 and also came up empty.
While I did not solve my problem with this, you led me to look further. Thanks!
Problem solved with examples in Arduino_BMI270_BMM150 library.
In SimpleAccelerometer or SimpleGyroscope,put
BoschSensorClass myIMU(Wire1);
After the #include and before setup() and replace IMU with myIMU.
Thanks to sterretje for helping me look in the right place.