首页 > 器件类别 >

PIC18F4539-E/PSQTP

Enhanced FLASH Microcontrollers with Single Phase Induction Motor Control Kernel

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

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

下载文档
文档预览
PIC18FXX39
Enhanced FLASH Microcontrollers with
Single Phase Induction Motor Control Kernel
High Performance RISC CPU:
• Linear program memory addressing to 24 Kbytes
• Linear data memory addressing to 1.4 Kbytes
• 20 MHz operation (5 MIPs):
- 20 MHz oscillator/clock input
- 5 MHz oscillator/clock input with PLL active
• 16-bit wide instructions, 8-bit wide data path
• 8 x 8 Single Cycle Hardware Multiplier
Peripheral Features:
• 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
• Timer3 module: 16-bit timer/counter
• Secondary oscillator clock option - Timer1/Timer3
• Two PWM modules:
- Resolution is 1- to 10-bit,
Max. PWM freq. @ 8-bit resolution = 156 kHz
10-bit resolution = 39 kHz
• Single Phase Induction Motor Control kernel
- Programmable Motor Control Technology
(ProMPT™) provides open loop Variable
Frequency (VF) control
- User programmable Voltage vs. Frequency
curve
- Most suitable for shaded pole and permanent
split capacitor type motors
• Master Synchronous Serial Port (MSSP) module
with two modes of operation:
- 3-wire SPI (supports all 4 SPI modes)
- I
2
C™ Master and Slave mode
• Addressable USART module:
- Supports RS-485 and RS-232
• Parallel Slave Port (PSP) module
Special Microcontroller Features:
• 100,000 erase/write cycle Enhanced FLASH
program memory typical
• 1,000,000 erase/write cycle Data EEPROM memory
• FLASH/Data EEPROM Retention: > 100 years
• Power-on Reset (POR), Power-up Timer (PWRT)
and Oscillator Start-up Timer (OST)
• Programmable code protection
• Power saving SLEEP mode
• Single supply 5V In-Circuit Serial Programming™
(ICSP™) via two pins
• In-Circuit Debug (ICD) via two pins
Analog Features:
• Compatible 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 (PLVD)
- Supports interrupt on Low Voltage Detection
• Programmable Brown-out Reset (BOR)
CMOS Technology:
• Low power, high speed FLASH/EEPROM
technology
• Fully static design
• Wide operating voltage range (2.0V to 5.5V)
• Industrial and Extended temperature ranges
Program Memory
Device
PIC18F2439
PIC18F2539
PIC18F4439
PIC18F4539
Bytes
12K
24K
12K
24K
Words
6144
12288
6144
12288
Data Memory
SRAM
(Bytes)
640
1408
640
1408
I/O
10-bit
EEPROM Pins A/D (ch)
(Bytes)
256
256
256
256
21
21
32
32
5
5
8
8
PWM
10-bit
2
2
2
2
MSSP
SPI
Yes
Yes
Yes
Yes
Master
I
2
C
Yes
Yes
Yes
Yes
AUSART
Yes
Yes
Yes
Yes
Timers
16-bit/WDT
3/1
3/1
3/1
3/1
2002-2013 Microchip Technology Inc.
Preliminary
DS30485B-page 1
PIC18FXX39
Pin Diagrams
44-Pin TQFP
44
43
42
41
40
39
38
37
36
35
34
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
RD1/PSP1
RD0/PSP0
RC3/SCK/SCL
PWM1
PWM2
NC
RC7/RX/DT
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7
V
SS
V
DD
RB0/INT0
RB1/INT1
RB2/INT2
RB3
1
2
3
4
5
6
7
8
9
10
11
PIC18F4439
PIC18F4539
33
32
31
30
29
28
27
26
25
24
23
NC
RC0/T13CKI
OSC2/CLKO/RA6
OSC1/CLKI
V
SS
V
DD
RE2/AN7/CS
RE1/AN6/WR
RE0/AN5/RD
RA5/AN4/SS/LVDIN
RA4/T0CKI
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/PGD
RB6/PGC
RB5/PGM
RB4
NC
NC
44-Pin QFN
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
RD3/PSP3
RD2/PSP2
RD1/PSP1
RD0/PSP0
RC3/SCK/SCL
PWM2
PWM1
RC0/T13CKI
RC7/RX/DT
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7
V
SS
V
DD
A
VDD
RB0/INT0
RB1/INT1
RB2/INT2
1
2
3
4
5
6
7
8
9
10
11
44
43
42
41
40
39
38
37
36
35
34
PIC18F4439
PIC18F4539
33
32
31
30
29
28
27
26
25
24
23
OSC2/CLKO/RA6
OSC1/CLKI
V
SS
AV
SS
V
DD
V
DD
RE2/AN7/CS
RE1/AN6/WR
RE0/AN5/RD
RA5/AN4/SS/LVDIN
RA4/T0CKI
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/PGD
RB6/PGC
RB5/PGM
RB4
NC
RB3
DS30485B-page 2
Preliminary
2002-2013 Microchip Technology Inc.
PIC18FXX39
Pin Diagrams (Cont.’d)
40-Pin DIP
MCLR/V
PP
RA0/AN0
RA1/AN1
RA2/AN2/V
REF
-
RA3/AN3/V
REF
+
RA4/T0CKI
RA5/AN4/SS/LVDIN
RE0/AN5/RD
RE1/AN6/WR
RE2/AN7/CS
V
DD
V
SS
OSC1/CLKI
OSC2/CLKO/RA6
RC0/T13CKI
PWM2
PWM1
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/PGD
RB6/PGC
RB5/PGM
RB4
RB3
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
PIC18F4439
28-Pin DIP, SOIC
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/T13CKI
PWM2
PWM1
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/PGD
RB6/PGC
RB5/PGM
RB4
RB3
RB2/INT2
RB1/INT1
RB0/INT0
V
DD
V
SS
RC7/RX/DT
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
PIC18F2439
2002-2013 Microchip Technology Inc.
Preliminary
PIC18F2539
PIC18F4539
DS30485B-page 3
PIC18FXX39
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 7
2.0 Oscillator Configurations ............................................................................................................................................................ 19
3.0 Reset .......................................................................................................................................................................................... 23
4.0 Memory Organization ................................................................................................................................................................. 33
5.0 FLASH Program Memory ........................................................................................................................................................... 51
6.0 Data EEPROM Memory ............................................................................................................................................................. 61
7.0 8 X 8 Hardware Multiplier ........................................................................................................................................................... 67
8.0 Interrupts .................................................................................................................................................................................... 69
9.0 I/O Ports ..................................................................................................................................................................................... 83
10.0 Timer0 Module ........................................................................................................................................................................... 99
11.0 Timer1 Module ......................................................................................................................................................................... 103
12.0 Timer2 Module ......................................................................................................................................................................... 107
13.0 Timer3 Module ......................................................................................................................................................................... 109
14.0 Single Phase Induction Motor Control Kernel .......................................................................................................................... 113
15.0 Pulse Width Modulation (PWM) Modules ................................................................................................................................. 123
16.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 125
17.0 Addressable Universal Synchronous Asynchronous Receiver Transmitter (USART).............................................................. 165
18.0 Compatible 10-bit Analog-to-Digital Converter (A/D) Module................................................................................................... 181
19.0 Low Voltage Detect .................................................................................................................................................................. 189
20.0 Special Features of the CPU .................................................................................................................................................... 195
21.0 Instruction Set Summary .......................................................................................................................................................... 211
22.0 Development Support............................................................................................................................................................... 253
23.0 Electrical Characteristics .......................................................................................................................................................... 259
24.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 287
25.0 Packaging Information.............................................................................................................................................................. 297
Appendix A: Revision History............................................................................................................................................................. 305
Appendix B: Device Differences......................................................................................................................................................... 305
Appendix C: Conversion Considerations ........................................................................................................................................... 306
Appendix D: Migration from High-End to Enhanced Devices............................................................................................................. 307
Index .................................................................................................................................................................................................. 309
On-Line Support................................................................................................................................................................................. 317
Systems Information and Upgrade Hot Line ...................................................................................................................................... 317
Reader Response .............................................................................................................................................................................. 318
PIC18FXX39 Product Identification System....................................................................................................................................... 319
DS30485B-page 4
Preliminary
2002-2013 Microchip Technology Inc.
PIC18FXX39
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
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@mail.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)
• The Microchip Corporate Literature Center; U.S. FAX: (480) 792-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.
Customer Notification System
Register on our web site at
www.microchip.com/cn
to receive the most current information on all of our products.
2002-2013 Microchip Technology Inc.
Preliminary
DS30485B-page 5
查看更多>
TI又送launchpad啦
TI官方的活动 松秀一下,MSP430 LaunchPad 等你拿! https://www.de...
zzplus307 微控制器 MCU
谐波电流是怎样对电气设备造成干扰的
在电源的运行过程中,谐波干扰是最常见的,工程师们往往需要不断的升级 PFC 电路来改进自家的电...
qwqwqw2088 模拟与混合信号
GPS手机,未来成为“鸡肋”还是发生“井喷”
本帖最后由 jameswangsynnex 于 2015-3-3 19:56 编辑 目前关于...
紫霞湖 移动便携
有关CD4069组成振荡电路的问题
我想做一个无线充电的模块,这个图是我在网上找的,是该模块的振荡部分 我想请以下几个问题: ...
樊旭超 电源技术
不知道这个二级运放的结构图对不对
如题,图如下。。是想通过改图求零极点。。。 不知道这个二级运放的结构图对不对 “不知道这个二级...
xpfshawn 模拟电子
现在学习zigbee 用什么板子好呢?
我的毕业论文是关于zigbee的,要求演示个简单的实验,大家给点建议,用什么产品好呢? 现在学习z...
棌瑜 RF/无线
热门器件
热门资源推荐
器件捷径:
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
需要登录后才可以下载。
登录取消