| Electronic Components Datasheet Search |
|
CP2120 Datasheet(PDF) 13 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
CP2120 Datasheet(HTML) 13 Page - Silicon Laboratories |
|
13 / 24 page ![]() CP2120 Rev. 0.4 13 6. I2C Serial Interface The CP2120 provides an I2C interface able to transfer data at frequencies up to 400 kHz. During a transaction, the CP2120, operating as the I2C master, sources a data clock on the SCL pin as data travels across the bidirectional SDA pin to and from an I2C slave device. The I2C interface lines each require a pull-up resistor. Figure 5 shows a typical I2C bus. Figure 5. Typical I2C Bus* *Note: VDD is defined in Table 1, “Absolute Maximum Ratings,” on page 4. For Rpu values, please see “6.1. Determining Pull-Up Register Values” . 6.1. Determining Pull-Up Register Values Logic low to logic high transitions on the SCL and SDA pins, which are configured to open-drain output with external pull-ups to VDD, take the form of an exponential curve with an RC time constant, where C equals the capacitance of the bus and R equals the pull-up resistor value. I2C specification defines rise time as the time required for a signal level to change from Vmin +0.15 V to Vmax-0.15 V. By solving the exponential equation using a Vmin of 0 V and a Vmax of 3.3 V, the following equation can be used to find values for pull-up resistors: Rise time = 3.04448 RC Bus capacitance is governed by a number of factors, including signal trace length and capacitance introduced by devices on the bus. 8 mm PCB signal traces on a two-layer board generally add 1 pF of capacitance per centimeter of trace length. To determine the amount of capacitance introduced to the bus by I2C devices, consult those devices’ datasheets. The maximum capacitance allowed before the bus violates I2C specification is 400 pF. Rise time requirements vary depending on each connected I2C device’s timing requirements and the SCL clock frequency. The maximum rise time allowed by the I2C specification is 1000 ns. 6.2. I2C Internal Registers Features of the I2C interface are configured through the CP2120's Internal Registers. SCL clock frequency is set by writing to the I2CCLK Internal Register. The frequency can be determined using the equation below. The I2C frequency configured by the I2CCLOCK register is only an approximate frequency. Actual I2C frequencies can vary due to conditions on the bus, such as a slave device extending the SCL low time. Equation 1. I2C Clock Frequency I²C-BUS Device CP2120 I²C-BUS DEVICE VDD RpU RpU I²C-bus SDA SCL I 2 C Clock Frequency (kHz) 2000 I 2 CCLK --------------------- = |
|
|
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 |