0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
PIC12F1612-I/P

PIC12F1612-I/P

  • 厂商:

    ACTEL(微芯科技)

  • 封装:

    DIP8

  • 描述:

    IC MCU 8BIT 3.5KB FLASH 8DIP

  • 数据手册
  • 价格&库存
PIC12F1612-I/P 数据手册
PIC12(L)F1612/16(L)F1613 8/14-Pin, 8-Bit Flash Microcontroller Description PIC12(L)F1612/16(L)F1613 microcontrollers deliver on-chip features that are unique to the design for embedded control of small motors and general purpose applications in 8/14-pin count packages. Features like 10-bit A/D, CCP, 24-bit SMT and Zero-Cross Detection offer an excellent solution to the variety of applications. The product family also has a CRC+ memory scan and Windowed WDT to support safety-critical systems in home appliances, white goods and other end equipment. Core Features Digital Peripherals • C Compiler Optimized RISC Architecture • Only 49 Instructions • Operating Speed: - DC – 32 MHz clock input - 125 ns minimum instruction cycle • Interrupt Capability • 16-Level Deep Hardware Stack • One 8-Bit Timer • One 16-bit Timers • Low Current Power-on Reset (POR) • Configurable Power-up Timer (PWRT) • Brown-out Reset (BOR) with Selectable Trip Point • Windowed Watchdog Timer (WWDT): - Variable prescaler selection - Variable window size selection - All sources configurable in hardware or software • Complementary Waveform Generator (CWG): - Rising and falling edge dead-band control - Full-bridge, half-bridge, 1-channel drive - Multiple signal sources • Two Capture/Compare/PWM (CCP) modules • Two Signal Measurement Timers (SMT): - 24-bit timer/counter with prescaler - Multiple gate and clock inputs • 8-Bit Timers (TMR2+HLT/4/6): - Up to 3 Timer2/4/6 with Hardware Limit Timer (HLT) - Monitors Fault Conditions: Stall, Stop, etc. - Multiple modes - 8-bit timer/counter with prescaler - 8-bit period register and postscaler - Asynchronous H/W Reset sources • Cyclic Redundancy Check with Memory Scan (CRC/SCAN): - Software configurable Memory • • • • 2 KW Flash Program Memory 256 Bytes Data SRAM Direct, Indirect and Relative Addressing modes High-Endurance Flash Data Memory (HEF): - 128 B of nonvolatile data storage - 100K erase/write cycles Operating Characteristics • Operating Voltage Range: - 1.8V to 3.6V (PIC12LF1612/16F1613) - 2.3V to 5.5V (PIC12F1612/16F1613) • Temperature Range: - Industrial: -40°C to 85°C - Extended: -40°C to 125°C eXtreme Low-Power (XLP) Features • • • • Sleep mode: 50 nA @ 1.8V, typical Watchdog Timer: 500 nA @ 1.8V, typical Secondary Oscillator: 500 nA @ 32 kHz Operating Current: - 8 uA @ 32 kHz, 1.8V, typical - 32 uA/MHz @ 1.8V, typical  2014-2017 Microchip Technology Inc. DS40001737C-page 1 PIC12(L)F1612/16(L)F1613 • Up to 11 I/O Pins and One Input-only Pin: - Individually programmable pull-ups - Slew rate control - Interrupt-on-change with edge-select Intelligent Analog Peripherals • 10-Bit Analog-to-Digital Converter (ADC): - Up to 8 external channels - Conversion available during Sleep • Up to Two Comparators (COMP): - Low-Power/High-Speed mode - Up to three external inverting inputs - Fixed Voltage Reference at non-inverting input(s) - Comparator outputs externally accessible • 8-Bit Digital-to-Analog Converter (DAC): - 8-bit resolution, rail-to-rail - Positive Reference Selection • Voltage Reference: - Fixed Voltage Reference (FVR): 1.024V, 2.048V and 4.096V output levels • Zero-Cross Detect (ZCD): - Detect when AC signal on pin crosses ground • Two High-Current Drive Pins: - 100mA @ 5V  2014-2017 Microchip Technology Inc. Clocking Structure • 16 MHz Internal Oscillator: - ±1% at calibration - Selectable frequency range from 32 MHz to 31 kHz • 31 kHz Low-Power Internal Oscillator • 4x Phase-Locked Loop (PLL): - For up to 32 MHz internal operation • External Oscillator Block with: - Three external clock modes up to 32 MHz DS40001737C-page 2 Program Memory Flash (W) Program Memory Flash (kB) Data SRAM (bytes) High Endurance Flash (bytes) I/O Pins 8-bit Timer with HLT 16-bit Timer Angular Timer Windowed Watchdog Timer 24-bit SMT Comparators 10-bit ADC (ch) Zero-Cross Detect CCP/10-bit PWM CWG CLC CRC with Memory Scan Math Accelerator with PID High-Current I/O 100mA PPS EUSART I2C/SPI PIC12/16(L)F161X FAMILY TYPES Data Sheet Index  2014-2017 Microchip Technology Inc. TABLE 1: PIC12(L)F1612 (A) 2048 3.5 256 128 6 4 1 0 Y 1 1 4 1 2/0 1 0 Y 0 0 N 0 0 PIC16(L)F1613 (A) 2048 3.5 256 128 12 4 1 0 Y 2 2 8 1 2/0 1 0 Y 0 0 N 0 0 PIC16(L)F1614 (B) 4096 7 512 128 12 4 3 1 Y 2 2 8 1 2/2 1 2 Y 1 2 Y 1 1 PIC16(L)F1615 (C) 8192 14 1024 128 12 4 3 1 Y 2 2 8 1 2/2 1 4 Y 1 2 Y 1 1 PIC16(L)F1618 (B) 4096 7 512 128 18 4 3 1 Y 2 2 12 1 2/2 1 2 Y 1 2 Y 1 1 PIC16(L)F1619 (C) 8192 14 1024 128 18 4 3 1 Y 2 2 12 1 2/2 1 4 Y 1 2 Y 1 1 Device Debugging Methods: (I) – Integrated on Chip; (H) – via ICD Header; E – using Emulation Product Data Sheet Index: A. DS40001737 PIC12(L)F1612/16(L)F1613 Data Sheet, 8/14-Pin, 8-bit Flash Microcontrollers B. DS40001769 PIC16(L)F1614/8 Data Sheet, 14/20-Pin, 8-bit Flash Microcontrollers C. DS40001770 PIC16(L)F1615/9 Data Sheet, 14/20-Pin, 8-bit Flash Microcontrollers Note: For other small form-factor package availability and marking information, please visit http://www.microchip.com/packaging or contact your local sales office. DS40001737C-page 3 PIC12(L)F1612/16(L)F1613 Note 1: PIC12(L)F1612/16(L)F1613 TABLE 2: PACKAGES Packages PDIP SOIC DFN UDFN       PIC12(L)F1612 PIC16(L)F1613 Note: TSSOP QFN UQFN    SSOP Pin details are subject to change. PIN DIAGRAMS 8-pin PDIP, SOIC, DFN, UDFN VDD 1 8 VSS RA5 2 7 RA0 3 4 6 RA1 5 RA2 RA4 RA3 14-pin PDIP, SOIC, TSSOP 1 14 RA5 VDD 2 13 VSS RA0/ICSPDAT RA4 12 RA1/ICSPCLK MCLR/VPP/RA3 3 4 11 RA2 RC5 5 10 RC0 RC4 6 9 RC1 7 8 RC2 RC3 VDD NC NC Vss 16-pin QFN, UQFN 16 15 14 13 RA5 RA4 RA3/MCLR/VPP RC5 1 12 2 11 3 10 4 9 6 7 8 RC4 RC3 RC2 RC1 5 RA0 RA1 RA2 RC0  2014-2017 Microchip Technology Inc. DS40001737C-page 4 PIC12(L)F1612/16(L)F1613 PIN ALLOCATION TABLES — CCP2 VREF+ — — RA2 5 AN2 — C1OUT T0CKI CCP1 RA3 4 — — — T1G(1) T6IN — — RA4 3 AN3 — C1IN1- T1G — RA5 2 — — — T1CKI T2IN VDD 1 — — — — — VSS 8 — — — — — Note Basic C1IN+ C1IN0- Pull-up CCP DAC1OUT1 AN1 SMT Timers AN0 6 Interrupt Comparator 7 RA1 ZCD Reference RA0 CWG I/O A/D 8-PIN ALLOCATION TABLE (PIC12(L)F1612) 8-Pin PDIP, SOIC, DFN, UDFN TABLE 3: CWG1B — IOC — Y ICSPDAT — ZCD1OUT IOC — Y ICSPCLK CWG1A CWG1IN ZCD1IN INT IOC SMTSIG2 Y — — IOC SMTWIN2 Y MCLR/VPP — IOC SMTSIG1 Y CLKOUT — IOC SMTWIN1 Y CLKIN — — — — — VDD — — — — — VSS CWG1B(1) CCP1 (1) CWG1A (1) Alternate pin function selected with the APFCON register. 1: A/D Reference Comparator Timers CCP CWG ZCD Interrupt SMT Pull-up RA0 13 12 AN0 DAC1OUT1 C1IN+ — — — — IOC — Y ICSPDAT RA1 12 11 AN1 VREF+ C1IN0C2IN0- — — — ZCD1OUT IOC — Y ICSPCLK RA2 11 10 AN2 — C1OUT T0CKI T4IN — CWG1IN ZCD1IN INT IOC — Y — RA3 4 3 — — — T1G(1) T6IN — — — IOC SMTWIN2 Y MCLR/VPP RA4 3 2 AN3 — — T1G — — — IOC SMTSIG1 Y CLKOUT RA5 2 1 — — — — IOC SMTWIN1 Y CLKIN RC0 10 9 AN4 — C2IN+ — — — — IOC — Y — RC1 9 8 AN5 — C1IN1C2IN1- T4IN — — — IOC SMTSIG2 Y — RC2 8 7 AN6 — C1IN2C2IN2- — — CWG1D — IOC — Y — RC3 7 6 AN7 — C1IN3C2IN3- — CCP2 CWG1C — IOC — Y — RC4 6 5 — — C2OUT — — CWG1B — IOC — Y — RC5 5 4 — — — — CCP1 CWG1A — IOC — Y — VDD 1 16 — — — — — — — — — — VDD VSS 14 13 — — — — — — — — — — VSS Note 1: — T1CKI T2IN CCP2 (1) Basic I/O 16-Pin QFN, UQFN 14/16-PIN ALLOCATION TABLE (PIC16(L)F1613) 14-Pin PDIP, SOIC, TSSOP TABLE 4: Alternate pin function selected with the APFCON register.  2014-2017 Microchip Technology Inc. DS40001737C-page 5 PIC12(L)F1612/16(L)F1613 TABLE OF CONTENTS 1.0 Device Overview .......................................................................................................................................................................... 8 2.0 Enhanced Mid-Range CPU ........................................................................................................................................................ 15 3.0 Memory Organization ................................................................................................................................................................. 17 4.0 Device Configuration .................................................................................................................................................................. 51 5.0 Oscillator Module........................................................................................................................................................................ 58 6.0 Resets ........................................................................................................................................................................................ 69 7.0 Interrupts .................................................................................................................................................................................... 77 8.0 Power-Down Mode (Sleep) ........................................................................................................................................................ 92 9.0 Windowed Watchdog Timer (WDT)............................................................................................................................................ 95 10.0 Flash Program Memory Control ............................................................................................................................................... 103 11.0 Cyclic Redundancy Check (CRC) Module ............................................................................................................................... 119 12.0 I/O Ports ................................................................................................................................................................................... 131 13.0 Interrupt-On-Change ................................................................................................................................................................ 146 14.0 Fixed Voltage Reference (FVR) ............................................................................................................................................... 151 15.0 Temperature Indicator Module ................................................................................................................................................. 154 16.0 Analog-to-Digital Converter (ADC) Module .............................................................................................................................. 156 17.0 8-bit Digital-to-Analog Converter (DAC1) Module .................................................................................................................... 170 18.0 Comparator Module.................................................................................................................................................................. 174 19.0 Zero-Cross Detection (ZCD) Module........................................................................................................................................ 182 20.0 Timer0 Module ......................................................................................................................................................................... 188 21.0 Timer1/3/5 Module with Gate Control....................................................................................................................................... 191 22.0 Timer2/4/6 Module ................................................................................................................................................................... 203 23.0 Capture/Compare/PWM Modules ............................................................................................................................................ 223 24.0 Complementary Waveform Generator (CWG) Module ............................................................................................................ 237 25.0 Signal Measurement Timer (SMT) ........................................................................................................................................... 263 26.0 In-Circuit Serial Programming™ (ICSP™) ............................................................................................................................... 306 27.0 Instruction Set Summary .......................................................................................................................................................... 308 28.0 Electrical Specifications............................................................................................................................................................ 322 29.0 DC and AC Characteristics Graphs and Charts ....................................................................................................................... 346 30.0 Development Support............................................................................................................................................................... 365 31.0 Packaging Information.............................................................................................................................................................. 369 Appendix A: Data Sheet Revision History ......................................................................................................................................... 393  2014-2017 Microchip Technology Inc. DS40001737C-page 6 PIC12(L)F1612/16(L)F1613 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@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 Website 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 Website; http://www.microchip.com • Your local Microchip sales office (see last page) When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are using. Customer Notification System Register on our website at www.microchip.com to receive the most current information on all of our products.  2014-2017 Microchip Technology Inc. DS40001737C-page 7 PIC12(L)F1612/16(L)F1613 1.0 DEVICE OVERVIEW The PIC12(L)F1612/16(L)F1613 are described within this data sheet. The block diagram of these devices are shown in Figure 1-1, the available peripherals are shown in Table 1-1, and the pin out descriptions are shown in Tables 1-2 and 1-3. Peripheral PIC16(L)F1613 DEVICE PERIPHERAL SUMMARY PIC12(L)F1612 TABLE 1-1: Analog-to-Digital Converter (ADC) ● ● Complementary Wave Generator (CWG) ● ● Cyclic Redundancy Check (CRC) ● ● Digital-to-Analog Converter (DAC) ● ● Fixed Voltage Reference (FVR) ● ● Temperature Indicator ● ● Windowed Watchdog Timer (WDT) ● ● Zero Cross Detection (ZCD) ● ● CCP1 ● ● CCP2 ● ● C1 ● ● Capture/Compare/PWM (CCP) Modules Comparators C2 ● Signal Measurement Timer (SMT) SMT1 ● ● SMT2 ● ● Timer0 ● ● Timer1 ● ● Timer2 ● ● Timer4 ● ● Timer6 ● ● Timers  2014-2017 Microchip Technology Inc. DS40001737C-page 8 PIC12(L)F1612/16(L)F1613 1.1 1.1.1 Register and Bit Naming Conventions REGISTER NAMES When there are multiple instances of the same peripheral in a device, the peripheral control registers will be depicted as the concatenation of a peripheral identifier, peripheral instance, and control identifier. The control registers section will show just one instance of all the register names with an ‘x’ in the place of the peripheral instance number. This naming convention may also be applied to peripherals when there is only one instance of that peripheral in the device to maintain compatibility with other devices in the family that contain more than one. 1.1.2 BIT NAMES There are two variants for bit names: • Short name: Bit function abbreviation • Long name: Peripheral abbreviation + short name 1.1.2.1 Short Bit Names Short bit names are an abbreviation for the bit function. For example, some peripherals are enabled with the EN bit. The bit names shown in the registers are the short name variant. Short bit names are useful when accessing bits in C programs. The general format for accessing bits by the short name is RegisterNamebits.ShortName. For example, the enable bit, EN, in the COG1CON0 register can be set in C programs with the instruction COG1CON0bits.EN = 1. Short names are generally not useful in assembly programs because the same name may be used by different peripherals in different bit positions. When this occurs, during the include file generation, all instances of that short bit name are appended with an underscore plus the name of the register in which the bit resides to avoid naming contentions. 1.1.2.2 Long Bit Names Long bit names are constructed by adding a peripheral abbreviation prefix to the short name. The prefix is unique to the peripheral, thereby making every long bit name unique. The long bit name for the COG1 enable bit is the COG1 prefix, G1, appended with the enable bit short name, EN, resulting in the unique bit name G1EN. Long bit names are useful in both C and assembly programs. For example, in C the COG1CON0 enable bit can be set with the G1EN = 1 instruction. In assembly, this bit can be set with the BSF COG1CON0,G1EN instruction.  2014-2017 Microchip Technology Inc. 1.1.2.3 Bit Fields Bit fields are two or more adjacent bits in the same register. Bit fields adhere only to the short bit naming convention. For example, the three Least Significant bits of the COG1CON0 register contain the mode control bits. The short name for this field is MD. There is no long bit name variant. Bit field access is only possible in C programs. The following example demonstrates a C program instruction for setting the COG1 to the Push-Pull mode: COG1CON0bits.MD = 0x5; Individual bits in a bit field can also be accessed with long and short bit names. Each bit is the field name appended with the number of the bit position within the field. For example, the Most Significant mode bit has the short bit name MD2 and the long bit name is G1MD2. The following two examples demonstrate assembly program sequences for setting the COG1 to Push-Pull mode: Example 1: MOVLW ANDWF MOVLW IORWF ~(13&  ! $&" &*#   ! $# # &*#   ! $# ##  !7 &3?  #&  "# &!     >@3G J
PIC12F1612-I/P 价格&库存

很抱歉,暂时无法提供与“PIC12F1612-I/P”相匹配的价格&库存,您可以联系我们找货

免费人工找货