首页 > 器件类别 > 半导体 > 嵌入式处理器和控制器

PIC18LC452T-I/SP

8-BIT, OTPROM, 40 MHz, RISC MICROCONTROLLER, PQCC44

器件类别:半导体    嵌入式处理器和控制器   

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

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

下载文档
器件参数
参数名称
属性值
外部数据总线宽度
0.0
输入输出总线数量
34
端子数量
44
最小工作温度
-40 Cel
最大工作温度
85 Cel
线速度
40 MHz
加工封装描述
PLASTIC, MO-047, LCC-44
each_compli
Yes
欧盟RoHS规范
Yes
中国RoHS规范
Yes
状态
Active
microprocessor_microcontroller_peripheral_ic_type
MICROCONTROLLER, RISC
ADC通道
YES
地址总线宽度
0.0
位数
8
clock_frequency_max
40 MHz
cpu_family
PIC
DAC通道
NO
DMA通道
NO
jesd_30_code
S-PQCC-J44
jesd_609_code
e3
moisture_sensitivity_level
1
包装材料
PLASTIC/EPOXY
ckage_code
QCCJ
ckage_equivalence_code
LDCC44,.7SQ
包装形状
SQUARE
包装尺寸
CHIP CARRIER
eak_reflow_temperature__cel_
245
wer_supplies
3/5
PWM通道
YES
qualification_status
COMMERCIAL
m__bytes_
1536
ROM编程
OTPROM
m__words_
32768
seated_height_max
4.57 mm
sub_category
Microcontrollers
最大供电电压
50 mA
额定供电电压
5 V
最小供电电压
4.2 V
最大供电电压
5.5 V
表面贴装
YES
工艺
CMOS
温度等级
INDUSTRIAL
端子涂层
MATTE TIN
端子形式
J BEND
端子间距
1.27 mm
端子位置
QUAD
ime_peak_reflow_temperature_max__s_
40
length
16.59 mm
width
16.59 mm
dditional_feature
OPERATES AT 2.5 V MINIMUM SUPPLY AT 6 MHZ
文档预览
PIC18CXX2
High-Performance Microcontrollers with 10-Bit A/D
High Performance RISC CPU:
• C-compiler optimized architecture/instruction set
- Source code compatible with the PIC16CXX
instruction set
• Linear program memory addressing to 2M bytes
• Linear data memory addressing to 4K bytes
Device
PIC18C242
PIC18C252
PIC18C442
PIC18C452
On-Chip Program Memory On-Chip
RAM
EPROM # Single Word
(bytes)
(bytes)
Instructions
16K
32K
16K
32K
8192
16384
8192
16384
512
1536
512
1536
Pin Diagrams
DIP, Windowed CERDIP
MCLR/V
PP
RA0/AN0
RA1/AN1
RA2/AN2/V
REF
-
RA3/AN3/V
REF
+
RA4/T0CKI
RA5/AN4/SS/LVDIN
RE0/RD/AN5
RE1/WR/AN6
RE2/CS/AN7
V
DD
V
SS
OSC1/CLKI
OSC2/CLKO/RA6
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
*
RC2/CCP1
RC3/SCK/SCL
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
RB7
RB6
RB5
RB4
RB3/CCP2
*
RB2/INT2
RB1/INT1
RB0/INT0
V
DD
V
SS
RD7/PSP7
RD6/PSP6
RD5/PSP5
RD4/PSP4
RC7/RX/DT
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
*
*
*
*
Peripheral Features:
Up to 10 MIPs operation:
- DC - 40 MHz osc./clock input
- 4 MHz - 10 MHz osc./clock input with PLL active
• 16-bit wide instructions, 8-bit wide data path
• Priority levels for interrupts
• 8 x 8 Single Cycle Hardware Multiplier
*
RB3 is the alternate pin for the CCP2 pin multiplexing.
NOTE:
Pin compatible with 40-pin PIC16C7X devices
Analog Features:
10-bit Analog-to-Digital Converter
module (A/D)
with:
- Fast sampling rate
- Conversion available during sleep
- DNL = ±1 LSb, INL = ±1 LSb
• Programmable
Low-Voltage Detection
(LVD)
module
- Supports interrupt on low voltage detection
• Programmable Brown-out Reset (BOR)
*
• High current sink/source 25 mA/25 mA
• Three external interrupt pins
Timer0
module: 8-bit/16-bit timer/counter with
8-bit programmable prescaler
Timer1
module: 16-bit timer/counter
Timer2
module: 8-bit timer/counter with 8-bit
period register (time-base for PWM)
Timer3
module: 16-bit timer/counter
• Secondary oscillator clock option - Timer1/Timer3
• Two
Capture/Compare/PWM
(CCP) modules. CCP
pins that can be configured as:
- Capture input: capture is 16-bit,
max. resolution 6.25 ns (T
CY
/16)
- Compare is 16-bit, max. resolution 100 ns (T
CY
)
- PWM output: PWM resolution is 1- to 10-bit.
Max. PWM freq. @:8-bit resolution = 156 kHz
10-bit resolution = 39 kHz
Master Synchronous Serial Port
(MSSP) module.
Two modes of operation:
- 3-wire SPI™ (supports all 4 SPI modes)
- I
2
C™ master and slave mode
Addressable USART
module:
- Supports interrupt on Address bit
Parallel Slave Port
(PSP) module
Special Microcontroller Features:
• Power-on Reset (POR), Power-up Timer (PWRT)
and Oscillator Start-up Timer (OST)
• Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
• Programmable code-protection
• Power saving SLEEP mode
• Selectable oscillator options including:
- 4X Phase Lock Loop (of primary oscillator)
- Secondary Oscillator (32 kHz) clock input
• In-Circuit Serial Programming (ICSP™) via two pins
CMOS Technology:
Low-power, high-speed EPROM technology
Fully static design
Wide operating voltage range (2.5V to 5.5V)
Industrial and Extended temperature ranges
Low-power consumption
DS39026B-page 1
©
7/99 Microchip Technology Inc.
Preliminary
PIC18C4X2
PIC18CXX2
Pin Diagrams
RA3/AN3/V
REF
+
RA2/AN2/V
REF
-
RA1/AN1
RA0/AN0
MCLR/V
PP
NC
RB7
RB6
RB5
RB4
NC
6
5
4
3
2
1
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
PLCC
RA4/T0CKI
RA5/AN4/SS/LVDIN
RE0/RD/AN5
RE1/WR/AN6
RE2/CS/AN7
V
DD
V
SS
OSC1/CLKI
OSC2/CLKO/RA6
RC0/T1OSO/T1CKI
NC
7
8
9
10
11
12
13
14
15
16
17
PIC18C4X2
RB3/CCP2
*
RB2/INT2
RB1/INT1
RB0/INT0
V
DD
V
SS
RD7/PSP7
RD6/PSP6
RD5/PSP5
RD4/PSP4
RC7/RX/DT
TQFP
44
43
42
41
40
39
38
37
36
35
34
RC7/RX/DT
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7
V
SS
V
DD
RB0/INT0
RB1/INT1
RB2/INT2
RB3/CCP2
*
1
2
3
4
5
6
7
8
9
10
11
33
32
31
30
29
28
27
26
25
24
23
NC
RC0/T1OSO/T1CKI
OSC2/CLKO/RA6
OSC1/CLKI
V
SS
V
DD
RE2/AN7/CS
RE1/AN6/WR
RE0/AN5/RD
RA5/AN4/SS/LVDIN
RA4/T0CKI
*
RB3 is the alternate pin for the CCP2 pin multiplexing.
NOTE:
Pin compatible with 44-pin PIC16C7X devices
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
RD1/PSP1
RD0/PSP0
RC3/SCK/SCL
RC2/CCP1
RC1/T1OSI/CCP2
*
NC
28
27
26
25
24
23
22
21
20
19
18
NC
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
RD1/PSP1
RD0/PSP0
RC3/SCK/SCL
RC2/CCP1
RC1/T1OSI/CCP2
*
PIC18C4X2
22
21
20
19
18
17
16
15
14
13
12
RA3/AN3/V
REF
+
RA2/AN2/V
REF
-
RA1/AN1
RA0/AN0
MCLR/V
PP
RB7
RB6
RB5
RB4
NC
NC
DS39026B-page 2
Preliminary
©
7/99 Microchip Technology Inc.
PIC18CXX2
Pin Diagrams (Cont.’d)
DIP, JW
MCLR/V
PP
RA0/AN0
RA1/AN1
RA2/AN2/V
REF
-
RA3/AN3/V
REF
+
RA4/T0CKI
RA5/AN4/SS/LVDIN
RE0/RD/AN5
RE1/WR/AN6
RE2/CS/AN7
V
DD
V
SS
OSC1/CLKI
OSC2/CLKO/RA6
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
*
RC2/CCP1
RC3/SCK/SCL
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
RB7
RB6
RB5
RB4
RB3/CCP2
*
RB2/INT2
RB1/INT1
RB0/INT0
V
DD
V
SS
RD7/PSP7
RD6/PSP6
RD5/PSP5
RD4/PSP4
RC7/RX/DT
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
NOTE:
Pin compatible with 40-pin PIC16C7X devices
DIP, SOIC, JW
MCLR/V
PP
RA0/AN0
RA1/AN1
RA2/AN2/V
REF
-
RA3/AN3/V
REF
+
RA4/T0CKI
RA5/AN4/SS/LVDIN
V
SS
OSC1/CLKI
OSC2/CLKO/RA6
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
*
RC2/CCP1
RC3/SCK/SCL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RB7
RB6
RB5
RB4
RB3/CCP2
*
RB2/INT2
RB1/INT1
RB0/INT0
V
DD
V
SS
RC7/RX/DT
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
*
RB3 is the alternate pin for the CCP2 pin multiplexing.
NOTE:
Pin compatible with 28-pin PIC16C7X devices
©
7/99 Microchip Technology Inc.
Preliminary
PIC18C2X2
PIC18C4X2
DS39026B-page 3
PIC18CXX2
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 5
2.0 Oscillator Configurations ............................................................................................................................................................ 15
3.0 Reset .......................................................................................................................................................................................... 23
4.0 Memory Organization ................................................................................................................................................................. 33
5.0 Table Reads/Table Writes .......................................................................................................................................................... 53
6.0 8 X 8 Hardware Multiplier ........................................................................................................................................................... 61
7.0 Interrupts .................................................................................................................................................................................... 65
8.0 I/O Ports ..................................................................................................................................................................................... 77
9.0 Timer0 Module ........................................................................................................................................................................... 93
10.0 Timer1 Module ........................................................................................................................................................................... 97
11.0 Timer2 Module ......................................................................................................................................................................... 102
12.0 Timer3 Module ......................................................................................................................................................................... 105
13.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 109
14.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 117
15.0 Addressable Universal Synchronous Asynchronous Receiver Transmitter (USART).............................................................. 151
16.0 10-bit Analog-to-Digital Converter (A/D) Module ...................................................................................................................... 167
17.0 Low Voltage Detect .................................................................................................................................................................. 175
18.0 Special Features of the CPU .................................................................................................................................................... 181
19.0 Instruction Set Summary .......................................................................................................................................................... 191
20.0 Development Support............................................................................................................................................................... 235
21.0 Electrical Characteristics .......................................................................................................................................................... 241
22.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 273
23.0 Packaging Information.............................................................................................................................................................. 275
Appendix A: Revision History ......................................................................................................................................................... 283
Appendix B: Device Differences..................................................................................................................................................... 283
Appendix C: Conversion Considerations........................................................................................................................................ 284
Appendix D: Migration from Baseline to Enhanced Devices .......................................................................................................... 284
Appendix E: Migration from Midrange to Enhanced Devices ......................................................................................................... 285
Appendix F: Migration from High-end to Enhanced Devices ......................................................................................................... 285
Index ................................................................................................................................................................................................. 287
On-Line Support................................................................................................................................................................................. 293
Reader Response .............................................................................................................................................................................. 294
PIC18CXX2 Product Identification System ........................................................................................................................................ 295
To Our Valued Customers
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.
New Customer Notification System
Register on our web site (www.microchip.com/cn) to receive the most current information on our products.
Errata
An errata sheet may exist for current devices, describing minor operational differences (from the data sheet) and recommended
workarounds. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revi-
sion 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)
• The Microchip Corporate Literature Center; U.S. FAX: (602) 786-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter-
ature number) you are using.
Corrections to this Data Sheet
We constantly strive to improve the quality of all our products and documentation. We have spent a great deal of time to ensure
that this document is correct. However, we realize that we may have missed a few things. If you find any information that is missing
or appears in error, please:
• Fill out and mail in the reader response form in the back of this data sheet.
• E-mail us at webmaster@microchip.com.
We appreciate your assistance in making this a better document.
DS39026B-page 4
Preliminary
©
7/99 Microchip Technology Inc.
PIC18CXX2
1.0
DEVICE OVERVIEW
This document contains device-specific information for
the following four devices:
1.
2.
3.
4.
PIC18C242
PIC18C252
PIC18C442
PIC18C452
The following two figures are device block diagrams
sorted by pin count; 28-pin for Figure 1-1 and 40-pin for
Figure 1-2. The 28-pin and 40-pin pinouts are listed in
Table 1-2 and Table 1-3 respectively.
These devices come in 28 and 40-pin packages. The
28-pin devices do not have a Parallel Slave Port (PSP)
implemented and the number of Analog-to-Digital (A/D)
converter input channels is reduced to 5. An overview
of features is shown in Table 1-1.
TABLE 1-1:
DEVICE FEATURES
Features
PIC18C242
DC - 40 MHz
16K
8192
512
16
Ports A, B, C
4
2
MSSP,
Addressable
USART
5 input channels
POR, BOR,
Reset Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
Yes
Yes
75 Instructions
28-pin DIP
28-pin SOIC
28-pin JW
PIC18C252
DC - 40 MHz
32K
16384
1536
16
Ports A, B, C
4
2
MSSP,
Addressable
USART
5 input channels
POR, BOR,
Reset Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
Yes
Yes
75 Instructions
28-pin DIP
28-pin SOIC
28-pin JW
PIC18C442
DC - 40 MHz
16K
8192
512
17
4
2
MSSP,
Addressable
USART
PSP
8 input channels
POR, BOR,
Reset Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
Yes
Yes
75 Instructions
40-pin DIP
40-pin PLCC
40-pin TQFP
40-pin JW
PIC18C452
DC - 40 MHz
32K
16384
1536
17
4
2
MSSP,
Addressable
USART
PSP
8 input channels
POR, BOR,
Reset Instruction,
Stack Full,
Stack Underflow
(PWRT, OST)
Yes
Yes
75 Instructions
40-pin DIP
40-pin PLCC
40-pin TQFP
40-pin JW
Operating Frequency
Program Memory (Bytes)
Program Memory (Instructions)
Data Memory (Bytes)
Interrupt sources
I/O Ports
Timers
Capture/Compare/PWM modules
Serial Communications
Ports A, B, C, D, E Ports A, B, C, D, E
Parallel Communications
10-bit Analog-to-Digital Module
Resets (and Delays)
Programmable Low Voltage Detect
Programmable Brown-out Reset
Instruction Set
Packages
©
7/99 Microchip Technology Inc.
Preliminary
DS39026B-page 5
查看更多>
大家有什么好的外部中断按键去抖的方法吗??都快崩溃了。。。
大家有什么好的外部中断按键去抖的方法吗??因为比赛的需要,要让输出步进可调,所以打算在外部中断里面改...
jianping-sun stm32/stm8
c1602在usb仿真器调试下不亮
我用的是f149的板子,在上面驱动1602,程序都对,就是使用usb仿真器时lcd不亮,用那种usb...
heijing9009 微控制器 MCU
无盘和有盘是莫法比的!
无盘和有盘是莫法比的! 1是无盘投资划不来,现在IDE\\Stat硬盘又不贵。无盘又要弄昂贵的服...
wo2000ailuo PCB设计
用mpu6050做平衡车还需要磁力计吗?
我网上找了一些资料,有的说不需要,有的地方需要,不过磁力计不是只是用来修正偏航角吗?我做平衡车只需要...
赵怡彬 stm32/stm8
msp430 launchpad的触摸感应子卡哪里有的卖?
如题所示,最近买了块luanchpad的板子,用于做项目开发,其中要用到触摸功能,但是没有对应的触摸...
LFlyming 微控制器 MCU
电池低压产品的漏电流和耐压测试
电池低压产品的漏电流和耐压测试 像手环,手...
QWE4562009 测试/测量
热门器件
热门资源推荐
器件捷径:
00 01 02 03 04 05 06 07 08 09 0A 0C 0F 0J 0L 0M 0R 0S 0T 0Z 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 1H 1K 1M 1N 1P 1S 1T 1V 1X 1Z 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 2G 2K 2M 2N 2P 2Q 2R 2S 2T 2W 2Z 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 3G 3H 3J 3K 3L 3M 3N 3P 3R 3S 3T 3V 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4M 4N 4P 4S 4T 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5E 5G 5H 5K 5M 5N 5P 5S 5T 5V 60 61 62 63 64 65 66 67 68 69 6A 6C 6E 6F 6M 6N 6P 6R 6S 6T 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7M 7N 7P 7Q 7V 7W 7X 80 81 82 83 84 85 86 87 88 89 8A 8D 8E 8L 8N 8P 8S 8T 8W 8Y 8Z 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9F 9G 9H 9L 9S 9T 9W
需要登录后才可以下载。
登录取消