PCF8591 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 7 — 27 June 2013 4 of 31
NXP Semiconductors
PCF8591
8-bit A/D and D/A converter
7.2 Pin description
Table 4. Pin description
Symbol Pin Description
AIN0 1 analog inputs (A/D converter)
AIN1 2
AIN2 3
AIN3 4
A0 5 hardware slave address
A1 6
A2 7
V
SS
8 ground supply voltage
SDA 9 I
2
C-bus serial data input and output
SCL 10 I
2
C-bus serial clock input
OSC 11 oscillator input/output
EXT 12 external/internal switch for oscillator input
AGND 13 analog ground supply
V
REF
14 voltage reference input
AOUT 15 analog output (D/A converter)
V
DD
16 supply voltage
PCF8591 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 7 — 27 June 2013 5 of 31
NXP Semiconductors
PCF8591
8-bit A/D and D/A converter
8. Functional description
8.1 Addressing
Each PCF8591 device in an I
2
C-bus system is activated by sending a valid address to the
device. The address consists of a fixed part and a programmable part. The programmable
part must be set according to the address pins A0, A1 and A2. The address is always sent
as the first byte after the start condition in the I
2
C-bus protocol. The last bit of the address
byte is the read/write-bit which sets the direction of the following data transfer (see Table 5
on page 13, Figure 15 on page 13 and Figure 16 on page 13).
8.2 Control byte
The second byte sent to a PCF8591 device is stored in its control register and is required
to control the device function. The upper nibble of the control register is used for enabling
the analog output, and for programming the analog inputs as single-ended or differential
inputs. The lower nibble selects one of the analog input channels defined by the upper
nibble (see Figure 4
). If the auto-increment flag is set, the channel number is incremented
automatically after each A/D conversion.
If the auto-increment mode is desired in applications where the internal oscillator is used,
the analog output enable flag must be set in the control byte (bit 6). This allows the
internal oscillator to run continuously, by this means preventing conversion errors
resulting from oscillator start-up delay. The analog output enable flag can be reset at other
times to reduce quiescent power consumption.
The selection of a non-existing input channel results in the highest available channel
number being allocated. Therefore, if the auto-increment flag is set, the next selected
channel is always channel 0. The most significant bits of both nibbles are reserved for
possible future functions and must be set to logic 0. After a Power-On Reset (POR)
condition, all bits of the control register are reset to logic 0. The D/A converter and the
oscillator are disabled for power saving. The analog output is switched to a
high-impedance state.
PCF8591 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 7 — 27 June 2013 6 of 31
NXP Semiconductors
PCF8591
8-bit A/D and D/A converter
8.3 D/A conversion
The third byte sent to a PCF8591 device is stored in the DAC data register and is
converted to the corresponding analog voltage using the on-chip D/A converter. This D/A
converter consists of a resistor divider chain connected to the external reference voltage
with 256 taps and selection switches. The tap-decoder switches one of these taps to the
DAC output line (see Figure 5
).
The analog output voltage is buffered by an auto-zeroed unity gain amplifier. Setting the
analog output enable flag of the control register switches this buffer amp on or off. In the
active state, the output voltage is held until a further data byte is sent.
The on-chip D/A converter is also used for successive approximation A/D conversion. In
order to release the DAC for an A/D conversion cycle the unity gain amplifier is equipped
with a track and hold circuit. This circuit holds the output voltage while executing the A/D
conversion.
Fig 4. Control byte
DDD
06% /6%
&21752/%<7(
$872,1&5(0(17)/$*
DFWLYHLI
$1$/2*287387(1$%/()/$*
DQDORJRXWSXWDFWLYHLI
$1$/2*,1387352*5$00,1*
IRXUVLQJOHHQGHGLQSXWV
$,1FKDQQHO
$,1FKDQQHO
$,1FKDQQHO
$,1FKDQQHO
WKUHHGLIIHUHQWLDOLQSXWV
$,1
$,1
$,1
FKDQQHO
VLQJOHHQGHGDQGGLIIHUHQWLDOPL[HG
$,1FKDQQHO
$,1FKDQQHO
WZRGLIIHUHQWLDOLQSXWV
FKDQQHO
FKDQQHO
$,1
$'&+$11(/180%(5
FKDQQHO
FKDQQHO
FKDQQHO
FKDQQHO
; ; ; ; ; ;
$,1
FKDQQHO
$,1
$,1
FKDQQHO
$,1
$,1
FKDQQHO
$,1

PCF8591T/2,518

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Data Acquisition ADCs/DACs - Specialized 8 BIT ADC/DAC I2C
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet