| Datenblatt-Suchmaschine für elektronische Bauteile |
|
HMP8115 Datenblatt(PDF) 21 Page - Intersil Corporation |
|
|
|||||||||||||||||||||||||||||
HMP8115 Datenblatt(HTML) 21 Page - Intersil Corporation |
|
21 / 43 page ![]() 21 Host Interface All internal registers may be written to or read by the host processor at any time, except for those bits identified as read-only. The bit descriptions of the control registers are listed in Tables 9-48. The HMP8115 supports the fast-mode (up to 400 kbps) I2C interface consisting of the SDA and SCL pins. The device acts as a slave for receiving and transmitting data over the serial interface. When the interface is not active, SCL and SDA must be pulled high using external 4k Ω pull-up resis- tors. The slave address for the HMP8115 is 88H. Data is placed on the SDA line when the SCL line is low and held stable when the SCL line is pulled high. Changing the state of the SDA line while SCL is high will be interpreted as either an I2C bus START or STOP condition as indicated by Figure 20. During I2C write cycles, the first data byte after the slave address is treated as the control register sub address and is written into the internal address register. Any remaining data bytes sent during an I2C write cycle are written to the control registers, beginning with the register specified by the address register as given in the first byte. The address regis- ter is then autoincremented after each additional data byte sent on the I2C bus during a write cycle. Writes to reserved bits within registers or reserved registers are ignored. In order to perform a read from a specific control register within the HMP8115, an I2C bus write must first be per- formed to properly setup the address register. Then an I2C bus read can be performed to read from the desired control register(s). As a result of needing the write cycle for a read cycle there are actually two START conditions as shown in Figure 21. The address register is then autoincremented after each byte read during the I2C read cycle. Reserved registers return a value of 00H. FIGURE 19. I2C TIMING DIAGRAM SDA SCL tBUF tLOW tHIGH tR tF tSU:DATA tHD:DATA tSU:STOP SDA SCL START CONDITION S 1-7 ADDRESS 8 R/W 9 ACK 1-7 DATA 89 ACK STOP CONDITION P FIGURE 20. I2C SERIAL DATA FLOW S = START CYCLE P = STOP CYCLE A = ACKNOWLEDGE FROM MASTER FROM HMP8115 0x88 DATA WRITE DATA DATA 0x88 DATA READ NA = NO ACKNOWLEDGE 0x89 1000 1000 (R/W) 1000 1000 FIGURE 21. REGISTER WRITE/READ FLOW S CHIP ADDR A SUB ADDR DATA DATA P NA CHIP ADDR S SUB ADDR CHIP ADDR S P A A A A A A REGISTER POINTED TO BY SUB ADDR OPTIONAL FRAME MAY BE REPEATED n TIMES A REGISTER POINTED TO BY SUB ADDR OPTIONAL FRAME MAY BE REPEATED n TIMES HMP8115 |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |