Set your pull-up to 3.3v and see what happen on the SCL/SDA line with a scope and a I2CREAD/WRITE tight loop.
I suspect the I2CREAD/WRITE would play with TRIS... worth to have a look at this.
Your device is not 5 volt tolerant (well as per the datasheet) so I would say you will have problem with direct connection. Arrati's suggestion might work, but I would be concerned about the shape of the data though AND I2C line work usually @4.7K or lower pull-up value...
There's still some I2C level shifter available. Philips use to do some. PCA9512A, P82B96 spring to mind now.
If at all possible, run the whole thing at 3.3 volt.
Last edited by mister_e; - 7th February 2009 at 19:44.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks