MCP3202-BI/P Microchip Technology, MCP3202-BI/P Datasheet - Page 19

no-image

MCP3202-BI/P

Manufacturer Part Number
MCP3202-BI/P
Description
IC ADC 12BIT 2.7V 2CH SPI 8-DIP
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP3202-BI/P

Package / Case
8-DIP (0.300", 7.62mm)
Number Of Bits
12
Sampling Rate (per Second)
100k
Data Interface
Serial, SPI™
Number Of Converters
1
Voltage Supply Source
Single Supply
Operating Temperature
-40°C ~ 85°C
Mounting Type
Through Hole
Architecture
SAR
Conversion Rate
100 KSPs
Resolution
12 bit
Input Type
Voltage
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP3202-BI/P
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
MCP3202-BI/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
6.0
6.1
With most microcontroller SPI ports, it is required to
send groups of eight bits. It is also required that the
microcontroller SPI port be configured to clock out data
on the falling edge of clock and latch data in on
the rising edge. Depending on how communication
routines are used, it is very possible that the number of
clocks required for communication will not be a multiple
of eight. Therefore, it may be necessary for the MCU to
send more clocks than are actually required. This is
usually done by sending ‘leading zeros’ before the start
bit, which are ignored by the device. As an example,
Figure 6-1
be interfaced to a MCU with a hardware SPI port.
Figure 6-1
FIGURE 6-1:
FIGURE 6-2:
© 2008 Microchip Technology Inc.
MCU Transmitted Data
X = Don’t Care Bits
X = Don’t Care Bits
(Aligned with falling
SCLK
edge of clock)
MCU Received Data
SCLK
D
D
(Aligned with rising
MCU Received Data
MCU Transmitted Data
OUT
(Aligned with rising
OUT
edge of clock)
D
D
CS
CS
(Aligned with falling
edge of clock)
IN
IN
edge of clock)
APPLICATIONS INFORMATION
Using the MCP3202 with
Microcontroller (MCU) SPI Ports
and
depicts the operation shown in SPI Mode
MCU latches data from A/D Converter
on rising edges of SCLK
MCU latches data from A/D Converter
on rising edges of SCLK
Figure 6-2
0
1
1
X
X
Data stored into MCU receive
register after transmission of
first 8 bits
Data stored into MCU receive
register after transmission of
first 8 bits
X
0
2
2
SPI Communication using 8-bit segments (Mode 0,0: SCLK idles low).
SPI Communication using 8-bit segments (Mode 1,1: SCLK idles high).
X
X
X
0
3
3
show how the MCP3202 can
X
X
X
0
HI-Z
4
4
HI-Z
X
X
X
0
5
5
X
X
X
0
6
6
X
X
X
0
Data is clocked out of
A/D Converter on falling edges
Data is clocked out of
A/D Converter on falling edges
7
7
X
X
Start
Start
X
Bit
1
8
Start
X
Start
X
Bit
8
1
SGL/
DIFF
SGL/
DIFF
9
9
X
X
SGL/
DIFF
Data stored into MCU receive
register after transmission of
second 8 bits
ODD/
SIGN
Data stored into MCU receive
register after transmission of
second 8 bits
10
10
X
X
ODD/
SIGN
MSBF
11
11
X
X
MSBF
NULL
NULL
BIT
BIT
X
12
(Null)
12
(Null)
0
0
0,0, which requires that the SCLK from the MCU idles
in the ‘low’ state, while
case of SPI Mode 1,1 where the clock idles in the ‘high’
state.
As shown in
A/D Converter contains seven leading zeros before the
start bit. Arranging the leading zeros this way produces
the output 12 bits to fall in positions easily manipulated
by the MCU. The MSB is clocked out of the A/D
Converter on the falling edge of clock number 12. After
the second eight clocks have been sent to the device,
the MCU receive buffer will contain three unknown bits
(the output is at high-impedance until the null bit is
clocked out), the null bit and the highest order four bits
of the conversion. After the third byte has been sent to
the device, the receive register will contain the lowest
order eight bits of the conversion results. Easier
manipulation of the converted data can be obtained by
using this method.
B11
X
B11
X
13
13
B11
B11
B10
X
B10
X
14
14
B10
B10
X
B9
B9
X
15
15
B9
B9
X
B8
X
16
Figure
B8
B8
B8
16
X
B7
X
B7
Don’t Care
6-1, the first byte transmitted to the
17
17
Don’t Care
B7
B7
Data stored into MCU receive
register after transmission of
last 8 bits
Data stored into MCU receive
register after transmission of
last 8 bits
X
X
B6
B6
18
18
B6
B6
Figure 6-2
X
X
B5
B5
19
19
B5
B5
X
X
MCP3202
B4
B4
20
20
B4
B4
X
X
B3
B3
21
21
B3
B3
shows the similar
DS21034E-page 19
X
X
B2
B2
22
22
B2
B2
X
X
B1
B1
23
23
B1
B1
X
X
B0
B0
24
24
B0
B0
X

Related parts for MCP3202-BI/P