MaxTech NXP-16 Instrukcja Użytkownika Strona 5

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 29
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 4
PCA9532_4 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 04 — 17 March 2009 5 of 29
NXP Semiconductors
PCA9532
16-bit I
2
C-bus LED dimmer
6. Functional description
Refer to Figure 1 “Block diagram of PCA9532”.
6.1 Device address
Following a START condition, the bus master must output the address of the slave it is
accessing. The address of the PCA9532 is shown in Figure 5. To conserve power, no
internal pull-up resistors are incorporated on the hardware selectable address pins and
they must be pulled HIGH or LOW.
The last bit of the address byte defines the operation to be performed. When set to logic 1
a read is selected, while a logic 0 selects a write operation.
6.2 Control register
Following the successful acknowledgement of the slave address, the bus master will send
a byte to the PCA9532, which will be stored in the Control register.
The lowest 4 bits are used as a pointer to determine which register will be accessed.
If the Auto-Increment (AI) flag is set, the four low order bits of the Control register are
automatically incremented after a read or write. This allows the user to program the
registers sequentially. The contents of these bits will rollover to ‘0000’ after the last
register is accessed.
When Auto-Increment flag is set (AI = 1) and a read sequence is initiated, the sequence
must start by reading a register different from the INPUT0 register
(B3 B2 B1 B0 0000).
Only the 4 least significant bits are affected by the AI flag. Unused bits must be
programmed with zeroes.
Fig 5. PCA9532 slave address
002aac505
1 1 0 0 A2 A1 A0 R/W
fixed
slave address
hardware
selectable
Reset state: 00h
Fig 6. Control register
002aae523
0 0 0 AI B3 B2 B1 B0
register address
Auto-Increment flag
Przeglądanie stron 4
1 2 3 4 5 6 7 8 9 10 ... 28 29

Komentarze do niniejszej Instrukcji

Vikivtx 04 Jan 2024 | 11:57:49

urenrjrjkvnm

Serzicp 11 Jan 2024 | 20:01:40

coin