ChipFind - документация

Электронный компонент: PIC18LF2515

Скачать:  PDF   ZIP
www.docs.chipfind.ru
background image
2004 Microchip Technology Inc.
Preliminary
DS39636A
PIC18F2X1X/4X1X
Data Sheet
28/40/44-Pin Flash Microcontrollers
with 10-Bit A/D and nanoWatt Technology
background image
DS39636A-page ii
Preliminary
2004 Microchip Technology Inc.
Information contained in this publication regarding device
applications and the like is intended through suggestion only
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
No representation or warranty is given and no liability is
assumed by Microchip Technology Incorporated with respect
to the accuracy or use of such information, or infringement of
patents or other intellectual property rights arising from such
use or otherwise. Use of Microchip's products as critical
components in life support systems is not authorized except
with express written approval by Microchip. No licenses are
conveyed, implicitly or otherwise, under any intellectual
property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EE
L
OQ
, micro
ID
, 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, MXDEV, MXLAB, PICMASTER, 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, dsPICDEM,
dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR,
FanSense, FlexROM, fuzzyLAB, In-Circuit Serial
Programming, ICSP, ICEPIC, Migratable Memory, MPASM,
MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net,
PICLAB, PICtail, PowerCal, PowerInfo, PowerMate,
PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial,
SmartTel and Total Endurance 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.
2004, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
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.
Microchip received ISO/TS-16949:2002 quality system certification for
its worldwide headquarters, design and wafer fabrication facilities in
Chandler and Tempe, Arizona and Mountain View, California in
October 2003. The Company's quality system processes and
procedures are for its PICmicro
8-bit MCUs, 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.
background image
2004 Microchip Technology Inc.
Preliminary
DS39636A-page 1
PIC18F2X1X/4X1X
Power Managed Modes:
Run: CPU on, peripherals on
Idle: CPU off, peripherals on
Sleep: CPU off, peripherals off
Idle mode currents down to 3.0
A typical
Sleep mode currents down to 20 nA typical
Timer1 Oscillator: 1.8
A, 32 kHz, 2V
Watchdog Timer: 2.1
A
Two-Speed Oscillator Start-up
Peripheral Highlights:
High-current sink/source 25 mA/25 mA
Up to 2 Capture/Compare/PWM (CCP) modules,
one with Auto-Shutdown (28-pin devices)
Enhanced Capture/Compare/PWM (ECCP)
module (40/44-pin devices only):
- One, two or four PWM outputs
- Selectable polarity
- Programmable dead time
- Auto-Shutdown and Auto-Restart
Master Synchronous Serial Port (MSSP) module
supporting 3-wire SPITM (all 4 modes) and I
2
CTM
Master and Slave Modes
Enhanced Addressable USART module:
- Supports RS-485, RS-232 and LIN 1.2
- RS-232 operation using internal oscillator
block (no external crystal required)
- Auto-Wake-up on Start bit
- Auto-Baud Detect
10-bit, up to 13-channel Analog-to-Digital
Converter module (A/D):
- Auto-acquisition capability
- Conversion available during Sleep
Dual analog comparators with input multiplexing
Programmable 16-level High/Low-Voltage
Detection (HLVD) module:
- Supports interrupt on High/Low-Voltage
Detection
Flexible Oscillator Structure:
Four Crystal modes, up to 40 MHz
4x Phase Lock Loop (PLL) available for crystal
and internal oscillators
Two External RC modes, up to 4 MHz
Two External Clock modes, up to 40 MHz
Internal oscillator block:
- 8 user selectable frequencies, from 31 kHz to 8 MHz
- Provides a complete range of clock speeds
from 31 kHz to 32 MHz when used with PLL
- User tunable to compensate for frequency drift
Secondary oscillator using Timer1 @ 32 kHz
Fail-Safe Clock Monitor:
- Allows for safe shutdown if peripheral clock stops
Special Microcontroller Features:
C compiler optimized architecture:
- Optional extended instruction set designed to
optimize re-entrant code
100,000 erase/write cycle Flash program memory
typical
Three programmable external interrupts
Four input-change interrupts
Priority levels for interrupts
8 x 8 Single-Cycle Hardware Multiplier
Extended Watchdog Timer (WDT):
- Programmable period from 4 ms to 131s
Single-supply 5V In-Circuit Serial
ProgrammingTM (ICSPTM) via two pins
In-Circuit Debug (ICD) via two pins
Wide operating voltage range: 2.0V to 5.5V
Programmable Brown-out Reset (BOR) with
software enable option
28/40/44-Pin Flash Microcontrollers with
10-bit A/D and nanoWatt Technology
background image
PIC18F2X1X/4X1X
DS39636A-page 2
Preliminary
2004 Microchip Technology Inc.
Device
Program Memory
Data
Memory
I/O
10-bit
A/D (ch)
CCP/ECCP
(PWM)
MSSP
EU
SA
RT
Comp.
Timers
8/16-bit
Flash
(bytes)
# Single-Word
Instructions
SRAM
(bytes)
SPITM
Master
I
2
CTM
PIC18F2410
16K
8192
768
25
10
2/0
Y
Y
1
2
1/3
PIC18F2510
32K
16384
1536
25
10
2/0
Y
Y
1
2
1/3
PIC18F2515
48K
24576
3968
25
10
2/0
Y
Y
1
2
1/3
PIC18F2610
64K
32768
3968
25
10
2/0
Y
Y
1
2
1/3
PIC18F4410
16K
8192
768
36
13
1/1
Y
Y
1
2
1/3
PIC18F4510
32K
16384
1536
36
13
1/1
Y
Y
1
2
1/3
PIC18F4515
48K
24576
3968
36
13
1/1
Y
Y
1
2
1/3
PIC18F4610
64K
32768
3968
36
13
1/1
Y
Y
1
2
1/3
background image
2004 Microchip Technology Inc.
Preliminary
DS39636A-page 3
PIC18F2X1X/4X1X
Pin Diagrams
10
11
2
3
4
5
6
1
8
7
9
12
13
14
15
16
17
18
19
20
23
24
25
26
27
28
22
21
MCLR/V
PP
/RE3
RA0/AN0
RA1/AN1
RA2/AN2/V
REF
-/CV
REF
RA3/AN3/V
REF
+
RA4/T0CKI/C1OUT
RA5/AN4/SS/HLVDIN/C2OUT
V
SS
OSC1/CLKI/RA7
OSC2/CLKO/RA6
RC0/T1OSO/T13CKI
RC1/T1OSI/CCP2
(1)
RC2/CCP1
RC3/SCK/SCL
RB7/KBI3/PGD
RB6//KBI2/PGC
RB5/KBI1/PGM
RB4/KBI0/AN11
RB3/AN9/CCP2
(1)
RB2/INT2/AN8
RB1/INT1/AN10
RB0/INT0/FLT0/AN12
V
DD
V
SS
RC7/RX/DT
RC6/TX/CK
RC5/SDO
RC4/SDI/SDA
28-pin SPDIP, SOIC
Note
1:
RB3 is the alternate pin for CCP2 multiplexing.
10 11
2
3
6
1
18
19
20
21
22
12 13 14
15
8
7
16
17
23
24
25
26
27
28
9
RC0
/T
1
O
S
O/T
13
CK
I
5
4
R
B
7
/
KBI
3
/
PG
D
R
B
6
/
KBI
2
/
PG
C
R
B
5
/
KBI
1
/
PG
M
R
B
4
K
B
I
0/A
N
11
RB3/AN9/CCP2
(1)
RB2/INT2/AN8
RB1/INT1/AN10
RB0/INT0/FLT0/AN12
V
DD
V
SS
RC7/RX/DT
RC6
/
T
X/CK
RC5
/
S
D
O
R
C
4/S
D
I/S
DA
MC
L
R
/V
PP
/RE
3
RA0
/
AN0
RA1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