Example: tourism industry

8-Pin Flash Microcontrollers with XLP Technology

2011-2015 Microchip Technology 1 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 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 memoryFlexible 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 M

2011-2015 Microchip Technology Inc. DS40001441F-page 3 PIC12(L)F1840 FIGURE 1: 8-PIN DIAGRAM FOR PIC12(L)F1840 TABLE 1: 8-PIN

Tags:

  With, Technology, Microcontrollers, Flash, Pin flash microcontrollers with xlp technology

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of 8-Pin Flash Microcontrollers with XLP Technology

1 2011-2015 Microchip Technology 1 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 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 memoryFlexible 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.

2 - Allows for safe shutdown if peripheral clock stops Two-Speed Oscillator Start-up Reference Clock module:- Programmable clock output frequency and duty-cycleSpecial Microcontroller Features Operating Voltage Range:- (PIC12F1840)- (PIC12LF1840) Self-Reprogrammable 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) Programmable Code Protection Power-Saving Sleep modeExtreme Low-Power Management with PIC12LF1840 XLP Sleep mode.

3 20 nA @ , typical Watchdog Timer: 500 nA @ , typical Timer1 Oscillator: 300 nA @ 32 kHz, , typical Operating Current: 30 A/MHz @ , typicalAnalog Features Analog-to-Digital Converter (ADC) module:- 10-bit resolution, 4 channels- Conversion available during Sleep Analog Comparator module:- One rail-to-rail analog comparator- Power mode control- Software controllable hysteresis Voltage Reference module:- Fixed Voltage Reference (FVR) with , and output levels- 5-bit rail-to-rail resistive DAC with positive and negative reference selectionPeripheral Highlights 5 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 Timer2.

4 8-Bit Timer/Counter with 8-Bit PeriodRegister, Prescaler and Postscaler Enhanced CCP (ECCP) module:- Software selectable time bases- Auto-shutdown and auto-restart- PWM steering Master Synchronous Serial Port (MSSP) with SPI and I2 CTM with :- 7-bit address masking- SMBus/PMBusTM compatibility Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) module:- RS-232, RS-485 and LIN compatible- Auto-Baud Detect Capacitive Sensing (CPS) module (mTouchTM):- 4 input channelsPIC12(L)F18408-Pin Flash Microcontrollers with XLP TechnologyPIC12(L)F1840DS40001441F-page 2 2011-2015 Microchip Technology Features (Continued) Data Signal Modulator module:- Selectable modulator and carrier sources SR Latch.

5 - Multiple Set/Reset input options- Emulates 555 Timer applicationsPIC12(L)F1822/1840/PIC16(L)F 182X/1847 Family TypesDeviceData Sheet IndexProgram MemoryFlash (words)Data EEPROM(bytes)Data SRAM(bytes)I/O s(2)10-bit ADC (ch)CapSense (ch)ComparatorsTimers(8/16-bit)EUSARTMSS P (I2C /SPI)ECCP (Full-Bridge)ECCP (Half-Bridge)CCPSR LatchDebug(1)XLPPIC12(L)F1822(1)2K256128 64412/1110/1/0YI/HYPIC12(L)F1840(2)4K256 25664412/1110/1/0YI/HYPIC16(L)F1823(1)2K 256128128822/1111/0/0YI/HYPIC16(L)F1824( 3)4K256256128824/1111/1/2YI/HYPIC16(L)F1 825(4)8K2561024128824/1111/1/2YI/HYPIC16 (L)F1826(5)2K25625616121222/1111/0/0YI/H YPIC16(L)F1827(5)4K25638416121224/1121/1 /2YI/HYPIC16(L)F1828(3)4K25625618121224/ 1111/1/2YI/HYPIC16(L)F1829(4)8K256102418 121224/1121/1/2YI/HYPIC16(L)F1847(6)8K25 6102416121224/1121/1/2YI/HYNote 1:I - Debugging, Integrated on Chip; H - Debugging, available using Debug :One pin is Sheet Index: (Unshaded devices are described in this document.)

6 1:DS41413 PIC12(L)F1822/PIC16(L)F1823 Data Sheet, 8/14-Pin Flash :DS41441 PIC12(L)F1840 Data Sheet, 8-Pin Flash :DS41419 PIC16(L)F1824/1828 Data Sheet, 28/40/44-Pin Flash :DS41440 PIC16(L)F1825/1829 Data Sheet, 14/20-Pin Flash :DS41391 PIC16(L)F1826/1827 Data Sheet, 18/20/28-Pin Flash :DS41453 PIC16(L)F1847 Data Sheet, 18/20/28-Pin Flash :For other small form-factor package availability and marking information, please or contact your local sales office. 2011-2015 Microchip Technology 3 PIC12(L)F1840 FIGURE 1: 8-Pin DIAGRAM FOR PIC12(L)F1840 TABLE 1.

7 8-Pin ALLOCATION TABLE (PIC12(L)F1840)I/O8-Pin PDIP/SOIC/DFN/UDFNADCR eferenceCap SenseComparatorSR LatchTimersECCPEUSARTMSSPI nterruptModulatorPull-upBasicRA07AN0 DACOUTCPS0C1IN+ P1 BTXCKSDOSS(1)IOCMDOUTYICSPDATICDDATRA16A N1 VREFCPS1C1IN0-SRI RXDTSCLSCKIOCMDMINYICSPCLKICPCLKRA25AN2 CPS2C1 OUTSRQT0 CKICCP1P1 AFLT0 SDASDIINT/IOCMDCIN1Y RA34 T1G(1) SSIOC YMCLRVPPRA43AN3 CPS3C1IN1- T1GT1 OSOP1B(1)TX(1)CK(1)SDO(1)IOCMDCIN2 YOSC2 CLKOUTCLKRRA52 SRNQT1 CKIT1 OSICCP1(1)P1A(1)RX(1)DT(1) IOC YOSC1 CLKINVDD1 VDDVSS8 VSSNote 1:Alternate pin function selected with the APFCON (Register 12-1) , SOIC, DFN, UDFN12348765 VDDRA5RA4 MCLR/VPP/RA3 VSSRA0/ICSPDATRA1/ICSPCLKRA2 Note 1:See Ta b l e 1 for the location of all peripheral (L)F1840 PIC12(L)F1840DS40001441F-page 4 2011-2015 Microchip Technology of Overview.

8 Mid-range CPU .. Organization .. Configuration .. Module ( with Fail-Safe Clock Monitor) .. Clock Module .. Mode (Sleep) .. Watchdog Timer (WDT) .. Data EEPROM and Flash Program Memory Control .. I/O Ports .. Interrupt-on-Change .. Fixed Voltage Reference (FVR) .. Temperature Indicator Module .. Analog-to-Digital Converter (ADC) Module .. Digital-to-Analog Converter (DAC) Module .. SR Comparator Timer0 Module .. Timer1 Module with Gate Timer2 Module.

9 Data Signal Modulator .. Capture/Compare/PWM Modules .. Master Synchronous Serial Port Module .. Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) .. Capacitive Sensing (CPS) Module .. In-Circuit Serial Programming (ICSP ) .. Instruction Set Summary .. Electrical DC and AC Characteristics Graphs and Charts .. Development Packaging 380 Appendix A: Data Sheet Revision History .. 393 Appendix B: Migrating From Other PIC Devices .. 393 The Microchip Web Site.

10 394 Customer Change Notification Service .. 394 Customer Support .. 394 Product Identification 395 2011-2015 Microchip Technology 5 PIC12(L)F1840TO 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. 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).


Related search queries