MODIO and Raspberry PI I2C Communication Woes.

Started by enviroOpen, January 04, 2014, 04:02:43 PM

Previous topic - Next topic

enviroOpen

I'm having trouble communicating to the MODIO board with the Raspberry Pi.
The MODIO is connected to pi via the RPI-UEXT board.
Data is received correctly on the first time it's polled, but afterwards all data is recieved as zeros?
This is true for both analog and digital inputs, yet writing to digital outputs work correctly?
Is this issue related to Pi's i2c driver and lack of support of clock stretching?
I've tried two methods to poll data, i2cget command from terminal and modio.py master found on GitHub.

RazZziel

In order to rule out whether the problem is in the MOD-IO or in the RaspberryPi, have you tried substituting the Raspberry with another computer? Or communicating from the RaspberryPi with another i2c module (i.e. MOD-RTC)?

enviroOpen

RazZziel,

Yes, I'm currently reading temperature from a TMP102 reliably.
I have no means to replace the PI as a master controller.

Thanks for the reply.