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

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

Скачать:  PDF   ZIP

Document Outline

2006 Microchip Technology Inc.
Preliminary
DS41288A
PIC16F616/16HV616
Data Sheet
14-Pin Flash-Based, 8-Bit
CMOS Microcontrollers
DS41288A-page ii
Preliminary
2006 Microchip Technology Inc.
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 WAR-
RANTIES 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
, 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, Migratable Memory, MXDEV, MXLAB,
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, Linear Active Thermistor,
MPASM, MPLIB, MPLINK, MPSIM, 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.
2006, 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.
2006 Microchip Technology Inc.
Preliminary
DS41288A-page 1
PIC16F616/16HV616
High-Performance RISC CPU:
Only 35 instructions to learn:
- All single-cycle instructions except branches
Operating speed:
- DC 20 MHz oscillator/clock input
- DC 200 ns instruction cycle
Interrupt capability
8-level deep hardware stack
Direct, Indirect and Relative Addressing modes
Special Microcontroller Features:
Precision Internal Oscillator:
- Factory calibrated to 1%, typical
- Software selectable frequency: 4 MHz or 8
MHz
Power-Saving Sleep mode
Voltage range:
- PIC16F616: 2.0V to 5.5V
- PIC16HV616: 2.0V to user defined maximum
Industrial and Extended Temperature range
Power-on Reset (POR)
Power-up Timer (PWRT) and Oscillator Start-up
Timer (OST)
Brown-out Reset (BOR)
Watchdog Timer (WDT) with independent
oscillator for reliable operation
Multiplexed Master Clear with pull-up/input pin
Programmable code protection
High Endurance Flash:
- 100,000 write Flash endurance
- Flash retention: > 40 years
Low-Power Features:
Standby Current:
- 50 nA @ 2.0V, typical
Operating Current:
- 20
A @ 32 kHz, 2.0V, typical
- 220
A @ 4 MHz, 2.0V, typical
Watchdog Timer Current:
- 1
A @ 2.0V, typical
Peripheral Features:
Shunt Voltage Regulator (PIC16HV616 only):
- 5 volt regulation
- 4 mA to 50 mA shunt range
11 I/O pins and 1 input only
High current source/sink for direct LED drive
- Interrupt-on-Change pin
- Individually programmable weak pull ups
Analog Comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference
(CV
REF
) module (% of V
DD
)
- Comparator inputs and outputs externally
accessible
- SR Latch
- Built-In Hysteresis (user selectable)
A/D Converter:
- 10-bit resolution and 8 channels
Timer0: 8-bit timer/counter with 8-bit programma-
ble prescaler
Enhanced Timer1:
- 16-bit timer/counter with prescaler
- External Timer1 Gate (count enable)
- Option to use OSC1 and OSC2 in LP mode
as Timer1 oscillator if INTOSC mode
selected
- Option to use system clock as Timer1
Timer2: 8-bit timer/counter with 8-bit period
register, prescaler and postscaler
Enhanced Capture, Compare, PWM module:
- 16-bit Capture, max resolution 12.5 ns
- Compare, max resolution 200 ns
- 10-bit PWM with 1, 2 or 4 output channels,
programmable "dead time", max frequency
20 kHz
In-Circuit Serial Programming
TM
(ICSP
TM
) via two
pins
14-Pin Flash-Based, 8-Bit CMOS Microcontrollers
PIC16F616/16HV616
DS41288A-page 2
Preliminary
2006 Microchip Technology Inc.
14-Pin Diagram (PDIP, SOIC, TSSOP)
TABLE 1:
DUAL IN-LINE PIN SUMMARY
Device
Program Memory
Data Memory
I/O
10-bit A/D
(ch)
Comparators
Timers
8/16-bit
Voltage Range
Flash
(words)
SRAM (bytes)
PIC16F616
2048
128
11
8
2
2/1
2.0-5.5V
PIC16HV616
2048
128
11
8
2
2/1
2.0-user defined
I/O
Pin
Analog
Comparators
Timer
CCP
Interrupts
Pull-ups
Basic
RA0
13
AN0
C1IN+
--
--
IOC
Y
ICSPDAT
RA1
12
AN1/V
REF
C12IN0-
--
--
IOC
Y
ICSPCLK
RA2
11
AN2
C1OUT
T0CKI
--
INT/IOC
Y
--
RA3
(1)
4
--
--
--
--
IOC
Y
(2)
MCLR/V
PP
RA4
3
AN3
--
T1G
--
IOC
Y
OSC2/CLKOUT
RA5
2
--
--
T1CKI
--
IOC
Y
OSC1/CLKIN
RC0
10
AN4
C2IN+
--
--
--
--
--
RC1
9
AN5
C12IN1-
--
--
--
--
--
RC2
8
AN6
C12IN2-
--
P1D
--
--
--
RC3
7
AN7
C12IN3-
--
P1C --
--
--
RC4
6
--
C2OUT
--
P1B
--
--
--
RC5
5
--
--
--
CCP1/P1A
--
--
--
--
1
--
--
--
--
--
--
V
DD
--
14
--
--
--
--
--
--
V
SS
Note 1:
Input only.
2:
Only when pin is configured for external MCLR.
V
DD
RA5/T1CKI/OSC1/CLKIN
RA4/AN3/T1G/OSC2/CLKOUT
RA3/MCLR/V
PP
RC5/CCP1/P1A
RC4/C2OUT/P1B
RC3/AN7/C12IN3-/P1C
V
SS
RA0/AN0/C1IN+/ICSPDAT
RA1/AN1/C12IN0-/V
REF
/ICSPCLK
RA2/AN2/T0CKI/INT/C1OUT
RC0/AN4/C2IN+
RC1/AN5/C12IN1-
RC2/AN6/C12IN2-/P1D
PIC
1
6
F
616
/16
H
V616
1
2
3
4
5
6
7
14
13
12
9
11
10
8
2006 Microchip Technology Inc.
Preliminary
DS41288A-page 3
PIC16F616/16HV616
16-Pin Diagram (QFN)
TABLE 2:
QFN PIN SUMMARY
I/O
Pin
Analog
Comparators
Timers
CCP
Interrupts
Pull-ups
Basic
RA0
12
AN0
C1IN+
--
--
IOC
Y
ICSPDAT
RA1
11
AN1/V
REF
C12IN0-
--
--
IOC
Y
ICSPCLK
RA2
10
AN2
C1OUT
T0CKI
--
INT/IOC
Y
--
RA3
(1)
3
--
--
--
--
IOC
Y
(2)
MCLR/V
PP
RA4
2
AN3
--
T1G
--
IOC
Y
OSC2/CLKOUT
RA5
1
--
--
T1CKI
--
IOC
Y
OSC1/CLKIN
RC0
9
AN4
C2IN+
--
--
--
--
--
RC1
8
AN5
C12IN1-
--
--
--
--
--
RC2
7
AN6
C12IN2-
--
P1D
--
--
--
RC3
6
AN7
C12IN3-
--
P1C --
--
--
RC4
5
--
C2OUT
--
P1B
--
--
--
RC5
4
--
--
--
CCP1/P1A
--
--
--
--
16
--
--
--
--
--
--
V
DD
--
13
--
--
--
--
--
--
V
SS
Note 1:
Input only.
2:
Only when pin is configured for external MCLR.
1
2
3
4
9
10
11
12
5
6
7
8
16
15
14
13
PIC16F616/
PIC16HV616
RA5/T1CKI/OSC1/CLKIN
RA4/AN3/T1G/OSC2/CLKOUT
RA3/MCLR/V
PP
RC5/CCP/P1A
V
DD
NC
NC
V
SS
RA0/AN0/C1IN+/ICSPDAT
RA1/AN1/C12IN0-/V
REF
/ICSPCLK
RA2/AN2/T0CKI/INT/C1OUT
RC0/AN4/C2IN1+
RC4
/C2
O
UT
/
P
1
B
RC3
/A
N7/C1
2
IN3
-
/P
1
C
RC2
/A
N6/C1
2
IN2
-
/P
1
D
RC1/A
N5
/C12
IN1-