поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

MCP3301 датащи(PDF) 22 Page - Microchip Technology

номер детали MCP3301
подробное описание детали  13-Bit Differential Input, Low Power A/D Converter with SPI Serial Interface
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MICROCHIP [Microchip Technology]
домашняя страница  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP3301 датащи(HTML) 22 Page - Microchip Technology

Back Button MCP3301 Datasheet HTML 18Page - Microchip Technology MCP3301 Datasheet HTML 19Page - Microchip Technology MCP3301 Datasheet HTML 20Page - Microchip Technology MCP3301 Datasheet HTML 21Page - Microchip Technology MCP3301 Datasheet HTML 22Page - Microchip Technology MCP3301 Datasheet HTML 23Page - Microchip Technology MCP3301 Datasheet HTML 24Page - Microchip Technology MCP3301 Datasheet HTML 25Page - Microchip Technology MCP3301 Datasheet HTML 26Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 32 page
background image
MCP3301
DS21700B-page 22
 2002 Microchip Technology Inc.
7.3
Using the MCP3301 with
Microcontroller (MCU) SPI Ports
With most microcontroller SPI ports, it is required to
clock out eight bits at a time. Using a hardware SPI port
with the MCP3301 is very easy because each conver-
sion requires 16 clocks. For example, Figure 7-4 and
Figure 7-5 show how the MCP3301 can be interfaced
to a microcontroller with a standard SPI port. Since the
MCP3301 always clocks data out on the falling edge of
clock, the MCU SPI port must be configured to match
this operation. SPI Mode 0,0 (clock idles low) and SPI
Mode 1,1 (clock idles high) are both compatible with
the MCP3301. Figure 7-4 depicts the operation shown
in SPI Mode 0,0, which requires that the CLK from the
microcontroller idles in the ‘low’ state. As shown in the
diagram, the sign bit is clocked out of the ADC on the
falling edge of the third clock pulse, followed by the
remaining 12 data bits (MSB first). Once the first eight
clocks have been sent to the device, the microcontrol-
ler’s receive buffer will contain two unknown bits (for
the first two clocks, the output is high impedance), fol-
lowed by the null bit, the sign bit and the highest order
four bits of the conversion. After the second eight
clocks have been sent to the device, the MCU receive
register will contain the lowest order 8 data bits. Notice
that, on the falling edge of clock 16, the ADC has begun
to shift out LSB first data.
Figure 7-5 shows the same scenario in SPI Mode 1,1,
which requires that the clock idles in the high state. As
with mode 0,0, the ADC outputs data on the falling
edge of the clock and the MCU latches data from the
ADC in on the rising edge of the clock.
FIGURE 7-4:
SPI Communication with the MCP3301 using 8-bit segments
(Mode 0,0: SCLK idles low).
FIGURE 7-5:
SPI Communication with the MCP3301 using 8-bit segments
(Mode 1,1: SCLK idles high).
LSB first data begins
to come out
CS
CLK
910
11
12
13
14
15
16
D
OUT
NULL
BIT SB B11 B10 B9
B8
B7
B6
B5
B4
B3
B2
B1
HI-Z
B8
B7
B6
B5
B4
B3
B2
B1
SB
B11 B10 B9
??0
MCU latches data from ADC
Data is clocked out of
ADC on falling edges
on rising edges of SCLK
12
34
5
6
78
HI-Z
B0
B0
B1
Data stored into MCU receive register
after transmission of first 8 bits
Data stored into MCU receive register
after transmission of second 8 bits
X = Don’t Care Bits
? = Unknown Bits
CS
CLK
910
11
12
13
14
16
D
OUT
NULL
BIT SB
B11 B10 B9
B8
B7
B6
B5
B4
B3
B2
B1
HI-Z
B8
B7
B6
B5
B4
B3
B2
B1
SB
B11 B10 B9
??0
MCU latches data from ADC
Data is clocked out of
ADC on falling edges
on rising edges of SCLK
123
4
5
6
7
8
B0
B0
LSB first data begins
to come out
HI-Z
Data stored into MCU receive register
after transmission of first 8 bits
Data stored into MCU receive register
after transmission of second 8 bits
15
X = Don’t Care Bits
? = Unknown Bits



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com