首页 > 器件类别 > 嵌入式处理器和控制器 > 微控制器和处理器

PIC16F648AT-E/ML

8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO20
8位, FLASH, 20 MHz, 精简指令集微控制器, PDSO20

器件类别:嵌入式处理器和控制器    微控制器和处理器   

厂商名称:Microchip(微芯科技)

厂商官网:https://www.microchip.com

器件标准:

下载文档
器件参数
参数名称
属性值
是否无铅
不含铅
是否Rohs认证
符合
厂商名称
Microchip(微芯科技)
零件包装代码
QFN
包装说明
6 X 6 MM, 0.55 MM HEIGHT, PLASTIC, QFN-28
针数
28
Reach Compliance Code
compli
ECCN代码
EAR99
Factory Lead Time
18 weeks
具有ADC
NO
其他特性
ALSO OPERATES AT 3 V AT 10 MHZ
地址总线宽度
位大小
8
CPU系列
PIC
最大时钟频率
20 MHz
DAC 通道
NO
DMA 通道
NO
外部数据总线宽度
JESD-30 代码
S-PQCC-N28
JESD-609代码
e3
长度
6 mm
湿度敏感等级
1
I/O 线路数量
16
端子数量
28
片上程序ROM宽度
14
最高工作温度
125 °C
最低工作温度
-40 °C
PWM 通道
YES
封装主体材料
PLASTIC/EPOXY
封装代码
HVQCCN
封装等效代码
LCC28,.24SQ,25
封装形状
SQUARE
封装形式
CHIP CARRIER, HEAT SINK/SLUG, VERY THIN PROFILE
峰值回流温度(摄氏度)
260
电源
3.3/5 V
认证状态
Not Qualified
RAM(字节)
256
ROM(单词)
4096
ROM可编程性
FLASH
座面最大高度
1 mm
速度
20 MHz
最大供电电压
5.5 V
最小供电电压
4.5 V
标称供电电压
5 V
表面贴装
YES
技术
CMOS
温度等级
AUTOMOTIVE
端子面层
Matte Tin (Sn)
端子形式
NO LEAD
端子节距
0.65 mm
端子位置
QUAD
处于峰值回流温度下的最长时间
40
宽度
6 mm
uPs/uCs/外围集成电路类型
MICROCONTROLLER, RISC
文档预览
PIC16F627A/628A/648A
Data Sheet
Flash-Based, 8-Bit CMOS
Microcontrollers with nanoWatt Technology
©
2007 Microchip Technology Inc.
DS40044F
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EE
L
OQ
, K
EE
L
OQ
logo, microID, MPLAB, PIC,
PICmicro, PICSTART, PRO MATE, PowerSmart, rfPIC, and
SmartShunt are registered trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries.
AmpLab, FilterLab, Linear Active Thermistor, Migratable
Memory, MXDEV, MXLAB, PS logo, SEEVAL, SmartSensor
and The Embedded Control Solutions Company are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, ECAN,
ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi,
MPASM, MPLAB Certified logo, MPLIB, MPLINK, PICkit,
PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal,
PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB,
rfPICDEM, Select Mode, Smart Serial, SmartTel, Total
Endurance, UNI/O, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2007, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona, Gresham, Oregon and Mountain View, California. The
Company’s quality system processes and procedures are for its PIC
®
MCUs and dsPIC
®
DSCs, K
EE
L
OQ
®
code hopping devices, Serial
EEPROMs, microperipherals, nonvolatile memory and analog
products. In addition, Microchip’s quality system for the design and
manufacture of development systems is ISO 9001:2000 certified.
DS40044F-page ii
©
2007 Microchip Technology Inc.
PIC16F627A/628A/648A
18-pin Flash-Based, 8-Bit CMOS Microcontrollers
with nanoWatt Technology
High-Performance RISC CPU:
Operating speeds from DC – 20 MHz
Interrupt capability
8-level deep hardware stack
Direct, Indirect and Relative Addressing modes
35 single-word instructions:
- All instructions single cycle except branches
Low-Power Features:
• Standby Current:
- 100 nA @ 2.0V, typical
• Operating Current:
- 12
μA
@ 32 kHz, 2.0V, typical
- 120
μA
@ 1 MHz, 2.0V, typical
• Watchdog Timer Current:
- 1
μA
@ 2.0V, typical
• Timer1 Oscillator Current:
- 1.2
μA
@ 32 kHz, 2.0V, typical
• Dual-speed Internal Oscillator:
- Run-time selectable between 4 MHz and
48 kHz
- 4
μs
wake-up from Sleep, 3.0V, typical
Special Microcontroller Features:
• Internal and external oscillator options:
- Precision internal 4 MHz oscillator factory
calibrated to ±1%
- Low-power internal 48 kHz oscillator
- External Oscillator support for crystals and
resonators
• Power-saving Sleep mode
• Programmable weak pull-ups on PORTB
• Multiplexed Master Clear/Input-pin
• Watchdog Timer with independent oscillator for
reliable operation
• Low-voltage programming
• In-Circuit Serial Programming™ (via two pins)
• Programmable code protection
• Brown-out Reset
• Power-on Reset
• Power-up Timer and Oscillator Start-up Timer
• Wide operating voltage range (2.0-5.5V)
• Industrial and extended temperature range
• High-Endurance Flash/EEPROM cell:
- 100,000 write Flash endurance
- 1,000,000 write EEPROM endurance
- 40 year data retention
Peripheral Features:
• 16 I/O pins with individual direction control
• High current sink/source for direct LED drive
• Analog comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference
(V
REF
) module
- Selectable internal or external reference
- Comparator outputs are externally accessible
• Timer0: 8-bit timer/counter with 8-bit
programmable prescaler
• Timer1: 16-bit timer/counter with external crystal/
clock capability
• Timer2: 8-bit timer/counter with 8-bit period
register, prescaler and postscaler
• Capture, Compare, PWM module:
- 16-bit Capture/Compare
- 10-bit PWM
• Addressable Universal Synchronous/Asynchronous
Receiver/Transmitter USART/SCI
Device
Program
Memory
Flash
(words)
1024
2048
4096
Data Memory
SRAM
(bytes)
224
224
256
EEPROM
(bytes)
128
128
256
I/O
CCP
(PWM)
1
1
1
USART Comparators
Timers
8/16-bit
2/1
2/1
2/1
PIC16F627A
PIC16F628A
PIC16F648A
16
16
16
Y
Y
Y
2
2
2
©
2007 Microchip Technology Inc.
DS40044F-page 1
PIC16F627A/628A/648A
Pin Diagrams
PDIP, SOIC
RA2/AN2/V
REF
RA3/AN3/CMP1
RA4/T0CKI/CMP2
RA5/MCLR/V
PP
V
SS
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
1
PIC16F627A/628A/648A
2
3
4
5
6
7
8
9
27A/628A/648A
18
17
16
15
14
13
12
11
10
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
RB5
RB4/PGM
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
V
DD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
RB5
RB4/PGM
SSOP
28-Pin QFN
RA4/T0CKI/CMP2
RA3/AN3/CMP1
RA2/AN2/V
REF
RA5/MCLR/V
PP
PIC16F627A/628A/648A
RA2/AN2/V
REF
RA3/AN3/CMP1
RA4/T0CKI/CMP2
RA5/MCLR/V
PP
V
SS
V
SS
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
8
9
10
NC 11
12
RB4/PGM
13
RB5
NC 14
1
21
NC 2
20
V
SS
3
19
NC 4
PIC16F627A/628A
18 NC
PIC16F648A
V
SS
17
5
NC 6
16
RB0/INT
7
15
28
27
26
25 NC
24
23
22 NC
20
19
18
17
16
15
14
13
12
11
RA1/AN1
RA0/AN0
RA7/OSC1/CLKIN
RA6/OSC2/CLKOUT
V
DD
V
DD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
1
2
3
4
5
6
7
8
9
10
DS40044F-page 2
©
2007 Microchip Technology Inc.
PIC16F627A/628A/648A
Table of Contents
1.0 General Description..................................................................................................................................................................... 5
2.0 PIC16F627A/628A/648A Device Varieties .................................................................................................................................. 7
3.0 Architectural Overview ................................................................................................................................................................ 9
4.0 Memory Organization ................................................................................................................................................................ 15
5.0 I/O Ports .................................................................................................................................................................................... 31
6.0 Timer0 Module .......................................................................................................................................................................... 45
7.0 Timer1 Module .......................................................................................................................................................................... 48
8.0 Timer2 Module .......................................................................................................................................................................... 52
9.0 Capture/Compare/PWM (CCP) Module .................................................................................................................................... 55
10.0 Comparator Module................................................................................................................................................................... 61
11.0 Voltage Reference Module........................................................................................................................................................ 67
12.0 Universal Synchronous Asynchronous Receiver Transmitter (USART) Module....................................................................... 71
13.0 Data EEPROM Memory ............................................................................................................................................................ 89
14.0 Special Features of the CPU..................................................................................................................................................... 95
15.0 Instruction Set Summary ......................................................................................................................................................... 115
16.0 Development Support.............................................................................................................................................................. 129
17.0 Electrical Specifications........................................................................................................................................................... 133
18.0 DC and AC Characteristics Graphs and Tables...................................................................................................................... 149
19.0 Packaging Information............................................................................................................................................................. 161
Appendix A: Revision History............................................................................................................................................................ 167
Appendix B: Device Differences ....................................................................................................................................................... 167
Appendix C: Device Migrations - PIC16C63/65A/73A/74A —> PIC16C63A/65B/73B/74B .............................................................. 168
Appendix D: Migration from Baseline to Mid-Range Devices ........................................................................................................... 168
The Microchip Web Site .................................................................................................................................................................... 169
Customer Change Notification Service ............................................................................................................................................. 169
Customer Support ............................................................................................................................................................................. 169
Reader Response ............................................................................................................................................................................. 170
Product Identification System ........................................................................................................................................................... 175
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Micro-
chip products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined
and enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at
docerrors@microchip.com
or fax the
Reader Response Form
in the back of this data sheet to (480) 792-4150. We
welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
Customer Notification System
Register on our web site at
www.microchip.com
to receive the most current information on all of our products.
©
2007 Microchip Technology Inc.
DS40044F-page 3
查看更多>
热门器件
热门资源推荐
器件捷径:
S0 S1 S2 S3 S4 S5 S6 S7 S8 S9 SA SB SC SD SE SF SG SH SI SJ SK SL SM SN SO SP SQ SR SS ST SU SV SW SX SY SZ T0 T1 T2 T3 T4 T5 T6 T7 T8 T9 TA TB TC TD TE TF TG TH TI TJ TK TL TM TN TO TP TQ TR TS TT TU TV TW TX TY TZ U0 U1 U2 U3 U4 U6 U7 U8 UA UB UC UD UE UF UG UH UI UJ UK UL UM UN UP UQ UR US UT UU UV UW UX UZ V0 V1 V2 V3 V4 V5 V6 V7 V8 V9 VA VB VC VD VE VF VG VH VI VJ VK VL VM VN VO VP VQ VR VS VT VU VV VW VX VY VZ W0 W1 W2 W3 W4 W5 W6 W7 W8 W9 WA WB WC WD WE WF WG WH WI WJ WK WL WM WN WO WP WR WS WT WU WV WW WY X0 X1 X2 X3 X4 X5 X7 X8 X9 XA XB XC XD XE XF XG XH XK XL XM XN XO XP XQ XR XS XT XU XV XW XX XY XZ Y0 Y1 Y2 Y4 Y5 Y6 Y9 YA YB YC YD YE YF YG YH YK YL YM YN YP YQ YR YS YT YX Z0 Z1 Z2 Z3 Z4 Z5 Z6 Z8 ZA ZB ZC ZD ZE ZF ZG ZH ZJ ZL ZM ZN ZP ZR ZS ZT ZU ZV ZW ZX ZY
需要登录后才可以下载。
登录取消