Skip to content
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

Hangs when using 2 accelerometers #13

Closed
clovismarcondes opened this issue Jul 19, 2015 · 3 comments
Closed

Hangs when using 2 accelerometers #13

clovismarcondes opened this issue Jul 19, 2015 · 3 comments
Assignees
Labels

Comments

@clovismarcondes
Copy link

I´m using two accelerometers for a project but when using with ODR over 50 it keeps hanging after a few seconds operating. Apparently it is losing some data because just after checking the available() it freezes inside the read(). I tried to replace the WIRE library for the I2C I founded on another issue thread and it seems to be working now. Is this approach correct?

@nseidle
Copy link
Member

nseidle commented Mar 22, 2018

Forgive me for being nearly three years late to the party, but I'd like to help. How are you using two accels at the same time? The MMA8452Q has only one I2C address so putting two on the same bus would cause collisions and unknown behavior.

@nseidle
Copy link
Member

nseidle commented Mar 22, 2018

RTFM. MMA8452Q has two addresses it can be configured to.

@bboyho
Copy link
Contributor

bboyho commented May 21, 2020

This looks like a stale issue and it might have been due to two devices using the same address on the I2C bus. I'm closing this out.

If you are still having issues, we can reopen this issue but you may want to contact our technical support team.

@bboyho bboyho closed this as completed May 21, 2020
@bboyho bboyho self-assigned this May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants