Home > other >  Could you tell me the I2C protocol
Could you tell me the I2C protocol

Time:09-17

Me to write the I2C communication protocol, such as launching protocol are:
SDA=1;//send data signals of starting conditions
_Nop ();
SCL=1;
_Nop ();//starting conditions set up time is greater than 4.7 us, delay
_Nop ();
_Nop ();
_Nop ();
_Nop ();
SDA=0;//send the start signal
_Nop (); Lock time is greater than 4 mu//starting conditions
_Nop ();
_Nop ();
_Nop ();
_Nop ();
SCL=0;//clamped I2C bus, ready to send or receive data
_Nop ();
_Nop ();

I surf the net to find information, however, did not write to delay us 4.7, or starting conditions locking time greater than 4,
The I2C protocol have delay time, please? Where can I find?

CodePudding user response:

I2C protocol has high speed and low speed of the points, so can't unified regulation, specific to check your communications device data book, such as the I2C AT24C02 is on data book,

CodePudding user response:

Thank you, I see

CodePudding user response:

reference 1st floor xuyaqi029 response:
I2C protocol has high speed and low speed of the points, so can't unified regulation, specific to check your communications device data book, such as the I2C AT24C02 is on data book,

Then ask questions:
I see the Table 5, t (SU. The STA) is the time to start creating, t (HD) STA) is to keep time,
But I don't understand the Figure 2, Figure 2 is what Figure? It may not seem like startup sequence diagram of the agreement,
SDA IN and SDA OUT data is read and write data sequence diagram? The timing diagram and start agreement has relationship?
IN addition t (SU. The STA) on SCL interval line side of the picture, drawing IN the SDA on IN, can you tell me the t (SU) STA)
What is said SCL delay time or delay time of SDA?

CodePudding user response:

It related to the device you use, different devices is not exactly the same, you want to see you use the device data sheet, this is at2c02 data book,
  • Related