Transcription of PIC16(L)F1703/7 Data Sheet - Microchip Technology
1 2013-2015 Microchip Technology 1 PIC16(L)F1703/7 Core Features C Compiler Optimized RISC Architecture Only 49 Instructions Operating Speed:-0-32 MHz- 125 ns minimum instruction cycle Interrupt Capability 16-Level Deep Hardware Stack Up to Two 8-Bit Timers One 16-bit Timer Power-on Reset (POR) Power-up Timer (PWRT) Low-Power Brown-out Reset (LPBOR) Programmable Watchdog Timer (WDT) up to 256s Programmable Code ProtectionMemory Two Kwords Flash Program Memory 256 Bytes Data SRAM Memory Direct, Indirect and Relative Addressing modes High-Endurance Flash Data Memory (HEF)- 128 bytes of nonvolatile data storage- 100k erase/write cyclesOperating Characteristics Operating Voltage Range:- to (PIC16LF1703/7)- to (PIC16F1703/7) Temperature Range:- Industrial: -40 C to 85 C- Extended: -40 C to 125 CDigital Peripherals Capture/Compare/PWM (CCP) module Serial Communications:- SPI, I2C Up to 18 I/O Pins and One Input Pin:- Individually programmable weak pull-ups- Slew rate control- Interrupt-on-change with edge-select Peripheral Pin Select (PPS):- Enables pin mapping of digital I/OeXtreme Low-Power (XLP) Features Sleep mode: 50 nA @ , typical Watchdog Timer: 500 nA @ , typical Operating Current:- 8 uA @ 32 kHz, , typical- 32 uA/MHz @ , typicalIntelligent Analog Peripherals Operational Amplifiers:- Two configurable rail-to-rail Op Amps- Selectable internal and external channels- 2 MHz gain bandwidth product 10-Bit Analog-to-Digital Converter (ADC):- Up to 12 external channels- Conversion available during Sleep- Temperature Indicator Zero-Cross Detector (ZCD).
2 - Detect when AC signal on pin crosses groundClocking Structure 16 MHz Internal Oscillator Block:- 1% at calibration- Selectable frequency range from 0 to 32 MHz 31 kHz Low-Power Internal OscillatorProgramming/Debug Features In-Circuit Debug Integrated On-Chip Emulation Header for Advanced Debug:- Provides trace, background debug and up to 32 hardware break points In-Circuit Serial Programming (ICSP ) via Two Pins14/20-Pin 8-Bit Advanced Analog Flash MicrocontrollersPIC16(L) f1703 /7DS4000172 2C-page 2 2013-2015 Microchip Technology (L)F170x Family TypesDeviceData Sheet IndexProgram MemoryFlash (words)Data SRAM(bytes)High-EnduranceFlash (bytes)I/O s(2)10-bit ADC (ch)8-bit DACHigh-Speed/ComparatorsOp AmpZero CrossTimers(8/16-bit)CCPPWMCOGEUSARTMSSP (I2C/SPI)CLCPPSD ebug(1)XLPPIC16(L) f1703 (3)2048256128128 0 0 2 1 2/1 200010YI/EYPIC16(L)F1704(1)4096512128128 12214/1221113YI/EYPIC16(L)F1705(2)819210 2412812812214/1221113YI/EYPIC16(L)F1707( 3)204825612818120 0 2 1 2/1 200010YI/EYPIC16(L)F1708(1)4096512128181 212214/1221113YI/EYPIC16(L)F1709(2)81921 024128181212214/1221113YI/EYNote 1:Debugging Methods: (I) Integrated on Chip.
3 (H) using Debug Header; E using Emulation :One pin is Sheet Index: (Unshaded devices are described in this document.)1:DS40001715 pic16 (L)F1704/8 Data Sheet , 14/20-Pin Flash, 8-bit :DS40001729 pic16 (L)F1705/9 Data Sheet , 14/20-Pin Flash, 8-bit :DS40001722 PIC16(L)F1703/7 Data Sheet , 14/20-Pin Flash, 8-bit MicrocontrollersNote:For other small form-factor package availability and marking information, please or contact your local sales office. 2013-2015 Microchip Technology 3 PIC16(L)F1703/7 Pin DiagramsFIGURE 1:14-PIN DIAGRAM FOR pic16 (L) f1703 FIGURE 2:16-PIN PACKAGE DIAGRAM FOR pic16 (L) f1703 PDIP, SOIC, TSSOPPIC16(L)F17031234567 VDDRA5RA4 VPP/MCLR/RA3RC5RC4RC3RA0/ICSPDATRA1/ICSP CLKRA2RC0RC1RC2141312111098 VSS2319101112RC44 VSSRA0/ICSPDATRA1/ICSPCLKRA2RC0 NCNCVDDRA5RA4RA3/MCLR/VPPRC5RC3RC2RC1675 815141613 pic16 (L) f1703 QFNPIC16(L) f1703 /7DS40001722C-page 4 2013-2015 Microchip Technology 3:20-PIN PACKAGE DIAGRAM FOR pic16 (L)F1707 FIGURE 4.
4 20-PIN PACKAGE DIAGRAM FOR pic16 (L)F1707 PDIP, SOIC, SSOPPIC16(L)F17072345678910 VDDRA5RA4 VPP/MCLR/RA3RC5RC4RC3RC6RC7RB7RA0/ICSPDA TRA1/ICSPCLKRA2RC0RC1RC2RB4RB5RB62019181 7161514131211 VSS1 QFN2345167892019181716101213141511 pic16 (L)F1707RB4RB5RB6RB7RC7 VPP/MCLR/RA3RC5RC4RC3RC6RA4RA5 VDDVSSRA0/ICSPDATRA1/ICSPCLKRA2RC0RC1RC2 2013-2015 Microchip Technology 5 PIC16(L)F1703/7 TABLE 1:14/16-PIN ALLOCATION TABLE ( pic16 (L) f1703 )I/O(2)PDIP/SOIC/TSSOPQFNA DCR eferenceOp AmpZero CrossTimersCCPMSSPI nterruptPull-upBasicRA01312AN0 VREF- IOCYICSPDATRA11211AN1 VREF+ IOCYICSPCLKRA21110AN2 ZCDT0 CKI(1) INT(1)IOCY RA343 IOCYMCLRVPPRA432AN3 T1G(1) IOCYCLKOUTRA521 T1 CKI(1) IOCYCLKINRC0109AN4 OPA1IN+ SCK(1)SCL(3)IOCY RC198AN5 OPA1IN- SDI(1)SDA(3)IOCY RC287AN6 OPA1 OUT IOCY RC376AN7 OPA2 OUT CCP2(1)SS(1)IOCY RC465 OPA2IN- IOCY RC554 OPA2IN+ CCP1(1) IOCY VDD116 VDDVSS1413 VSSOUT(2) CCP1 SDA(3) CCP2 SCL(3)SCK SDO Note 1:Default peripheral input.
5 Input can be moved to any other pin with the PPS input selection registers. 2:All pin digital outputs default to PORT latch data. Any pin can be selected as a peripheral digital output with the PPS output selection :These peripheral functions are bidirectional. The output pin selections must be the same as the input pin (L) f1703 /7DS40001722C-page 6 2013-2015 Microchip Technology 2:20-PIN ALLOCATION TABLE ( pic16 (L)F1707)I/O(2)PDIP/SOIC/SSOPQFNAD CR eferenceOp AmpZero CrossTimersCCPMSSPI nterruptPull-upBasicRA01916AN0 VREF- IOCYICSPDATRA11815AN1 VREF+ IOCYICSPCLKRA21714AN2 ZCDT0 CKI(1) INT(1)IOCY RA341 IOCYMCLRVPPRA4320AN3 T1G(1) IOCYCLKOUTRA5219 T1 CKI IOCYCLKINRB41310AN10 OPA1IN- SCK(1)SDA(3)IOCY RB5129AN11 OPA1IN+ IOCY RB6118 SDI(1)SCL(3)IOCY RB7107 IOCY RC01613AN4 IOCY RC11512AN5 IOCY RC21411AN6 OPA1 OUT IOCY RC374AN7 OPA2 OUT CCP2(1) IOCY RC463 IOCY RC552 CCP1(1) IOCY RC685AN8 OPA2IN- SS(1)IOCY RC796AN9 OPA2IN+ IOCY VDD118 VDDVSS2017 VSSOUT(2) CPP1 SDA(3) CPP2 SCL(3)SCK SDO Note 1:Default peripheral input.
6 Input can be moved to any other pin with the PPS input selection registers. 2:All pin digital outputs default to PORT latch data. Any pin can be selected as a peripheral digital output with the PPS output selection :These peripheral functions are bidirectional. The output pin selections must be the same as the input pin selections. 2013-2015 Microchip Technology 7 PIC16(L)F1703/7 Table of Overview .. Mid-Range CPU .. Organization .. Configuration .. Module (with Fail-Safe Clock Monitor) .. Mode (Sleep) .. Timer (WDT) .. Flash Program Memory Control .. I/O Ports .. Peripheral Pin Select (PPS) Module .. Interrupt-On-Change .. Fixed Voltage Reference (FVR) .. Temperature Indicator Module .. Analog-to-Digital Converter (ADC) Module .. Operational Amplifier (OPA) Modules .. Zero-Cross Detection (ZCD) Timer0 Module.
7 Timer1 Module with Gate Timer2 Module .. Capture/Compare/PWM Modules .. Master Synchronous Serial Port (MSSP) Module .. In-Circuit Serial Programming (ICSP ) .. Instruction Set Summary .. Electrical DC and AC Characteristics Graphs and Charts .. Development Packaging 314 The Microchip Web Site .. 335 Customer Change Notification Service .. 335 Customer Support .. 335 Product Identification System .. 336 pic16 (L) f1703 /7DS40001722C-page 8 2013-2015 Microchip Technology OUR VALUED CUSTOMERSIt is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchipproducts. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined andenhanced as new volumes and updates are introduced.
8 If you have any questions or comments regarding this publication, please contact the Marketing Communications Department viaE-mail at We welcome your Current Data SheetTo obtain the most up-to-date version of this data Sheet , please register at our Worldwide Web site at: can determine the version of a data Sheet by examining its literature number found on the bottom outside corner of any last character of the literature number is the version number, ( , DS30000000A is version A of document DS30000000).ErrataAn errata Sheet , describing minor operational differences from the data Sheet and recommended workarounds, may exist for currentdevices. As device/documentation issues become known to us, we will publish an errata Sheet . The errata will specify the revisionof silicon and revision of document to which it determine if an errata Sheet exists for a particular device, please check with one of the following: Microchip s Worldwide Web site; 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 Notification SystemRegister on our web site at to receive the most current information on all of our products.
9 2013-2015 Microchip Technology 9 pic16 (L) f1703 OVERVIEWThe PIC16(L)F1703/7 are described within this datasheet. They are available in 14-pin and 20-pin DIPpackages and 16-pin and 20-pin QFN 1-1 shows a block diagram of thePIC16(L) f1703 /7 devices. Table 1-2 shows the Table 1-1 for peripherals available per 1-1:DEVICE PERIPHERAL SUMMARYP eripheralPIC16(L) f1703 pic16 (L)F1707 Analog-to-Digital Converter (ADC) Fixed Voltage Reference (FVR) Zero-Cross Detection (ZCD) Temperature Indicator Capture/Compare/PWM (CCP/ECCP) ModulesCCP1 CCP2 Master Synchronous Serial PortsMSSP Op AmpOp Amp 1 Op Amp 2 TimersTimer0 Timer1 Timer2 pic16 (L) f1703 /7DS40001722C-page 10 2013-2015 Microchip Technology 1-1: PIC16(L)F1703/7 BLOCK DIAGRAMPORTAPORTB(1)PORTCNote1: pic16 (L)F 1707 :See applicable chapters for more information on MemoryRAMT imingGenerationLFINTOSCO scillatorMCLRF igure 2-1 CLKINCLKOUTADC10-BitFVRTe m p.
10 IndicatorMSSPT imer2 Timer1 Timer0 CCPsOp AmpsHFINTOSC/ZCD 2013-2015 Microchip Technology 11 PIC16(L)F1703/7 TABLE 1-2: pic16 (L) f1703 PINOUT DESCRIPTION NameFunctionInput TypeOutput TypeDescriptionRA0/AN0/VREF-/ICSPDATRA0 TTL/ST CMOS General purpose ADC Channel 0 ADC Negative Voltage Reference ICSP Data +/ICSPCLKRA1 TTL/ST CMOS General purpose ADC Channel 1 +AN ADC Voltage Reference Serial Programming (1)/INT(1)RA2 TTL/ST CMOS General purpose ADC Channel 2 ANZero Cross Detection Current Timer0 clock External CMOS General purpose Master Clear with internal Programming (1)/CLKOUTRA4 TTL/ST CMOS General purpose ADC Channel 3 Timer1 gate CMOS FOSC/4 (1)/CLKINRA5 TTL/ST CMOS General purpose Timer1 clock External clock input (EC mode).RC0/AN4/OPA1IN+/SCK(1)/SCL(3)RC0 TTL/ST CMOS General purpose ADC Channel 4 +AN Operational Amplifier 1 non-inverting SPI I2C (1)/SDA(3)RC1 TTL/ST CMOS General purpose ADC Channel 5 Operational Amplifier 1 inverting SPI data I2C data CMOS General purpose ADC Channel 6 ANOperational Amplifier 1 :AN = Analog input or output CMOS = CMOS compatible input or outputOD= Open DrainTTL = TTL compatible inputST= Schmitt Trigger input with CMOS levels I2C= Schmitt Trigger input with I2C HV = High VoltageNote 1:Default peripheral input.