Example: tourism industry

PIC18FXX2 Data Sheet - Microchip Technology

2006 Microchip Technology SheetHigh-Performance, Enhanced FlashMicrocontrollers with 10-Bit A/DDS39564C-page ii 2006 Microchip Technology contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use.

FLASH (bytes) (bytes) # Single Word Instructions PIC18F242 16K 8192 768 256 PIC18F252 32K 16384 1536 256 PIC18F442 16K 8192 768 256 PIC18F452 32K 16384 1536 256 28/40-pin High Performance, Enhanced FLASH Microcontrollers with 10-Bit A/D

Tags:

  Flash

Information

Domain:

Source:

Link to this page:

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

Other abuse

Transcription of PIC18FXX2 Data Sheet - Microchip Technology

1 2006 Microchip Technology SheetHigh-Performance, Enhanced FlashMicrocontrollers with 10-Bit A/DDS39564C-page ii 2006 Microchip Technology contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use.

2 No licenses areconveyed, implicitly or otherwise, under any Microchipintellectual property Microchip name and logo, the Microchip logo, Accuron, dsPIC, KEELOQ, microID, MPLAB, PIC, PICmicro, PICSTART, PRO MATE, PowerSmart, rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the and other , FilterLab, Migratable Memory, MXDEV, MXLAB, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the Age, Application Maestro, CodeGuard, dsPICDEM, , dsPICworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Linear Active Thermistor, Mindi, MiWi, MPASM, MPLIB, MPLINK, PICkit, PICDEM, , PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the and other is a service mark of Microchip Technology Incorporated in the other trademarks mentioned herein are property of their respective companies.

3 2006, Microchip Technology Incorporated, Printed in the , All Rights Reserved. Printed on recycled 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.

4 Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of ourproducts. Attempts to break Microchip s code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona, Gresham, Oregon and Mountain View, California. The Company s quality system processes and procedures are for its PICmicro 8-bit MCUs, 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. 2006 Microchip Technology 1 PIC18 FXX2 High Performance RISC CPU: C compiler optimized architecture/instruction set- Source code compatible with the PIC16 and PIC17 instruction sets Linear program memory addressing to 32 Kbytes Linear data memory addressing to Kbytes Up to 10 MIPs operation: - DC - 40 MHz input- 4 MHz - 10 MHz input with PLL active 16-bit wide instructions, 8-bit wide data path Priority levels for interrupts 8 x 8 Single Cycle Hardware MultiplierPeripheral Features: High current sink/source 25 mA/25 mA Three external interrupt pins Timer0 module: 8-bit/16-bit timer/counter with 8-bit programmable prescaler Timer1 module: 16-bit timer/counter Timer2 module: 8-bit timer/counter with 8-bit period register (time-base for PWM) Timer3 module: 16-bit timer/counter Secondary oscillator clock option - Timer1/Timer3 Two Capture/Compare/PWM (CCP) modules.

5 CCP pins that can be configured as:- Capture input: capture is 16-bit, max. resolution ns (TCY/16)- Compare is 16-bit, max. resolution 100 ns (TCY)- PWM output: PWM resolution is 1- to 10-bit, max. PWM freq. @: 8-bit resolution = 156 kHz10-bit resolution = 39 kHz Master Synchronous Serial Port (MSSP) module, Two modes of operation:- 3-wire SPI (supports all 4 SPI modes)-I2C Master and Slave modePeripheral Features (Continued): Addressable USART module:- Supports RS-485 and RS-232 Parallel Slave Port (PSP) moduleAnalog Features: Compatible 10-bit Analog-to-Digital Converter module (A/D) with:- Fast sampling rate- Conversion available during SLEEP-Linearity 1 LSb Programmable Low Voltage Detection (PLVD) - Supports interrupt on-Low Voltage Detection Programmable Brown-out Reset (BOR)Special Microcontroller Features: 100,000 erase/write cycle Enhanced flash program memory typical 1,000,000 erase/write cycle Data EEPROM memory flash /Data EEPROM Retention.

6 > 40 years Self-reprogrammable under software control Power-on Reset (POR), Power-up Timer (PWRT) and Oscillator Start-up Timer (OST) Watchdog Timer (WDT) with its own On-Chip RC Oscillator for reliable operation Programmable code protection Power saving SLEEP mode Selectable oscillator options including:- 4X Phase Lock Loop (of primary oscillator)- Secondary Oscillator (32 kHz) clock input Single supply 5V In-Circuit Serial Programming (ICSP ) via two pins In-Circuit Debug (ICD) via two pinsCMOS Technology : Low power, high speed flash /EEPROM Technology Fully static design Wide operating voltage range ( to ) Industrial and Extended temperature ranges Low power consumption:- < mA typical @ 5V, 4 MHz-25 A typical @ 3V, 32 kHz- < A typical standby currentDeviceOn-Chip Program MemoryOn-ChipRAM(bytes)Data EEPROM (bytes) flash (bytes)# Single Word InstructionsPIC18F24216K8192768256 PIC18F25232K163841536256 PIC18F44216K8192768256 PIC18F45232K16384153625628/40-pin High Performance.

7 Enhanced flash Microcontrollers with 10-Bit A/DPIC18 FXX2DS39564C-page 2 2006 Microchip Technology Diagrams 1011121314151617181920212223242526448765 432127282930313233343536373839404142439 PIC18F442RA4/T0 CKIRA5/AN4/SS/LVDINRE0/RD/AN5 OSC2/CLKO/RA6 NCRE1/WR/AN6RE2/CS/AN7 VDDOSC1/CLKIRB3/CCP2*RB2/INT2RB1/INT1RB0 /INT0 VDDVSSRD7/PSP7RD6/PSP6RD5/PSP5RD4/PSP4RC 7/RX/DTRA3/AN3/VREF+RA2/AN2/VREF-RA1/AN1 RA0/AN0 MCLR/VPPNCRB7/PGDRB6/PGCRB5/PGMRB4 NCNCRC6/TX/CKRC5/SDORC4/SDI/SDARD3/PSP3R D2/PSP2RD1/PSP1RD0/PSP0RC3/SCK/SCLRC2/CC P1RC1/T1 OSI/CCP2*1011234561181920212212131415388 7444342414039161729303132332324252627283 634359 PIC18F44237RA3/AN3/VREF+RA2/AN2/VREF-RA1 /AN1RA0/AN0 MCLR/VPPNCRB7/PGDRB6/PGCRB5/PGMRB4 NCRC6/TX/CKRC5/SDORC4/SDI/SDARD3/PSP3RD2 /PSP2RD1/PSP1RD0/PSP0RC3/SCK/SCLRC2/CCP1 RC1/T1 OSI/CCP2*NCNCRC0/T1 OSO/T1 CKIOSC2/CLKO/RA6 OSC1/CLKIVSSVDDRE2/AN7/CSRE1/AN6/WRRE0/A N5/RDRA5/AN4/SS/LVDINRA4/T0 CKIRC7/RX/DTRD4/PSP4RD5/PSP5RD6/PSP6RD7/ PSP7 VSSVDDRB0/INT0RB1/INT1RB2/INT2RB3/CCP2*P LCCTQFP* RB3 is the alternate pin for the CCP2 pin PIC18F452 PIC18F452 2006 Microchip Technology 3 PIC18 FXX2 Pin Diagrams (Cont.)

8 D) RB7/PGDRB6/PGCRB5/PGMRB4RB3/CCP2*RB2/INT 2RB1/INT1RB0/INT0 VDDVSSRD7/PSP7RD6/PSP6RD5/PSP5RD4/PSP4RC 7/RX/DTRC6/TX/CKRC5/SDORC4/SDI/SDARD3/PS P3RD2/PSP2 MCLR/VPPRA0/AN0RA1/AN1RA2/AN2/VREF-RA3/A N3/VREF+RA4/T0 CKIRA5/AN4/SS/LVDINRE0/RD/AN5RE1/WR/AN6R E2/CS/AN7 VDDVSSOSC1/CLKIOSC2/CLKO/RA6RC0/T1 OSO/T1 CKIRC1/T1 OSI/CCP2*RC2/CCP1RC3/SCK/SCLRD0/PSP0RD1/ PSP1123456789101112131415161718192040393 83736353433323130292827262524232221 PIC18F442 PIC18F2421011234561879121314151617181920 2324252627282221 MCLR/VPPRA0/AN0RA1/AN1RA2/AN2/VREF-RA3/A N3/VREF+RA4/T0 CKIRA5/AN4/SS/LVDINVSSOSC1/CLKIOSC2/CLKO /RA6RC0/T1 OSO/T1 CKIRC1/T1 OSI/CCP2*RC2/CCP1RC3/SCK/SCLRB7/PGDRB6/P GCRB5/PGMRB4RB3/CCP2*RB2/INT2RB1/INT1RB0 /INT0 VDDVSSRC7/RX/DTRC6/TX/CKRC5/SDORC4/SDI/S DA* RB3 is the alternate pin for the CCP2 pin , SOICNote: Pin compatible with 40-pin PIC16C7X devices. PIC18F452 PIC18F252 PIC18 FXX2DS39564C-page 4 2006 Microchip Technology of Overview .. Configurations .. Organization .. Program Memory.

9 EEPROM Memory .. X 8 Hardware Multiplier .. Ports .. Timer0 Module .. Timer1 Module .. Timer2 Module .. Timer3 Module .. Capture/Compare/PWM (CCP) Modules .. Master Synchronous Serial Port (MSSP) Module .. Addressable Universal Synchronous Asynchronous Receiver Transmitter (USART).. Compatible 10-bit Analog-to-Digital Converter (A/D) Low Voltage Detect .. Special Features of the CPU .. Instruction Set Summary .. Development Electrical Characteristics .. DC and AC Characteristics Graphs and Tables .. Packaging 305 Appendix A: Revision History .. 313 Appendix B: Device Differences .. 313 Appendix C: Conversion Considerations .. 314 Appendix D: Migration from Baseline to Enhanced Devices .. 314 Appendix E: Migration from Mid-range to Enhanced 315 Appendix F: Migration from High-end to Enhanced Devices .. 315 Index .. 317On-Line 327 Reader Response .. 328 PIC18 FXX2 Product Identification 329 2006 Microchip Technology 5 PIC18 FXX2TO OUR VALUED CUSTOMERSIt is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchipproducts.

10 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 or fax the Reader Response Form in the back of this data Sheet to (480) 792-4150. Wewelcome 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, ( , DS30000A is version A of document DS30000).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.


Related search queries