Continue to Site

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.

Could I2C work without a higher speed clock?

Status
Not open for further replies.

xiaojigao

Newbie level 6
Joined
Oct 12, 2009
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
China
Activity points
1,389
Recently I'm coding an I2C slave interface using HDL(verilog). In I2C specification, there is only two line: SCL and SDA. I've searched a lot of example design, they all use a higher speed clock to sample SCL and SDA, and then judge Start/Stop condition. The internal logic are also work at this higher speed clock.
My question is: can I code an I2C interface logic which only use SCL and SDA? If there is no higher speed clock, could I2C controller work well?
Many thanks if any sample code is available!
Thanks a lot!
 

Designing an I2C interface without internal (fast) clock targets to a fully asynchronous design. It's surely possible most simple I2C interface chips, e.g. PCF8574 are designed this way. Besides asnychronous logic they also rely on glitch filters to meet the I2C specification. I doubt that you find sample designs, but why not design it from the scratch?
 

Thank you very much! But I have no concept of "asyncronious circuit design". Maybe I should read some books about this field~~~
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top