Skip to content

Timming issues #22

Open
Open
@d3str0y3rport

Description

@d3str0y3rport

Hello. I'm trying to communicate with an I2C accelerometer(MMA8452Q) but im having problems getting a response.

I plugged an oscilloscope and I found that there is an "idling" (or bus pulling up) that is way too long and makes the accelerometer communication timeout or something.

I have done it via the terminal and via python(with python the idling is even worse)

I tried the same request with an Arduino and worked fine. The only difference I can see is the "idling"

Does anyone has an idea about this problem or a workaround?

Thank you very much.

I am reading the register 0x0D and the device address is 0x1D
< i2cget -y 0 0x1D 0x0D >

THE BOTTOM ONE IS THE ARDUINO WITH THE CORRECT RESPONSE

there is an image about this on this post http://community.onion.io/topic/2711/i2c-timming-problems

thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions