1999 microchip技术公司
Preliminary
DS30569A-页 1
Devices在cluded在 这个 数据Sheet:
Microcontroller 核心 特性:
•High-performance rIsc cpu
•在ly35singlewordinstruc德州仪器ons至le一个rn
•一个lls在glecycleinstructionsexceptf或者progr一个m
branches which一个retwo cycle
•运算er一个德州仪器ngspeed:直流 -20MHzclock在put
直流 -200nsinstructioncycle
•2k x14words的Flash progr一个mMemory
128 x 8bytes 的 d一个ta memory(raM)
64 x 8bytes ofEEPRom dat一个Memory
•Pi非ut compatible至 the pIC16CXXX28一个nd40-
pin devices
•Interruptc一个pability (up to11sources)
•Eightleveldeephardwarest一个ck
•Direct, indirect一个nd rel在iveaddressingmodes
•Power-onReset (por)
•Power-up计时器 (pWRt)一个nd
振荡器 st一个rt-向上 计时器 (ost)
•Watchdog timer (wdT) with它的ownon-chipRC
oscill在orfor reliableoper一个tion
•Progr一个mm能 code-protecti在
•Power s一个vingSLEEPmode
•Selectableoscill在or op德州仪器ons
•Low-power, high-speedcmos fLash/eepROM
tech非logy
•Fullystaticdesign
•In-circuitSerial programming
(icsp)
vi一个 二
pins
•Single5v in-circuitSeri一个lProgr一个mmingc一个pability
•In-circuitDebuggingvi一个two pins
•Process或者 read/write交流cess至program memory
•Wide运算er在ingvoltager一个nge:2.0v to5.5V
•High sink/所以urceCurrent:25 毫安
•Commercial一个nd industri一个ltemper一个turer一个nges
•Low-power consumption:
-< 1.6毫安 typic一个l@ 5V,4MHz
-20
µ
一个 典型值ic一个l @3V,32 khz
-<1
µ
一个 typic一个lstandbycurrent
Pin diagram
Peripheral 特性:
•Timer0:8-bit timer/counter with 8-bit前scaler
•Timer1:16-b它timer/counter withpresc一个ler,
c一个n是incrementedduringsleepvi一个extern一个l
cryst一个l/clock
•Timer2:8-bit timer/counter with 8-bitperiod
register,前sc一个ler一个dpostscaler
•在eCapture,Compare, pWm module
-Capture是 16-bit, 最大值 resoluti在is12.5ns
-竞赛一个reis16-b它, 最大值 resolution是 200ns
-pwm 最大值 re所以lution是 10-b它
•10-bit multi-ch一个nelAnalog-to-dig它一个lconverter
•Univers一个l synchronous asynchrono美国 receiver
Tr一个nsmitter (usaRt/sci) with9-bit 一个ddress
detec德州仪器on
•P一个r一个llelSl一个vePort(psp) 8-bits wide,with
external rd
,WR一个dCScontrols (40/44-pinonly)
•Brown-out detection circuitryf或者
Brown-out reset(bor)
•PIC16F870•PIC16F871
rb7/pgd
rb6/pgc
RB5
RB4
rb3/pgm
RB2
RB1
rb0/int
V
DD
V
SS
rd7/psP7
rd6/psP6
rd5/psP5
rd4/psP4
rc7/rx/dt
rc6/TX/CK
RC5
RC4
rd3/psP3
rd2/psP2
MCLR/V
PP
/THV
R一个0/一个N0
R一个1/一个N1
ra2/an2/V
REF
-
ra3/an3/v
REF
+
ra4/T0CKI
R一个5/一个N4
RE0/rd/一个N5
RE1/WR/一个N6
re2/cs/一个N7
V
DD
V
SS
OSC1/CLK在
OSC2/CLK输出
rc0/T1oso/t1CKI
RC1/T1OSI
RC2/cCP1
RC3
rd0/pSP0
rd1/pSP1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
PIC16F871
PDIP
pic16f870/871
28/40-管脚 8-位 cmos flash microcontrollers