PIC 18F2550

1,148 views
1,095 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,148
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

PIC 18F2550

  1. 1. PIC18F2455/2550/4455/4550 28/40/44-Pin High-Performance, Enhanced Flash USB Microcontrollers with nanoWatt TechnologyUniversal Serial Bus Features: Peripheral Highlights:• USB V2.0 Compliant SIE • High current sink/source: 25 mA/25 mA• Low-speed (1.5 Mb/s) and full-speed (12 Mb/s) • Three external interrupts• Supports control, interrupt, isochronous and bulk • Four Timer modules (Timer0 to Timer3) transfers • Up to 2 Capture/Compare/PWM (CCP) modules:• Supports up to 32 endpoints (16 bidirectional) - Capture is 16-bit, max. resolution 6.25 ns (TCY/16)• 1-Kbyte dual access RAM for USB - Compare is 16-bit, max. resolution 100 ns (TCY)• On-board USB transceiver with on-chip voltage - PWM output: PWM resolution is 1 to 10-bit regulator • Enhanced Capture/Compare/PWM (ECCP) module:• Interface for off-chip USB transceiver - Multiple output modes• Streaming Parallel Port (SPP) for USB streaming - Selectable polarity transfers (40/44-pin devices only) - Programmable dead-time - Auto-Shutdown and Auto-RestartPower Managed Modes: • Addressable USART module:• Run: CPU on, peripherals on - LIN bus support• Idle: CPU off, peripherals on • Master Synchronous Serial Port (MSSP) module• Sleep: CPU off, peripherals off supporting 3-wire SPI™ (all 4 modes) and I2C™• Idle mode currents down to 5.8 µA typical Master and Slave modes• Sleep current down to 0.1 µA typical • 10-bit, up to 13-channels Analog-to-Digital Converter• Timer1 oscillator: 1.1 µA typical, 32 kHz, 2V module (A/D) with programmable acquisition time• Watchdog Timer: 2.1 µA typical • Dual analog comparators with input multiplexing• Two-Speed Oscillator Start-up Special Microcontroller Features:Flexible Oscillator Structure: • C compiler optimized architecture with optional• Five Crystal modes, including High-Precision PLL extended instruction set for USB • 100,000 erase/write cycle Enhanced Flash• Two External RC modes, up to 4 MHz program memory typical• Two External Clock modes, up to 40 MHz • 1,000,000 erase/write cycle data EEPROM• Internal oscillator block: memory typical - 8 user selectable frequencies, from 31 kHz to 8 MHz • Flash/data EEPROM retention: > 40 years - User tunable to compensate for frequency drift • Self-programmable under software control• Secondary oscillator using Timer1 @ 32 kHz • Priority levels for interrupts• Fail-Safe Clock Monitor • 8 x 8 Single Cycle Hardware Multiplier - Allows for safe shutdown if any clock stops • Extended Watchdog Timer (WDT): - Programmable period from 41 ms to 131s • Programmable Code Protection • Single-supply 5V In-Circuit Serial Programming™ (ICSP™) via two pins • In-Circuit Debug (ICD) via two pins • Wide operating voltage range (2.0V to 5.5V) Comparators Program Memory Data Memory MSSP EAUSART 10-bit CCP/ # Single- Timers Device FLASH SRAM EEPROM I/O A/D ECCP SPP Master Word SPI 8/16-bit (bytes) (bytes) (bytes) (ch) (PWM) I2C Instructions PIC18F2455 24K 12288 2048 256 24 10 2/0 No Y Y 1 2 1/3 PIC18F2550 32K 16384 2048 256 24 10 2/0 No Y Y 1 2 1/3 PIC18F4455 24K 12288 2048 256 35 13 1/1 Yes Y Y 1 2 1/3 PIC18F4550 32K 16384 2048 256 35 13 1/1 Yes Y Y 1 2 1/3 2003 Microchip Technology Inc. Advance Information DS39617A-page 1
  2. 2. PIC18F2455/2550/4455/4550Pin Diagrams 28-Pin SDIP, SOIC MCLR/VPP/RE3 1 28 RB7/KBI3/PGD RA0/AN0 2 27 RB6/KBI2/PGC RA1/AN1 3 26 RB5/KBI1/PGM RA2/AN2/VREF-/CVREF 4 25 RB4/AN11/KBI0/RCV 5 24 RB3/AN9/CCP2*/VPO PIC18F2455 PIC18F2550 RA3/AN3/VREF+ RA4/T0CKI/C1OUT 6 23 RB2/AN8/INT2/VMO RA5/AN4/SS/LVDIN/C2OUT 7 22 RB1/AN10/INT1/SCK/SCL VSS 8 21 RB0/AN12/INT0/SDI/SDA OSC1/CLKI/RA7 9 20 VDD OSC2/CLKO/RA6 10 19 VSS RC0/T1OSO/T13CKI 11 18 RC7/RX/DT/SDO RC1/T1OSI/CCP2*/UOE 12 17 RC6/TX/CK RC2/CCP1 13 16 D+/VP VUSB 14 15 D-/VM 40-Pin PDIP MCLR/VPP/RE3 1 40 RB7/KBI3/PGD RA0/AN0 2 39 RB6/KBI2/PGC RA1/AN1 3 38 RB5/KBI1/PGM RA2/AN2/VREF-/CVREF 4 37 RB4/AN11/KBI0/CSSPP RA3/AN3/VREF+ 5 36 RB3/AN9/CCP2*/VPO RA4/T0CKI/C1OUT 6 35 RB2/AN8/INT2/VMO RA5/AN4/SS/LVDIN/C2OUT 7 34 RB1/AN10/INT1/SCK/SCL RE0/CK1SPP/AN5 8 RB0/AN12/INT0/SDI/SDA PIC18F4455 PIC18F4550 33 RE1/CK2SPP/AN6 9 32 VDD RE2/OESPP/AN7 10 31 VSS AVDD 11 30 RD7/SPP7/P1D AVSS 12 29 RD6/SPP6/P1C OSC1/CLKI/RA7 13 28 RD5/SPP5/P1B OSC2/CLKO/RA6 14 27 RD4/SPP4 RC0/T1OSO/T13CKI 15 26 RC7/RX/DT/SDO RC1/T1OSI/CCP2*/UOE 16 25 RC6/TX/CK RC2/CCP1/P1A 17 24 D+/VP VUSB 18 23 D-/VM RD0/SPP0 19 22 RD3/SPP3 RD1/SPP1 20 21 RD2/SPP2 Note: Pinouts are subject to change. * Assignment of this feature is dependent on device configuration.DS39617A-page 2 Advance Information  2003 Microchip Technology Inc.
  3. 3. PIC18F2455/2550/4455/4550Pin Diagrams (Continued) RC1/T1OSI/CCP2*/UOE RC0/T1OSO/T13CKI RC2/CCP1/P1A 44-Pin QFN RC6/TX/CK RD3/SSP3 RD2/SSP2 RD1/SSP1 RD0/SSP0 D+/VP D-/VM VUSB 41 40 39 37 36 35 34 42 44 43 38 RC7/RX/DT/SDO 1 33 OSC2/CLKO/RA6 RD4/CCP2*/P2A 2 32 OSC1/CLKI/RA7 RD5/SSP5/P1B 3 31 VSS RD6/SSP6/P1C 4 30 AVSS RD7/SSP7/P1D 5 PIC18F4455 29 VDD VSS 6 28 AVDD AVDD 7 PIC18F4550 27 RE2/OESPP/AN7 VDD 8 26 RE1/CK2SPP/AN6 RB0/AN12/INT0/SDI 9 25 RE0/CK1SPP/AN5 RB1/AN10/INT1/SCK/SCL 10 24 RA5/AN4/SS/LVDIN/C2OUT RB2/AN8/INT2/VMO 11 23 RA4/T0CKI/C1OUT 15 16 17 18 19 20 21 22 12 13 14 RA0/AN0 RB4/AN11/KBI0/CSSPP RB5/KBI1/PGM RB3/AN9/CCP2*/VPO MCLR/VPP/RE3 RA1/AN1 RA2/AN2/VREF-/CVREF NC RB6/KBI2/PGC RB7/KBI3/PGD RA3/AN3/VREF+ RC1/T1OSI/CCP2*/UOE RC2/CCP1/P1A RC6/TX/CK RD3/SPP3 RD2/SPP2 RD1/SPP1 RD0/SPP0 44-Pin TQFP D+/VP D-/VM VUSB NC 41 40 39 37 36 35 34 42 44 43 38 RC7/RX/DT/SDO 1 33 NC RD4/SPP4 2 32 RC0/T1OSO/T13CKI RD5/SPP5/P1B 3 31 OSC2/CLKO/RA6 RD6/SPP6/P1C 4 30 OSC1/CLKI/RA7 RD7/SPP7/P1D 5 PIC18F4455 29 VSS VSS 6 28 VDD VDD 7 PIC18F4550 27 RE2/OESPP/AN7 RB0/AN12/INT0/SDI/SDA 8 26 RE1/CK2SPP/AN6 RB1/AN10/INT1/SCK/SCL 9 25 RE0/CK1SPP/AN5 RB2/AN8/INT2/VMO 10 24 RA5/AN4/SS/LVDIN/C2OUT RB3/AN9/CCP2*/VPO 11 23 RA4/T0CKI/C1OUT 15 16 17 18 19 20 21 22 12 13 14 RB4/AN11/KBI0/CSSPP RB5/KBI1/PGM MCLR/VPP/RE3 RA0/AN0 RA1/AN1 RA2/AN2/VREF-/CVREF NC NC RB6/KBI2/PGC RB7/KBI3/PGD RA3/AN3/VREF+ Note: Pinouts are subject to change. * Assignment of this feature is dependent on device configuration. 2003 Microchip Technology Inc. Advance Information DS39617A-page 3
  4. 4. PIC18F2455/2550/4455/4550NOTES:DS39617A-page 4 Advance Information  2003 Microchip Technology Inc.
  5. 5. Note 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 Microchips 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.”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 Act.Information contained in this publication regarding device Trademarksapplications and the like is intended through suggestion onlyand may be superseded by updates. It is your responsibility to The Microchip name and logo, the Microchip logo, dsPIC,ensure that your application meets with your specifications. KEELOQ, MPLAB, PIC, PICmicro, PICSTART, PRO MATE andNo representation or warranty is given and no liability is PowerSmart are registered trademarks of Microchipassumed by Microchip Technology Incorporated with respect Technology Incorporated in the U.S.A. and other countries.to the accuracy or use of such information, or infringement of FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVALpatents or other intellectual property rights arising from such and The Embedded Control Solutions Company areuse or otherwise. Use of Microchip’s products as critical registered trademarks of Microchip Technology Incorporatedcomponents in life support systems is not authorized except in the U.S.A.with express written approval by Microchip. No licenses areconveyed, implicitly or otherwise, under any intellectual Accuron, Application Maestro, dsPICDEM, dsPICDEM.net,property rights. ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In- Circuit Serial Programming, ICSP, ICEPIC, microPort, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, PICC, PICkit, PICDEM, PICDEM.net, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPIC, Select Mode, SmartSensor, SmartShunt, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. Serialized Quick Turn Programming (SQTP) is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. © 2003, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received QS-9000 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona in July 1999 and Mountain View, California in March 2002. The Company’s quality system processes and procedures are QS-9000 compliant for its PICmicro® 8-bit MCUs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, non-volatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001 certified.DS39617A-page 5 Advance Information  2003 Microchip Technology Inc.
  6. 6. WORLDWIDE SALES AND SERVICEAMERICAS ASIA/PACIFIC Korea 168-1, Youngbo Bldg. 3 FloorCorporate Office Australia Samsung-Dong, Kangnam-Ku2355 West Chandler Blvd. Suite 22, 41 Rawson Street Seoul, Korea 135-882Chandler, AZ 85224-6199 Epping 2121, NSW Tel: 82-2-554-7200 Fax: 82-2-558-5932 orTel: 480-792-7200 Australia 82-2-558-5934Fax: 480-792-7277 Tel: 61-2-9868-6733Technical Support: 480-792-7627 Fax: 61-2-9868-6755 SingaporeWeb Address: http://www.microchip.com 200 Middle Road China - Beijing #07-02 Prime CentreAtlanta Unit 915 Singapore, 1889803780 Mansell Road, Suite 130 Bei Hai Wan Tai Bldg. Tel: 65-6334-8870 Fax: 65-6334-8850Alpharetta, GA 30022 No. 6 Chaoyangmen Beidajie Beijing, 100027, No. China TaiwanTel: 770-640-0034 Tel: 86-10-85282100 Kaohsiung BranchFax: 770-640-0307 Fax: 86-10-85282104 30F - 1 No. 8Boston Min Chuan 2nd Road China - Chengdu2 Lan Drive, Suite 120 Kaohsiung 806, TaiwanWestford, MA 01886 Rm. 2401-2402, 24th Floor, Tel: 886-7-536-4818Tel: 978-692-3848 Ming Xing Financial Tower Fax: 886-7-536-4803Fax: 978-692-3821 No. 88 TIDU Street Chengdu 610016, China TaiwanChicago Tel: 86-28-86766200 Taiwan Branch333 Pierce Road, Suite 180 Fax: 86-28-86766599 11F-3, No. 207Itasca, IL 60143 Tung Hua North Road China - Fuzhou Taipei, 105, TaiwanTel: 630-285-0071 Unit 28F, World Trade Plaza Tel: 886-2-2717-7175 Fax: 886-2-2545-0139Fax: 630-285-0075 No. 71 Wusi RoadDallas Fuzhou 350001, China EUROPE4570 Westgrove Drive, Suite 160 Tel: 86-591-7503506 AustriaAddison, TX 75001 Fax: 86-591-7503521Tel: 972-818-7423 Durisolstrasse 2 China - Hong Kong SAR A-4600 WelsFax: 972-818-2924 Unit 901-6, Tower 2, Metroplaza AustriaDetroit 223 Hing Fong Road Tel: 43-7242-2244-399Tri-Atria Office Building Kwai Fong, N.T., Hong Kong Fax: 43-7242-2244-39332255 Northwestern Highway, Suite 190 Tel: 852-2401-1200 DenmarkFarmington Hills, MI 48334 Fax: 852-2401-3431 Regus Business CentreTel: 248-538-2250 China - Shanghai Lautrup hoj 1-3Fax: 248-538-2260 Room 701, Bldg. B Ballerup DK-2750 DenmarkKokomo Far East International Plaza Tel: 45-4420-9895 Fax: 45-4420-99102767 S. Albright Road No. 317 Xian Xia Road FranceKokomo, IN 46902 Shanghai, 200051 Parc d’Activite du Moulin de MassyTel: 765-864-8360 Tel: 86-21-6275-5700 43 Rue du Saule TrapuFax: 765-864-8387 Fax: 86-21-6275-5060 Batiment A - ler Etage China - Shenzhen 91300 Massy, FranceLos Angeles Rm. 1812, 18/F, Building A, United Plaza Tel: 33-1-69-53-63-2018201 Von Karman, Suite 1090 No. 5022 Binhe Road, Futian District Fax: 33-1-69-30-90-79Irvine, CA 92612 Shenzhen 518033, ChinaTel: 949-263-1888 Germany Tel: 86-755-82901380 Steinheilstrasse 10Fax: 949-263-1338 Fax: 86-755-8295-1393 D-85737 Ismaning, GermanyPhoenix China - Shunde Tel: 49-89-627-144-02355 West Chandler Blvd. Room 401, Hongjian Building Fax: 49-89-627-144-44Chandler, AZ 85224-6199 No. 2 Fengxiangnan Road, Ronggui Town ItalyTel: 480-792-7966 Shunde City, Guangdong 528303, China Via Quasimodo, 12Fax: 480-792-4338 Tel: 86-765-8395507 Fax: 86-765-8395571 20025 Legnano (MI)San Jose China - Qingdao Milan, Italy2107 North First Street, Suite 590 Rm. B505A, Fullhope Plaza, Tel: 39-0331-742611San Jose, CA 95131 No. 12 Hong Kong Central Rd. Fax: 39-0331-466781Tel: 408-436-7950 Qingdao 266071, China NetherlandsFax: 408-436-7955 Tel: 86-532-5027355 Fax: 86-532-5027205 P. A. De Biesbosch 14Toronto India NL-5152 SC Drunen, Netherlands6285 Northam Drive, Suite 108 Divyasree Chambers Tel: 31-416-690399Mississauga, Ontario L4V 1X5, Canada 1 Floor, Wing A (A3/A4) Fax: 31-416-690340Tel: 905-673-0699 No. 11, O’Shaugnessey Road United KingdomFax: 905-673-6509 Bangalore, 560 025, India 505 Eskdale Road Tel: 91-80-2290061 Fax: 91-80-2290062 Winnersh Triangle Japan Wokingham Benex S-1 6F Berkshire, England RG41 5TU 3-18-20, Shinyokohama Tel: 44-118-921-5869 Kohoku-Ku, Yokohama-shi Fax: 44-118-921-5820 Kanagawa, 222-0033, Japan Tel: 81-45-471- 6166 Fax: 81-45-471-6122 07/28/03DS39617A-page 6 Advance Information  2003 Microchip Technology Inc.
  7. 7. This datasheet has been download from: www.datasheetcatalog.comDatasheets for electronics components.

×