UC GEE
DIIDevHeads IoT Integration Server
•Created by UC GEE on 7/2/2024 in #middleware-and-os
Trying to interface the BMI088 IMU with an i2c multiplexer
@Middleware & OS I’m trying to interface the BMI088 IMU with an i2c multiplexer. The BMI088 has two different addresses for the accelerometer and gyroscope which makes it act like 2 different devices entirely. I have the mux on bus0 in my devicetree and I can address it just fine. I put the IMU on channel 2 of the mux and I have read that each channel on the mux is essentially a bus extension. I cannot find any specific information/examples on how to set up the individual BMI088 acc and gyro addresses on the mux channel in my device tree.
Please, I'm making use of STM32 MCU.
Could anyone reference any documentation or examples?
Here's my i2c bus initializing code
9 replies