| Electronic Components Datasheet Search |
|
HT16C21 Datasheet(PDF) 15 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT16C21 Datasheet(HTML) 15 Page - Holtek Semiconductor Inc |
|
15 / 34 page ![]() Rev. 1.00 15 November 22, 2011 HT16C21 I2C Serial Interface I2C Operation The device supports I2C serial interface. The I2C interface is for bidirectional, two-line communication between different ICs or modules. The two lines are a serial data line, SDA, and a serial clock line, SCL. Both lines are connected to the positive supply via pull-up resistors with a typical value of 4.7KΩ. When the I2C interface is free, both lines are high. Devices connected to the I2C interface must have open-drain or open-collector outputs to implement a wired-or function. Data transfer is initiated only when the I2C interface is not busy. Data Validity The data on the SDA line must be stable during the high period of the serial clock. The high or low state of the data line can only change when the clock signal on the SCL line is Low as shown in the diagram. SDA SCL Data line stable; Data valid Change of data allowed START and STOP Conditions ● A high to low transition on the SDA line while SCL is high defines a START condition. ● A low to high transition on the SDA line while SCL is high defines a STOP condition. ● START and STOP conditions are always generated by the master. The I2C interface is considered to be busy after the START condition. The I2C interface is considered to be free again a certain time after the STOP condition. ● The I2C interface stays busy if a repeated START (Sr) is generated instead of a STOP condition. In some respects, the START(S) and repeated START (Sr) conditions are functionally identical. P S SDA SCL SDA SCL START condition STOP condition Byte Format Every byte put on the SDA line must be 8-bit long. The number of bytes that can be transmitted per transfer is unrestricted. Each byte has to be followed by an acknowledge bit. Data is transferred with the most significant bit, MSB, first. S or Sr P or Sr SDA SCL 1 2 7 8 9 ACK 1 2 3-8 9 ACK P Sr |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |