| Electronic Components Datasheet Search |
|
PCA9506DGG Datasheet(PDF) 17 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCA9506DGG Datasheet(HTML) 17 Page - NXP Semiconductors |
|
17 / 30 page ![]() xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx The programming becomes effective at the acknowledge. Less than 5 bytes can be programmed by using this scheme. D5, D4, D3, D2, D1, D0 refers to the first register to be programmed. If more than 5 bytes are written, previous data are overwritten (the sixth Configuration register will roll over to the first addressed Configuration register, the sixth Polarity Inversion register will roll over to the first addressed Polarity Inversion register and the sixth Mask Interrupt register will roll over to the first addressed Mask Interrupt register). Fig 13. Write to the I/O Configuration, Polarity Inversion or Mask Interrupt registers 002aab498 0 1 0 0 A2 A1 A0 0 slave address R/W S START condition SDA A acknowledge from slave 1 0 D5 D4 D3 D2 D1 D0 command register AI = 1 A acknowledge from slave DATA BANK 0 A DATA BANK 1 A DATA BANK 2 A DATA BANK 3 P STOP condition A acknowledge from slave DATA BANK 4 A acknowledge from slave acknowledge from slave D[5:0] = 01 0000 for Polarity Inversion register programming bank 0 D[5:0] = 01 1000 for Configuration register programming bank 0 acknowledge from slave acknowledge from slave D[5:0] = 10 0000 for Mask Interrupt register programming bank 0 If AI = 0, the same register is read during the whole sequence. If AI = 1, the register value is incremented after each read. When the last register bank is read, it rolls over to the first byte of the category (see category definition in Section 7.2 “Command register”). The INT signal is released only when the last register containing an input that changed has been read. For example, when IO2_4 and IO4_7 change at the same time and an Input Port register’s read sequence is initiated, starting with IP0, INT is released after IP4 is read (and not after IP2 is read). Fig 14. Read from Input Port, Output Port, I/O Configuration, Polarity Inversion or Mask Interrupt registers 002aab499 0 1 0 0 0 slave address R/W S START condition SDA A acknowledge from slave 1 0 D5 D4 D3 D2 D1 D0 command register AI = 1 A acknowledge from slave A P STOP condition A acknowledge from master D[5:0] = 00 1000 for Output Port register bank 0 D[5:0] = 01 0000 for Polarity Inversion register bank 0 Sr repeated START condition 0 1 0 0 1 slave address R/W A acknowledge from slave D[5:0] = 01 1000 for Configuration register bank 0 (cont.) At this moment master-transmitter becomes master-receiver, and slave-receiver becomes slave-transmitter. DATA data from register first byte register determined by D[5:0] A acknowledge from master DATA data from register second byte DATA data from register last byte no acknowledge from master D[5:0] = 00 0000 for Input Port register bank 0 D[5:0] = 10 0000 for Mask Interrupt register bank 0 A2 A1 A0 A2 A1 A0 |
|
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 |