PIC12F752/HV752 Data Sheet

PIC12F752/HV752 Data Sheet

PIC12F752/HV752 8-Pin Flash-Based, 8-Bit CMOS Microcontrollers High-Performance RISC CPU Peripheral Features • Only 35 Instructions to Learn: • Five I/O Pins and One Input-only Pin - All single-cycle instructions except branches • High Current Source/Sink: • Operating Speed: - 50 mA I/O, (2 pins) - DC – 20 MHz clock input - 25 mA I/O, (3 pins) - DC – 200 ns instruction cycle • Two High-Speed Analog Comparator modules: • 1024 x 14 On-chip Flash Program Memory - 40 ns response time • Self Read/Write Program Memory - Fixed Voltage Reference (FVR) • 64 x 8 General Purpose Registers (SRAM) - Programmable on-chip voltage reference via • Interrupt Capability integrated 5-bit DAC • 8-Level Deep Hardware Stack - Internal/external inputs and outputs • Direct, Indirect and Relative Addressing modes (selectable) Microcontroller Features - Built-in Hysteresis (software selectable) • A/D Converter: • Precision Internal Oscillator: - 10-bit resolution - Factory calibrated to ±1%, typical - Four external channels - Software selectable frequency: - Two internal reference voltage channels 8 MHz, 4 MHz, 1 MHz or 31 kHz • Dual Range Digital-to-Analog Converter (DAC): - Software tunable - 5-bit resolution • Power-Saving Sleep mode - Full Range or Limited Range output • Voltage Range (PIC12F752): - 4 mV steps @ 2.0V (Limited Range) - 2.0V to 5.5V - 65 mV steps @ 2.0V (Full Range) • Shunt Voltage Regulator (PIC12HV752) • Fixed Voltage Reference (FVR), 1.2V reference - 2.0V to user defined • Capture, Compare, PWM (CCP) module: - 5-volt regulation - 16-bit Capture, max. resolution = 12.5 ns - 1 mA to 50 mA shunt range - Compare, max. resolution = 200 ns • Multiplexed Master Clear with Pull-up/Input Pin - 10-bit PWM, max. frequency = 20 kHz • Interrupt-on-Change Pins • Timer0: 8-Bit Timer/Counter with 8-Bit Prescaler • Individually Programmable Weak Pull-ups • Enhanced Timer1: • Power-on Reset (POR) - 16-bit Timer/Counter with Prescaler • Power-up Timer (PWRT) - External Timer1 Gate (count enable) • Brown-out Reset (BOR) - Four Selectable Clock sources • Watchdog Timer (WDT) with Internal Oscillator for • Timer2: 8-Bit Timer/Counter with Prescaler: Reliable Operation - 8-bit Period Register and Postscaler • Industrial and Extended Temperature Range • Hardware Limit Timer (HLT): • High Endurance Flash: - 8-bit Timer with Prescaler - 100,000 write Flash endurance - 8-bit period register and postscaler - Flash retention: >40 years - Asynchronous H/W Reset sources • Programmable Code Protection • Complementary Output Generator (COG): • In-Circuit Debug (ICD) via Two Pins - Complementary Waveforms from selectable • In-Circuit Serial Programming™ (ICSP™) via Two sources Pins - Two I/O (50 mA) for direct MOSFET drive - Rising and/or Falling edge dead-band control eXtreme Low-Power (XLP) Features - Phase control, Blanking control • Sleep Current: - Auto-shutdown - 50 nA @ 2.0V, typical • Operating Current: - 11 µA @ 32 kHz, 2.0V, typical - 260 µA @ 4 MHz, 2.0V, typical • Watchdog Timer Current: • <1 µA @ 2.0V, typical 2011-2015 Microchip Technology Inc. DS40001576D-page 1 PIC12F752/HV752 TABLE 1: PIC12F752/HV752 FEATURE SUMMARY Device I/Os XLP CCP (COG) Timers 8/16-bit (words) Comparators Flash Memory Flash Memory 10-bit A/D (ch) SRAM (bytes) Flash Program Flash Program (User) Memory Self Read/Write Self Read/Write Complementary Shunt Regulator Output Generator PIC12F752 1024 Y 64 6 4 2 3/1 1 Y N Y PIC12HV752 1024 Y 64 6 4 2 3/1 1 Y Y Y FIGURE 1: 8-PIN PDIP, SOIC, DFN VDD 1 8 VSS RA5 2 7 RA0/ICSPDAT PIC12F752/HV752 RA4 3 6 RA1/ICSPCLK MCLR/VPP/RA3 4 5 RA2 Note: See Table 1 for the location of all peripheral functions. DS40001576D-page 2 2011-2015 Microchip Technology Inc. PIC12F752/HV752 TABLE 2: 8-PIN ALLOCATION TABLE (PIC12F752/HV752) I/O CCP ADC Basic Timers Output Pull-up Voltage Interrupts Reference Comparators Complementary Generator (COG) Generator 8-Pin PDIP/SOIC/DFN 8-Pin RA0(4) 7 AN0 C1IN0+ — — IOC Y COG1OUT1 DACOUT ICSPDAT C2IN0+ REFOUT RA1 6 AN1 C1IN0- ——IOCY — VREF+ ICSPCLK C2IN0- RA2(4) 5 AN2 C1OUT T0CKI CCP1 IOC Y COG1OUT0 — — C2OUT INT (2) RA3(1) 4— — T1G — IOC Y(3) COG1FLT(2) —MCLR/VPP RA4 3 AN3 C1IN1- T1G — IOC Y COG1FLT — CLKOUT COG1OUT1(2) RA5 2 — C2IN1- T1CKI — IOC Y COG1OUT0(2) —CLKIN — 1 — — — — — — — — VDD —8—————— — — VSS Note 1: Input-only. 2: Alternate pin function via the APFCON register. 3: RA3 pull-up is enabled when pin is configured as MCLR in Configuration Word. 4: The port pins for the primary COG1OUTx pins have High-Power (HP) output drivers. 2011-2015 Microchip Technology Inc. DS40001576D-page 3 PIC12F752/HV752 Table of Contents 1.0 Device Overview ......................................................................................................................................................................... 5 2.0 Memory Organization .................................................................................................................................................................. 7 3.0 Flash Program Memory Self Read/Self Write Control ............................................................................................................... 23 4.0 Oscillator Module ....................................................................................................................................................................... 32 5.0 I/O Ports .................................................................................................................................................................................... 37 6.0 Timer0 Module .......................................................................................................................................................................... 47 7.0 Timer1 Module with Gate Control .............................................................................................................................................. 50 8.0 Timer2 Module .......................................................................................................................................................................... 61 9.0 Hardware Limit Timer (HLT) Module ......................................................................................................................................... 63 10.0 Capture/Compare/PWM Modules .............................................................................................................................................. 67 11.0 Complementary Output Generator (COG) Module .................................................................................................................... 74 12.0 Analog-to-Digital Converter (ADC) Module ............................................................................................................................... 89 13.0 Fixed Voltage Reference (FVR) .............................................................................................................................................. 100 14.0 Digital-to-Analog Converter (DAC) Module ............................................................................................................................. 102 15.0 Comparator Module ................................................................................................................................................................. 107 16.0 Instruction Set Summary ......................................................................................................................................................... 116 17.0 Special Features of the CPU ................................................................................................................................................... 125 18.0 Shunt Regulator (PIC12HV752 Only) ...................................................................................................................................... 145 19.0 Development Support .............................................................................................................................................................. 146 20.0 Electrical Specifications ........................................................................................................................................................... 150 21.0 DC and AC Characteristics Graphs and Charts ...................................................................................................................... 172 22.0 Packaging Information ............................................................................................................................................................. 196 Appendix A: Data Sheet Revision History ......................................................................................................................................... 206 Appendix B: Migrating from PIC12HV615 ......................................................................................................................................... 206 The Microchip Web Site .................................................................................................................................................................... 207 Customer Change Notification Service ............................................................................................................................................. 207 Customer Support.............................................................................................................................................................................. 207

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    211 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us