16F1829.pdf 데이터시트 (총 30 페이지) - 파일 다운로드 16F1829 데이타시트 다운로드

No Preview Available !

PIC16(L)F1825/1829
Data Sheet
14/20-Pin Flash Microcontrollers
with nanoWatt XLP Technology
2010-2011 Microchip Technology Inc.
Preliminary
DS41440B

No Preview Available !

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, dsPIC,
KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
PIC32 logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
PIC32 logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL 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, chipKIT,
chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net,
dsPICworks, dsSPEAK, ECAN, ECONOMONITOR,
FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP,
Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB,
MPLINK, mTouch, Omniscient Code Generation, PICC,
PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE,
rfLAB, Select Mode, Total Endurance, TSHARC,
UniWinDriver, 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.
© 2010-2011, Microchip Technology Incorporated, Printed in
the U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 978-1-61341-289-3
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® 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.
DS41440B-page 2
Preliminary
2010-2011 Microchip Technology Inc.

No Preview Available !

PIC16(L)F1825/1829
14/20-Pin Flash Microcontrollers with nanoWatt Technology
High-Performance RISC CPU:
• Only 49 Instructions to Learn:
- All single-cycle instructions except branches
• Operating Speed:
- DC – 32 MHz oscillator/clock input
- DC – 125 ns instruction cycle
• Up to 16 Kbytes Linear Program Memory
Addressing
• Up to 1024 bytes Linear Data Memory Addressing
• Interrupt Capability with automatic context saving
• 16-Level Deep Hardware Stack with Optional
Overflow/Underflow Reset
• Direct, Indirect and Relative Addressing modes:
- Two full 16-bit File Select Registers (FSRs)
- FSRs can read program and data memory
Flexible Oscillator Structure:
• Precision 32 MHz Internal Oscillator Block:
- Factory calibrated to ± 1%, typical
- Software selectable frequencies range of
31 kHz to 32 MHz
• 31 kHz Low-Power Internal Oscillator
• Four Crystal modes up to 32 MHz
• Three External Clock modes up to 32 MHz
• 4X Phase Lock Loop (PLL)
• Fail-Safe Clock Monitor:
- Allows for safe shutdown if peripheral clock
stops
• Two-Speed Oscillator Start-up
• Reference Clock Module:
- Programmable clock output frequency and
duty-cycle
Special Microcontroller Features:
• 1.8V-5.5V Operation – PIC16F1825/1829
• 1.8V-3.6V Operation – PIC16LF1825/1829
• Self-Programmable under Software Control
• Power-on Reset (POR), Power-up Timer (PWRT)
and Oscillator Start-up Timer (OST)
• Programmable Brown-out Reset (BOR)
• Extended Watchdog Timer (WDT)
• In-Circuit Serial Programming™ (ICSP™) via
two pins
• In-Circuit Debug (ICD) via Two Pins
• Enhanced Low-Voltage Programming (LVP)
• Operating Voltage Range:
- 1.8V-5.5V (PIC16F1825/1829)
- 1.8V-3.6V (PIC16LF1825/1829)
• Programmable Code Protection
• Power-Saving Sleep mode
Extreme Low-Power Management
PIC16LF1825/1829 with nanoWatt XLP:
• Sleep mode: 20 nA @ 1.8V, typical
• Watchdog Timer: 500 nA @ 1.8V, typical
• Timer1 Oscillator: 600 nA @ 32 kHz, 1.8V, typical
Analog Features:
• Analog-to-Digital Converter (ADC) Module:
- 10-bit resolution, up to 12 channels
- Auto acquisition capability
- Conversion available during Sleep
• Analog Comparator Module:
- Two rail-to-rail analog comparators
- Power mode control
- Software controllable hysteresis
• Voltage Reference Module:
- Fixed Voltage Reference (FVR) with 1.024V,
2.048V and 4.096V output levels
- 5-bit rail-to-rail resistive DAC with positive
and negative reference selection
Peripheral Highlights:
• Up to 17 I/O Pins and 1 Input Only Pin:
- High current sink/source 25 mA/25 mA
- Programmable weak pull-ups
- Programmable interrupt-on-change pins
• Timer0: 8-Bit Timer/Counter with 8-Bit Prescaler
• Enhanced Timer1:
- 16-bit timer/counter with prescaler
- External Gate Input mode
- Dedicated, low-power 32 kHz oscillator driver
• Three Timer2-types: 8-Bit Timer/Counter with 8-Bit
Period Register, Prescaler and Postscaler
• Two Capture, Compare, PWM (CCP) Modules
• Two Enhanced CCP (ECCP) Modules:
- Software selectable time bases
- Auto-shutdown and auto-restart
- PWM steering
• Up to two Master Synchronous Serial Port
(MSSP) with SPI and I2CTM with:
- 7-bit address masking
- SMBus/PMBusTM compatibility
• Enhanced Universal Synchronous Asynchronous
Receiver Transmitter (EUSART) Module
• mTouch™ Sensing Oscillator Module:
- Up to 12 input channels
• Data Signal Modulator Module:
- Selectable modulator and carrier sources
• SR Latch:
- Multiple Set/Reset input options
- Emulates 555 Timer applications
2010-2011 Microchip Technology Inc.
Preliminary
DS41440B-page 3

No Preview Available !

PIC16(L)F1825/1829
PIC16(L)F1825/1829 Family Types
Program
Data
Memory Memory
PIC16LF1825
8K 1024 256 12 8 8 2 4/1 1 1 1 1 2 Yes
PIC16F1825
8K 1024 256 12 8 8 2 4/1 1 1 1 1 2 Yes
PIC16LF1829
8K 1024 256 18 12 12 2 4/1 1 2 1 1 2 Yes
PIC16F1829
8K 1024 256 18 12 12 2 4/1 1 2 1 1 2 Yes
Note 1: One pin is input only.
DS41440B-page 4
Preliminary
2010-2011 Microchip Technology Inc.

No Preview Available !

FIGURE 1:
14-PIN DIAGRAM FOR PIC16(L)F1825
PDIP, SOIC, TSSOP
VDD
CCP2(1)/P2A(1)/T1CKI/T1OSI/OSC1/CLKIN/RA5
T1G(1)/P2B(1)/SDO(1)/CLKR/T1OSO/CLKOUT/OSC2/CPS3/AN3/RA4
MCLR/VPP/T1G(1)/SS1(1)/RA3
MDCIN2/DT(1)/RX(1)/CCP1/P1A/RC5
MDOUT/CK(1)/TX(1)/P1B/SRNQ/C2OUT/RC4
MDMIN/SS1(1)/P1C(1)/CCP2(1)/P2A(1)/C12IN3-/CPS7/AN7/RC3
1 14
2 13
3 12
4 11
5 10
69
78
VSS
RA0/AN0/CPS0/C1IN+/VREF-/DACOUT/TX(1)/CK(1)/ICSPDAT
RA1/AN1/CPS1/C12IN0-/VREF+/SRI/RX(1)/DT(1)/ICSPCLK
RA2/AN2/CPS2/T0CKI/INT/C1OUT/SRQ/CCP3/FLT0
RC0/AN4/CPS4/C2IN+/SCL/SCK/P1D(1)
RC1/AN5/CPS5/C12IN1-/SDA/SDI/P1C(1)/CCP4
RC2/AN6/CPS6/C12IN2-/P1D(1)/P2B(1)/SDO(1)/MDCIN1
Note 1: Pin function is selectable via the APFCON0 or APFCON1 register.