2006-12-05 07:30 PM
Can i2c communication work with 2 devices of diff. VCC
2006-11-27 04:27 PM
Dear Sir,
I am having 2 devices On i2c bus .One is MCU with VCC = 5.0V and another device with VCC = 3.3 V. Is it possible to have i2c communication between 2 devices in this case ?? Pls note both devices have i2c peripheral. Pls help. Thanks Arup2006-11-29 12:04 AM
Hi Arup,
with a simple levelshifter your problem should be solved. I attached a circuit diagram to this message. Hope it'll help you. You should take the levelshifter to each of the both lines SDA and SCL. When you take the mcu as master (clock only by the master 5V), you don't need the transistor and R1/C1 with the SCL-line. C1 is not nessacary but brings a better pulse form. R1 should be about 20 times the value of the pullup resistor of your 5V-busline (depends on the current gain of the transistor T1). Regards WoRo ________________ Attachments : i2c_5V-3V3.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0H9&d=%2Fa%2F0X0000000bWW%2FELiZEl7ZHs8iBWqluTefD9IBf430G4wYWT52S0RwEks&asPdf=false2006-12-05 07:30 PM
Dear Mr. woro,
Thanks for the level shifter ckt.would you pls give a brief idea of how it works. thanks, Arup