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!
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!