Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Is CLK open drain in I2C protocol?

Status
Not open for further replies.

treez

Advanced Member level 5
Joined
Sep 22, 2008
Messages
7,585
Helped
562
Reputation
1,127
Reaction score
537
Trophy points
1,393
Location
cambridge
Activity points
76,296
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,791
Reputation
3,574
Reaction score
1,650
Trophy points
1,393
Location
Silicon Valley, California, USA (from Dhaka, Bangl
Activity points
30,545
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

    treez

    points: 2
    Helpful Answer Positive Rating

treez

Advanced Member level 5
Joined
Sep 22, 2008
Messages
7,585
Helped
562
Reputation
1,127
Reaction score
537
Trophy points
1,393
Location
cambridge
Activity points
76,296
....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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top