I2C Timming Problems



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

    I plugged a oscilloscope and I found that there is an "idling" 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

    0_1518141435097_omega_arduino i2c 0x1d 0x0d.png


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.