Page 1 of 1

MPU-6886 adress (0x68) OK / (0x69) NOT OK

Posted: Thu May 11, 2023 5:39 pm
by stefan.erni
Hi Ben

The MPU6886 is working nice with the adress 0(0x68)

But NOT with the adress 0(0x69) (and hardware change pin A0)



regards

Stefan

Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK

Posted: Fri May 12, 2023 9:30 am
by stefan.erni
Hi Ben

So if I use only one IMU, that's ok

Adress 0(0x69) with A0 GND works
Adress1(0x69) with A0 3v3 works

unfortunately I need both IMU

There is already a problem with initialising

This program does not run, it hangs on the second test.
no matter if address 0 or 1 first

regards

Stefan

hang on second test:
Snag_97cfc5.png
Snag_97cfc5.png (134.25 KiB) Viewed 3405 times

Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK

Posted: Fri Jun 09, 2023 10:50 am
by stefan.erni
Hi Ben

I prepared 4 IMU
2pcs with adress 0x68
2pcs with adress 0x69

I tested individually on bus1 and all of these work well.

So I connected them all on bus1 and bus2 and this is not working
but if I connect one module to bus1 and the other to bus2, it works no matter which address I use.
Only one module works on one bus!
(of course I have always adjusted the addresses and pins)

My hardware has 2 groove connector, but soon I have to connect it to a smaller hardware with only one i2c bus free

regards

Stefan

Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK

Posted: Fri Jun 09, 2023 12:09 pm
by BenR
Hi Stefan,

Is it an ESP you're using? I think I might need to make a similar mod like I did to the ESP32 SPI CAL.

Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK

Posted: Fri Jun 09, 2023 12:50 pm
by stefan.erni
Hi Ben

Yes it's an ESP32 now and later.
regards

Stefan

Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK

Posted: Fri Jun 09, 2023 2:04 pm
by BenR
OK thanks, I'll look into doing the mod for you this afternoon.

Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK

Posted: Fri Jun 09, 2023 3:54 pm
by BenR
Hello,

Right I've pushed a change and checked it compiles ok. Hopefully this should now allow multiple components to share the same ESP32 I2C hardware channel.

Let me know how you get on.

Re: MPU-6886 adress (0x68) OK / (0x69) NOT OK

Posted: Fri Jun 09, 2023 4:08 pm
by stefan.erni
Hi Ben

I tested two modul on the same bus and now it's working perfect!

thank's alot

regards

Stefan