MCP3204-BIP MICROCHIP [Microchip Technology], MCP3204-BIP Datasheet - Page 14

no-image

MCP3204-BIP

Manufacturer Part Number
MCP3204-BIP
Description
2.7V 4-Channel/8-Channel 12-Bit A/D Converters with SPI Serial Interface
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
MCP3204/3208
5.0
Communication with the MCP3204/3208 devices is
done using a standard SPI-compatible serial interface.
Initiating communication with either device is done by
bringing the CS line low. See Figure 5-1. If the device
was powered up with the CS pin low, it must be brought
high and back low to initiate communication. The first
clock received with CS low and D
a start bit. The SGL/DIFF bit follows the start bit and will
determine if the conversion will be done using single
ended or differential input mode. The next three bits
(D0, D1 and D2) are used to select the input channel
configuration. Table 5-1 and Table 5-2 show the config-
uration bits for the MCP3204 and MCP3208, respec-
tively. The device will begin to sample the analog input
on the fourth rising edge of the clock after the start bit
has been received. The sample period will end on the
falling edge of the fifth clock following the start bit.
After the D0 bit is input, one more clock is required to
complete the sample and hold period (D
care for this clock). On the falling edge of the next clock,
the device will output a low null bit. The next 12 clocks
will output the result of the conversion with MSB first as
shown in Figure 5-1. Data is always output from the
device on the falling edge of the clock. If all 12 data bits
have been transmitted and the device continues to
receive clocks while the CS is held low, the device will
output the conversion result LSB first as shown in
Figure 5-2. If more clocks are provided to the device
while CS is still low (after the LSB first data has been
transmitted), the device will clock out zeros indefinitely.
If necessary, it is possible to bring CS low and clock in
leading zeros on the D
often done when dealing with microcontroller-based
SPI ports that must send 8 bits at a time. Refer to
Section 6.1
MCP3204/3208 devices with hardware SPI ports.
TABLE 5-1:
DS21298B-page 14
*D2 is don’t care for MCP3204
SINGLE/
DIFF
1
1
1
1
0
0
0
0
CONTROL BIT
SELECTIONS
SERIAL COMMUNICATIONS
D2*
X
X
X
X
X
X
X
X
for
Configuration Bits for the MCP3204.
D1
0
0
1
1
0
0
1
1
more
D0
0
1
0
1
0
1
0
1
IN
line before the start bit. This is
single ended
single ended
single ended
single ended
differential
differential
differential
differential
CONFIGURATION
details
INPUT
IN
high will constitute
on
IN
CH0
CH1
CH2
CH3
CH0 = IN+
CH1 = IN-
CH0 = IN-
CH1 = IN+
CH2 = IN+
CH3 = IN-
CH2 = IN-
CH3 = IN+
using
SELECTION
CHANNEL
is a don’t
Preliminary
the
TABLE 5-2:
SINGLE/
DIFF
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
CONTROL BIT
SELECTIONS
D2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Configuration Bits for the MCP3208.
D1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
D0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
single ended
single ended
single ended
single ended
single ended
single ended
single ended
single ended
differential
differential
differential
differential
differential
differential
differential
differential
CONFIGURATION
1999 Microchip Technology Inc.
INPUT
CH0
CH1
CH2
CH3
CH4
CH5
CH6
CH7
CH0 = IN+
CH1 = IN-
CH0 = IN-
CH1 = IN+
CH2 = IN+
CH3 = IN-
CH2 = IN-
CH3 = IN+
CH4 = IN+
CH5 = IN-
CH4 = IN-
CH5 = IN+
CH6 = IN+
CH7 = IN-
CH6 = IN-
CH7 = IN+
SELECTION
CHANNEL

Related parts for MCP3204-BIP