PDA

View Full Version : Need two SDA SCL ports



lerameur
- 26th November 2010, 16:14
Hi,

I am using the Pic16F877a chip, I have an external clock that uses the SDA and SCL . I also need to add an external EEPROM chip, which also uses SDA and SCL for I2C communication, anyone ahs a solution that require two seperate connections to serial I2C ?
thanks
K

aratti
- 26th November 2010, 16:38
As long as you have different devices address you can connect them all on the same I2C bus. Remember the pullup resistors (3.3K - 4.7K)

Al.

ScaleRobotics
- 26th November 2010, 16:43
You might find this search tool useful. It can search 3 letter terms like I2C.
http://www.picbasic.co.uk/forum/content.php?r=152-A-better-Search-tool-for-the-Forum

Mel gave this answer in case you are planning on using the I2C command.
http://www.picbasic.co.uk/forum/showthread.php?t=3104&p=16696#post16696