-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple I2C with MPU9250 #37
Comments
Each device can be 0x68 or 0c69 depending on whether the SDO pin id LOW or -----Original Message----- Hi Reply to this email directly or view it on GitHub |
Thanks a lot Robert, |
My pleasure Wilbur, What do you mean by speed? Speed of the sensor fusion? With Madgwick or If you mean sample data rate, then you just have to change the input I still do not understand what you are asking... -----Original Message----- Thanks a lot Robert, Reply to this email directly or view it on GitHub |
I am accessing mpu9150 sensor using my Stm32f401 I2C with ur library. Thank u
|
The problem with the MPU9150 is the mag, which must be read with a one-time Switch to the MPU9250 and you should achieve rates above 1 kHz if desired. -----Original Message----- I am accessing mpu9150 sensor using my Stm32f401 I2C with ur library. Thank u
Reply to this email directly or view it on GitHub |
Really thank you for your advice and valuable time.
But I tried with MPU9250 also.. I couldn't achieve high data rate.
And How can I use other I2c master of the STM32F4 board to connect other
sensors.
|
There must be something wrong with your setup; I am able to get greater than 1 KHz fusion rates with a Cortex M4 rocessor. -----Original Message----- Really thank you for your advice and valuable time. But I tried with MPU9250 also.. I couldn't achieve high data rate. — |
I connected my MPU9250 SCL and SDA to PB_8 and PB_9 VCC and GND to 3.3V
annd GND.
And I only commented the coding which is respect to lcd displays only...my
output is on the hyper terminal so, I use SERIAL_TX and SERIAL_RX as my
Serial out.
Is there anything I can DO..
and what about multiple I2C master
|
Sorry ..it was my fault...it's not the data rate. ..but when I try to print
|
I don't know, but why not try an LCD display like the Nokia 5110, the update -----Original Message----- Sorry ..it was my fault...it's not the data rate. ..but when I try to print
Reply to this email directly or view it on GitHub |
I am developing a Java based platform also to view the motion..that's why I
|
I thought I already described how to do this. You can also use one of these: https://www.tindie.com/products/onehorse/tca9548a-i2c-multiplexer/ -----Original Message----- I am developing a Java based platform also to view the motion..that's why I
Reply to this email directly or view it on GitHub |
i am able to achieve that using higher baudrate 921600. is it possible instanciate two MPU9250 in the mbed environment to use it On Mon, Jan 25, 2016 at 6:54 AM, Kris Winer notifications@github.com
Sivapalan Gawsalyan |
Hi Kris, |
Each MPU9250 has an internal switch to allow mag acces from the host. Just // Configure Interrupts and Bypass Enable // can join the I2C bus and all can be controlled by the Arduino as master set INT_PIN_CFG to 0x20 to turn off switch. -----Original Message----- Hi Kris, You are receiving this because you commented. |
Thanks Kris~ |
@kriswiner , I still can't understand, if we will change MPU-9250 address by AD0, that described in datasheet like |
What will be happened with AK8963 address, when AD0=1? Will it be changed, or not? |
Looks, I understood it... I've correctly understand your prev post, when I wrote this ))). |
OK, then did you get it to work? -----Original Message----- Looks, I understood it... I've correctly understand your prev post, when I You are receiving this because you were mentioned. |
When you change the MPU9250 ADO this does not change the I2C address of the AK8963C. The correct way to handle multiple MPU9250's on a single I2C bus is described here: but you can also do this: |
No, now I still learning datasheet and Register map.
Ie,
Is it correct idea? |
You should be able to leave the AK8963 on all the time and just use INT_CFG But using the slave registers is the better way to do it. -----Original Message----- No, now I still learning datasheet and Register map.
Ie,
Is it correct idea? You are receiving this because you were mentioned. |
Hi...
How can I change the code to connect at least 2 MPU9250 sensor to STM32F401RE to different I2C buses
The text was updated successfully, but these errors were encountered: