MCP3422/3/4
TABLE 5-3:
ADDRESS BITS VS. ADDRESS
SELECTION PINS FOR
(MCP3423 AND MCP3424
ONLY) (NOTES 1, 2, 3)
I2C Device
Address Bits
Logic Status of Address
Selection Pins
A2 A1 A0
Adr0 Pin
Adr1 Pin
0 0 0 0 (Addr_Low) 0 (Addr_Low)
0 0 1 0 (Addr_Low) Float
0 1 0 0 (Addr_Low) 1 (Addr_High)
1 0 0 1 (Addr_High) 0 (Addr_Low)
1 0 1 1 (Addr_High) Float
1 1 0 1 (Addr_High) 1 (Addr_High)
0 1 1 Float
0 (Addr_Low)
1 1 1 Float
1 (Addr_High)
0 0 0 Float
Float
Note 1: Float: (a) Leave pin without connecting to
anything (left floating), or (b) apply
Addr_Float voltage.
2: The user can tie the pins to VSS or VDD:
- Tie to VSS for Addr_Low
- Tie to VDD for Addr_High
3: See Addr_Low, Addr_High, and
Addr_Float parameters in Electrical
Characteristics Table.
5.3.3
WRITING A CONFIGURATION BYTE
TO THE DEVICE
When the Master sends an address byte with the R/W
bit low (R/W = 0), the device expects one configuration
byte following the address. Any byte sent after this
second byte will be ignored. The user can change the
operating mode of the device by writing the
configuration register bits.
If the device receives a write command with a new
configuration setting, the device immediately begins a
new conversion and updates the conversion data.
1
91
9
SCL
SDA
1 1 0 1 A2 A1 A0
C1 C0
S1 S0 G1 G0
Start Bit by
Master
R/W ACK by
MCP3422/3/4
1st Byte:
Address Byte
with Write command
O/C
ACK by
Stop Bit by
MCP3422/3/4 Master
RDY
(a) One-Shot Mode: 1
(b) Continuous Mode: not effected
2nd Byte:
Configuration Byte
Note:
– Stop bit can be issued any time during writing.
– MCP3422/3/4 device code is 1101 (programmed at the factory).
– See Figure 5-1 for details in Address Byte.
FIGURE 5-3:
Timing Diagram For Writing To The MCP3422/3/4.
© 2009 Microchip Technology Inc.
DS22088C-page 21