參數(shù)資料
型號: MCP3202-BIST
廠商: Microchip Technology Inc.
英文描述: 2.7V Dual Channel 12-Bit A/D Converter with SPI Serial Interface
中文描述: 2.7V雙通道12位A / D轉(zhuǎn)換器具有SPI串行接口
文件頁數(shù): 15/20頁
文件大?。?/td> 386K
代理商: MCP3202-BIST
1999 Microchip Technology Inc.
Preliminary
DS21034A-page 15
MCP3202
6.0
APPLICATIONS INFORMATION
6.1
Using the MCP3202 with
Microcontroller (MCU) SPI Ports
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 and Figure 6-2 show how the MCP3202 can
be interfaced to a MCU with a hardware SPI port.
Figure 6-1 depicts the operation shown in SPI Mode 0,0,
which requires that the SCLK from the MCU idles in the
‘low’ state, while Figure 6-2 shows the similar case of
SPI Mode 1,1 where the clock idles in the ‘high’ state.
As shown in Figure 6-1, the first byte transmitted to the
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 Con-
verter 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.
FIGURE 6-1:
SPI Communication using 8-bit segments (Mode 0,0: SCLK idles low).
FIGURE 6-2:
SPI Communication using 8-bit segments (Mode 1,1: SCLK idles high).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CS
SCLK
D
IN
X = Don’t Care Bits
17
18
19
20
21
22
23
24
D
OUT
BIT
B11
B10
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
HI-Z
MCU latches data from A/D Converter
Data is clocked out of
M
Don’t Care
O
S
Start
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
B7
B6
B5
B4
B3
B2
B1
B0
B11
B10
B9
B8
0
X
X
X
X
X
X
X
X
X
X
X
1
Start
Bit
(Null)
(Aligned with falling
edge of clock)
(Aligned with rising
edge of clock)
MSBF
SGL/
X
X
SGL/
DIFF
ODD/
SIGN
Data stored into MCU receive register
after transmission of first 8 bits
Data stored into MCU receive register
after transmission of second 8 bits
Data stored into MCU receive register
after transmission of last 8 bits
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CS
SCLK
D
IN
X = Don’t Care Bits
17
18
19
20
21
22
23
24
D
OUT
Don’t Care
BIT
B11
B10
B9
B8
B6
B5
B4
B3
B2
B1
B0
HI-Z
0
0
0
0
0
0
X
X
X
X
X
X
X
X
X
X
X
X
X
B7
B6
B5
B4
B3
B2
B1
B0
B11
B10
B9
B8
X
X
X
X
X
X
X
X
X
X
X
MCU latches data from A/D Converter
Data is clocked out of
Bit
(0
Start
M(Aligned with falling
edge of clock)
(Aligned with rising
edge of clock)
B7
1
S
D
M
O
S
0
SGL/
DIFF
ODD/
Data stored into MCU receive register
after transmission of first 8 bits
Data stored into MCU receive register
after transmission of second 8 bits
Data stored into MCU receive register
after transmission of last 8 bits
相關(guān)PDF資料
PDF描述
MCP3202-CIP 2.7V Dual Channel 12-Bit A/D Converter with SPI Serial Interface
MCP3202-CISN 2.7V Dual Channel 12-Bit A/D Converter with SPI Serial Interface
MCP3202 2.7V Dual Channel 12-Bit A/D Converter With SPI Serial Interface(2.7V雙通道12位A/D轉(zhuǎn)換器,帶SPI串行接口)
mcp3204(中文) 2.7V 4-Channel/8-Channel 12-Bit A/D Converters With SPI Serial Interface(SPI串行接口的4通道12位A/D轉(zhuǎn)換器)
mcp3208(中文) 2.7V 4-Channel/8-Channel 12-Bit A/D Converters With SPI Serial Interface(SPI串行接口的8通道12位A/D轉(zhuǎn)換器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MCP3202-CI/MS 功能描述:模數(shù)轉(zhuǎn)換器 - ADC 12-bit SPI Dual Chl RoHS:否 制造商:Texas Instruments 通道數(shù)量:2 結(jié)構(gòu):Sigma-Delta 轉(zhuǎn)換速率:125 SPs to 8 KSPs 分辨率:24 bit 輸入類型:Differential 信噪比:107 dB 接口類型:SPI 工作電源電壓:1.7 V to 3.6 V, 2.7 V to 5.25 V 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:VQFN-32
MCP3202-CI/P 功能描述:模數(shù)轉(zhuǎn)換器 - ADC 12-bit SPI Dual Chl RoHS:否 制造商:Texas Instruments 通道數(shù)量:2 結(jié)構(gòu):Sigma-Delta 轉(zhuǎn)換速率:125 SPs to 8 KSPs 分辨率:24 bit 輸入類型:Differential 信噪比:107 dB 接口類型:SPI 工作電源電壓:1.7 V to 3.6 V, 2.7 V to 5.25 V 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:VQFN-32
MCP3202-CI/P 制造商:Microchip Technology Inc 功能描述:IC 12BIT ADC 3202 DIP8
MCP3202-CI/SN 功能描述:模數(shù)轉(zhuǎn)換器 - ADC 12-bit SPI Dual Chl RoHS:否 制造商:Texas Instruments 通道數(shù)量:2 結(jié)構(gòu):Sigma-Delta 轉(zhuǎn)換速率:125 SPs to 8 KSPs 分辨率:24 bit 輸入類型:Differential 信噪比:107 dB 接口類型:SPI 工作電源電壓:1.7 V to 3.6 V, 2.7 V to 5.25 V 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:VQFN-32
MCP3202-CI/SN 制造商:Microchip Technology Inc 功能描述:IC 12BIT ADC SMD 3202 SOIC8