Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Is CLK open drain in I2C protocol?

Status
Not open for further replies.
T

treez

Guest
what if i am doing I2C from a PIC that doesnt have an I2C module?

Does that mean i have to use two external open drain BJTs and have separate input and output ports?....ie four pins of the pic used to give the I2C protocol?
 

Tahmid

Advanced Member level 5
Joined
Jun 17, 2008
Messages
4,758
Helped
1,792
Reputation
3,576
Reaction score
1,651
Trophy points
1,393
Location
Silicon Valley, California, USA (from Dhaka, Bangl
Activity points
30,539
If you're using a PIC that doesn't have an I2C module, then you'll be using software I2C. The two pins you'll use as CLK (SCL) and DATA (SDA) should be pulled up using pull up resistors. No need to use external BJTs.
 
  • Like
Reactions: treez

    T

    Points: 2
    Helpful Answer Positive Rating
T

treez

Guest
....if i do that , does that mean i have to transmit by changing a pin repeatedly from output low to high Z?

....i would have thought taking a PIC pin output high was prohibited because it would short to ground via the slaves I2C port?


...changing a pic pin repeatedly from output low to high z is not going to be quick or easy?

...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top