I2C issue
Posted: 19 January 2011, 1:04 AM
I have 2 devices connected on an I2c chain. One is a 8 x 30 character lcd display, and the other is an sd card module.
I can get either to work independantly, but if i try to send data to one, then the other device several times a second, i either see the sd card module not accepting commands and/or garbled data on the lcd screen.
My suspicion is poorly implemented I2c on the one or both of the devices, they are both from the same source and I have had issues with clockstretching not working properly in the past. Is there anything i can do, apart from considering using 2 i2c channels on different pins ?
thanks
I can get either to work independantly, but if i try to send data to one, then the other device several times a second, i either see the sd card module not accepting commands and/or garbled data on the lcd screen.
My suspicion is poorly implemented I2c on the one or both of the devices, they are both from the same source and I have had issues with clockstretching not working properly in the past. Is there anything i can do, apart from considering using 2 i2c channels on different pins ?
thanks