| Electronic Components Datasheet Search |
|
PCAL9722 Datasheet(PDF) 8 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCAL9722 Datasheet(HTML) 8 Page - NXP Semiconductors |
|
8 / 63 page ![]() NXP Semiconductors PCAL9722 Ultra low-voltage translating 22-bit SPI I/O expander with Agile I/O features, interrupt output and reset 6 Functional description Refer to Figure 1. 6.1 Device address Following a Chip Select (CS) asserted condition (from HIGH to LOW), the bus master must send the target slave address followed by a read (R/W = 1) or write (R/W = 0) operation bit. The slave address of the PCAL9722 is shown in Figure 3. Slave address pin ADDR chooses one of two slave addresses. Table 4 shows all two slave addresses by connecting the ADDR pin to VSS, or VDD. Device family high-order address bits Variable portion of address ADDR A6 A5 A4 A3 A2 A1 A0 Address VSS 0 1 0 0 0 0 0 40h VDD 0 1 0 0 0 0 1 42h Table 4. PCAL9722 address map The last bit of the first byte defines the reading from or writing to the PCAL9722. When set to logic 1 a read is selected, while logic 0 selects a write operation. R/W aaa-015940 0 1 0 0 0 0 A0 fixed slave address programmable Figure 3. PCAL9722 address 6.2 Interface definition Bit Byte 7 (MSB) 6 5 4 3 2 1 0 (LSB) SPI-bus slave address L H L L L L ADDR R/W P0.7 P0.6 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0 P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 I/O data bus - - P2.5 P2.4 P2.3 P2.2 P2.1 P2.0 Table 5. Interface definition 6.3 Pointer register and command byte Following the first byte of the slave address, the bus master sends a command byte, which is write only and stored in the pointer register in the PCAL9722. The lowest 7 bits (B[6:0] in Table 6) are used as a pointer to determine which register is accessed and the highest bit is used as Auto-Increment (AI) as shown in Figure 4. At power-up or hardware reset, the pointer register defaults to 00h, with the AI bit set to ‘0’ and the lowest seven bits set to ‘000 0000’. When the Auto-Increment bit is set (AI = 1), the seven low-order bits of the pointer register are automatically incremented after a read or write until the chip select (CS) is de-asserted. This allows the user to program the PCAL9722 All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved. Product data sheet Rev. 1.1 — 1 May 2023 8 / 63 |
|
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 |