Please forgive me if this query is in the wrong section....
I have a 16F877A setup to talk via I2C to THREE AD5282 Digital Potentiometers.
These devices have 2 Address lines AD0,AD1 that i have set to unique values.
My SDA & SCL lines are pulled-up through 4.7K resistors.
Here is my issue.
I have my code setup to write a value to one of my digipots...which it does successfully!
However when I try to write to another the value CHANGES on the digipot i just wrote too!!!
This what i have observed....
When I power up the PCB the SDA and SCL lines are pulled high...naturally.
When I write to one of my digipots via I2C the SDA and the SCL lines transition as you would expect....
But after the write....the SCL remains LOW!!!!
This can't be good...shouldn't go back HIGH after a successful write?
I have gone through the forum and I have made sure I havent done anything stupid....
ie...I am not using constants in my I2CWRITE lines...but even if i were it shouldn't matter as the devices only use BYTES
Can anyone shine a little light on me?
Robert in Massachusetts
Bookmarks