PIC18LF4523-I/P Microchip Technology, PIC18LF4523-I/P Datasheet

IC PIC MCU FLASH 16KX16 40DIP

PIC18LF4523-I/P

Manufacturer Part Number
PIC18LF4523-I/P
Description
IC PIC MCU FLASH 16KX16 40DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF4523-I/P

Core Size
8-Bit
Program Memory Size
32KB (16K x 16)
Oscillator Type
Internal
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 13x12b
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC18
No. Of I/o's
36
Eeprom Memory Size
256Byte
Ram Memory Size
1536Byte
Cpu Speed
25MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF4523-I/PT
Manufacturer:
MICROCHIP
Quantity:
3 400
Part Number:
PIC18LF4523-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F2423/2523/4423/4523
Data Sheet
28/40/44-Pin, Enhanced Flash
Microcontrollers with 12-Bit A/D
and nanoWatt Technology
© 2009 Microchip Technology Inc.
DS39755C

Related parts for PIC18LF4523-I/P

PIC18LF4523-I/P Summary of contents

Page 1

... PIC18F2423/2523/4423/4523 Microcontrollers with 12-Bit A/D © 2009 Microchip Technology Inc. 28/40/44-Pin, Enhanced Flash and nanoWatt Technology Data Sheet DS39755C ...

Page 2

... REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. 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. ...

Page 3

... PIC18F4423 16K 8192 PIC18F4523 32K 16384 © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 Peripheral Highlights (Continued): • Master Synchronous Serial Port (MSSP) module Supporting 3-Wire SPI (all four modes) and I Master and Slave modes • Enhanced USART module: - Support for RS-485, RS-232 and LIN/J2602 ...

Page 4

... Data Sheet” (DS39631). DS39755C-page 4 /RE3 REF + 5 24 REF /RA7 /RA6 ( -/ REF + 2 REF 20 3 PIC18F2423 PIC18F2523 (3) /RA7 6 16 (3) /RA6 RB7/KBI3/PGD RB6//KBI2/PGC RB5/KBI1/PGM RB4/KBI0/AN11 (2) RB3/AN9/CCP2 RB2/INT2/AN8 RB1/INT1/AN10 RB0/INT0/FLT0/AN12 RC7/RX/DT RC6/TX/CK RC5/SDO RC4/SDI/SDA (2) RB3/AN9/CCP2 RB2/INT2/AN8 RB1/INT1/AN10 RB0/INT0/FLT0/AN12 RC7/RX/ © 2009 Microchip Technology Inc. ...

Page 5

... OSC1/CLKI and OSC2/CLKO are only available in select oscillator modes and when these pins are not being used as digital I/O. For additional information, see Section 2.0 “Oscillator Configurations” of the “PIC18F2420/2520/4420/4520 Data Sheet” (DS39631). © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 /RE3 ...

Page 6

... I/O. For additional information, see Section 2.0 “Oscillator Configurations” of the “PIC18F2420/2520/4420/4520 Data Sheet” (DS39631). DS39755C-page 6 OSC2/CLKO 33 1 OSC1/CLKI PIC18F4423 PIC18F4523 RE2/CS/AN7 27 7 RE1/WR/AN6 26 8 RE0/RD/AN5 9 25 RA5/AN4/SS/HLVDIN/C2OUT RA4/T0CKI/C1OUT 11 SS (3) /RA6 (3) /RA7 . © 2009 Microchip Technology Inc. ...

Page 7

... Appendix D: Migration from Baseline to Enhanced Devices................................................................................................................ 46 Appendix E: Migration from Mid-Range to Enhanced Devices ............................................................................................................ 47 Appendix F: Migration from High-End to Enhanced Devices ............................................................................................................... 47 Index ................................................................................................................................................................................................... 49 The Microchip Web Site ....................................................................................................................................................................... 51 Customer Change Notification Service ................................................................................................................................................ 51 Customer Support ................................................................................................................................................................................ 51 Reader Response ................................................................................................................................................................................ 52 Product Identification System .............................................................................................................................................................. 53 © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 DS39755C-page 7 ...

Page 8

... 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 web site at www.microchip.com to receive the most current information on all of our products. DS39755C-page 8 © 2009 Microchip Technology Inc. ...

Page 9

... PIC18F2523 • PIC18LF2523 • PIC18F4423 • PIC18LF4423 • PIC18F4523 • PIC18LF4523 Note: This data sheet documents only the devices’ features and specifications that are in addition to, or different from, the features and specifi- cations of the PIC18F2420/2520/4420/4520 devices. For information on the features and ...

Page 10

... These are summarized in Table 1-1. The pinouts for all devices are listed in Table 1-2 and Table 1-3. Members of the PIC18F2423/2523/4423/4523 family are available only as low-voltage devices, designated by “LF” (such as PIC18LF2423), and function over an extended V range of 2.0V to 5.5V. DD © 2009 Microchip Technology Inc. ...

Page 11

... MCLR (optional), WDT Programmable High/Low-Voltage Detect Programmable Brown-out Reset Instruction Set 75 Instructions; 83 with Extended Instruction Set enabled Packages 28-Pin PDIP 28-Pin SOIC 28-Pin QFN © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 PIC18F2523 DC – 40 MHz 16,384 32,768 8,192 16,384 768 1,536 256 256 ...

Page 12

... PORTA RA0/AN0 RA1/AN1 RA2/AN2/V -/CV REF REF RA3/AN3/V + REF RA4/T0CKI/C1OUT RA5/AN4/SS/HLVDIN/C2OUT (3) OSC2/CLKO /RA6 (3) OSC1/CLKI /RA7 PORTB RB0/INT0/FLT0/AN12 RB1/INT1/AN10 RB2/INT2/AN8 (1) RB3/AN9/CCP2 RB4/KBI0/AN11 RB5/KBI1/PGM RB6/KBI2/PGC RB7/KBI3/PGD PORTC RC0/T1OSO/T13CKI (1) RC1/T1OSI/CCP2 RC2/CCP1 RC3/SCK/SCL RC4/SDI/SDA RC5/SDO RC6/TX/CK RC7/RX/DT PORTE (2) MCLR/V /RE3 PP © 2009 Microchip Technology Inc. ...

Page 13

... OSC1/CLKI and OSC2/CLKO are only available in select oscillator modes and when these pins are not being used as digital I/O. For additional information, see Section 2.0 “Oscillator Configurations” of the “PIC18F2420/2520/4420/4520 Data Sheet” (DS39631). © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 Data Latch ...

Page 14

... Crystal Oscillator mode. O — mode, OSC2 pin outputs CLKO, which has 1/4 the frequency of OSC1 and denotes the instruction cycle rate. I/O TTL General purpose I/O pin. CMOS = CMOS compatible input or output I = Input P = Power Description © 2009 Microchip Technology Inc. ...

Page 15

... Output C™/SMBus Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set. 2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 Pin Buffer Type Type PORTA is a bidirectional I/O port. I/O TTL Digital I/O. I Analog Analog Input 0 ...

Page 16

... Digital I/O. I TTL Interrupt-on-change pin. I/O ST In-Circuit Debugger and ICSP programming clock pin. I/O TTL Digital I/O. I TTL Interrupt-on-change pin. I/O ST In-Circuit Debugger and ICSP programming data pin. CMOS = CMOS compatible input or output I = Input P = Power Description © 2009 Microchip Technology Inc. ...

Page 17

... Output C™/SMBus Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set. 2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 Pin Buffer Type Type PORTC is a bidirectional I/O port. I/O ST Digital I/O. O — ...

Page 18

... Crystal Oscillator mode. O — mode, OSC2 pin outputs CLKO, which has 1/4 the frequency of OSC1 and denotes the instruction cycle rate. I/O TTL General purpose I/O pin. CMOS = CMOS compatible input or output I = Input P = Power Description © 2009 Microchip Technology Inc. ...

Page 19

... Output C™/SMBus Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set. 2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 Pin Buffer Type Type PORTA is a bidirectional I/O port. 19 I/O TTL Digital I/O. ...

Page 20

... Digital I/O. I TTL Interrupt-on-change pin. I/O ST In-Circuit Debugger and ICSP programming clock pin. 17 I/O TTL Digital I/O. I TTL Interrupt-on-change pin. I/O ST In-Circuit Debugger and ICSP programming data pin. CMOS = CMOS compatible input or output I = Input P = Power Description © 2009 Microchip Technology Inc. ...

Page 21

... O = Output C™/SMBus Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set. 2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 Pin Buffer Type Type PORTC is a bidirectional I/O port. 32 I/O ST Digital I/O. O — ...

Page 22

... Enhanced CCP1 output. 4 I/O ST Digital I/O. I/O TTL Parallel Slave Port data. O — Enhanced CCP1 output. 5 I/O ST Digital I/O. I/O TTL Parallel Slave Port data. O — Enhanced CCP1 output. CMOS = CMOS compatible input or output I = Input P = Power Description © 2009 Microchip Technology Inc. ...

Page 23

... O = Output C™/SMBus Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set. 2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 Pin Buffer Type Type PORTE is a bidirectional I/O port. 25 I/O ST Digital I/O. I TTL Read control for Parallel Slave Port (see also WR and CS pins) ...

Page 24

... PIC18F2423/2523/4423/4523 NOTES: DS39755C-page 24 © 2009 Microchip Technology Inc. ...

Page 25

... A/D Converter module is disabled Note 1: These channels are not implemented on PIC18F2423/2523 devices. 2: Performing a conversion on unimplemented channels will return a floating input measurement. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 Of the ADCONx registers: • ADCON0 (shown in Register 2-1) – Controls the module’s operation • ...

Page 26

... AN5 through AN7 are only available on PIC18F4423/4523 devices. DS39755C-page 26 (1) R/W-0 R/W-0 R/W VCFG0 PCFG3 PCFG2 U = Unimplemented bit, read as ‘0’ ‘0’ = Bit is cleared - source) REF + source) REF Digital I/O (1) (1) (1) R/W R/W PCFG1 PCFG0 bit Bit is unknown © 2009 Microchip Technology Inc. ...

Page 27

... F /2 OSC Note 1: If the A/D F clock source is selected, a delay of one T RC clock starts. This allows the SLEEP instruction to be executed before starting a conversion. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 R/W-0 R/W-0 R/W-0 ACQT1 ACQT0 ADCS2 U = Unimplemented bit, read as ‘0’ ...

Page 28

... CHS<3:0> V AIN (Input Voltage) VCFG<1:0> ( REF REF X SS (2) V and 1100 AN12 1011 AN11 1010 AN10 1001 AN9 1000 AN8 0111 (1) AN7 0110 (1) AN6 0101 (1) AN5 0100 AN4 0011 AN3 0010 AN2 0001 AN1 0000 AN0 © 2009 Microchip Technology Inc. ...

Page 29

... SS = Sampling Switch C = Sample/Hold Capacitance (from DAC) HOLD R = Sampling Switch Resistance SS © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 5. Wait for the A/D conversion to complete by either: • Polling for the GO/DONE bit to be cleared OR • Waiting for the A/D interrupt 6. Read the A/D Result registers (ADRESH:ADRESL) and clear the ADIF bit, if required ...

Page 30

... The sampling Table 2-1: TABLE 2-1: C HOLD Rs Conversion Error V DD Temperature (- HOLD ln(1/4096) S COFF ) ln(1/4095) μs . This calculation is ACQ T ASSUMPTIONS ACQ = 2.5 kΩ ≤ 1/2 LSb 3V → Rss = 4 kΩ 85°C (system maximum ms. © 2009 Microchip Technology Inc. ...

Page 31

... The RC source has a typical T 2: For device frequencies above 1 MHz, the device must be in Sleep for the entire conversion divider should be used instead; otherwise, the A/D accuracy specification may not be met. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 2.3 Selecting the A/D Conversion ...

Page 32

... The clock to RC Register 3H configures PORTB pins to reset as analog or digital pins by controlling how the PCFG<3:0> bits in ADCON1 are reset. ) will be converted. OL PBADEN bit in Configuration © 2009 Microchip Technology Inc. ...

Page 33

... Time (Holding capacitor is disconnected) Points to end of T Set GO/DONE bit (Holding capacitor continues acquiring input) © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 After the A/D conversion is completed or aborted wait is required before the next acquisition can CY be started. After this wait, acquisition on the selected channel is automatically started ...

Page 34

... TMR3IF CCP2IF (Note 4) TMR3IE CCP2IE (Note 4) TMR3IP CCP2IP (Note 4) (Note 4) (Note 4) GO/DONE ADON (Note 4) PCFG1 PCFG0 (Note 4) ADCS1 ADCS0 (Note 4) RA1 RA0 (Note 4) (Note 4) RB1 RB0 (Note 4) (Note 4) (Note 4) RE1 RE0 (Note 4) TRISE1 TRISE0 (Note 4) (Note 4) © 2009 Microchip Technology Inc. ...

Page 35

... PIC18F2423 0001 = PIC18F2523 bit 3-0 REV<3:0>: Revision ID bits These bits are used to indicate the device revision. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 3.1 Device ID Registers The Device ID registers are read-only registers. They identify the device type and revision for device pro- grammers and can be read by firmware using table reads ...

Page 36

... These values for DEV<11:4> may be shared with other devices. The specific device is always identified by using the entire DEV<11:0> bit sequence. DS39755C-page (1) (1) (1) DEV8 DEV7 DEV6 U = Unimplemented bit, read as ‘0’ Unchanged from programmed state ( (1) (1) (1) DEV5 DEV4 bit 0 © 2009 Microchip Technology Inc. ...

Page 37

... This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 (except V and MCLR) ...

Page 38

... PIC18F2423/2523/4423/4523 VOLTAGE-FREQUENCY GRAPH (INDUSTRIAL) 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 2.0V FIGURE 4-2: PIC18F2423/2523/4423/4523 VOLTAGE-FREQUENCY GRAPH (EXTENDED) 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 2.0V DS39755C-page 38 PIC18F2423/2523/4423/4523 Frequency PIC18F2423/2523/4423/4523 Frequency 4.2V 40 MHz 4.2V 25 MHz © 2009 Microchip Technology Inc. ...

Page 39

... PIC18LF2423/2523/4423/4523 VOLTAGE-FREQUENCY GRAPH (INDUSTRIAL) 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 2.0V 4 MHz F = (16.36 MHz/V) (V MAX Note the minimum voltage of the PIC DDAPPMIN © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 PIC18LF2423/2523/4423/4523 Frequency – 2.0V MHz DDAPPMIN ® device in the application. 4.2V 40 MHz DS39755C-page 39 ...

Page 40

... DD = 3.0V ΔV ≥ 3. REF 3.0V ΔV ≥ 3. REF V = 5.0V DD ≤ V ≤ AIN REF For 12-bit resolution. For 12-bit resolution. For 12-bit resolution. During V acquisition. AIN During A/D conversion cycle. source. V current is from REFH REFL © 2009 Microchip Technology Inc. ...

Page 41

... ADRES registers may be read on the following T 3: The time for the holding capacitor to acquire the “New” input voltage when the voltage changes full scale after the conversion ( the following cycle of the device clock. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 131 130 . . . . . . 10 9 ...

Page 42

... PIC18F2423/2523/4423/4523 NOTES: DS39755C-page 42 © 2009 Microchip Technology Inc. ...

Page 43

... PACKAGING INFORMATION For packaging information, see Section 28.0 “Packaging Information” in the “PIC18F2420/2520/4420/4520 Data Sheet” (DS39631). © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 DS39755C-page 43 ...

Page 44

... PIC18F2423/2523/4423/4523 NOTES: DS39755C-page 44 © 2009 Microchip Technology Inc. ...

Page 45

... Program Memory (Instructions) Interrupt Sources I/O Ports Capture/Compare/PWM Modules Enhanced Capture/Compare/PWM Modules Parallel Communications (PSP) 12-Bit Analog-to-Digital Module Packages © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 APPENDIX B: The differences between the devices listed in this data sheet are shown in Table B-1. PIC18F2423 PIC18F2523 16384 32768 ...

Page 46

... DS39755C-page 46 APPENDIX D: MIGRATION FROM BASELINE TO ENHANCED DEVICES This section discusses how to migrate from a Baseline device (i.e., PIC16C5X Enhanced MCU device (i.e., PIC18FXXX). The following are the list of modifications over the PIC16C5X microcontroller family: Not Currently Available © 2009 Microchip Technology Inc. ...

Page 47

... PIC18C442”. The changes discussed, while device specific, are generally applicable to all mid-range to enhanced device migrations. This Application Note is available as Literature Number DS00716. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 APPENDIX F: A detailed discussion of the migration pathway and differences between the high-end MCU devices (i.e., ...

Page 48

... PIC18F2423/2523/4423/4523 NOTES: DS39755C-page 48 © 2009 Microchip Technology Inc. ...

Page 49

... RC1/T1OSI/CCP2................................................. 17, 21 RC2/CCP1 .................................................................. 17 RC2/CCP1/P1A .......................................................... 21 RC3/SCK/SCL ...................................................... 17, 21 RC4/SDI/SDA ....................................................... 17, 21 RC5/SDO.............................................................. 17, 21 RC6/TX/CK ........................................................... 17, 21 RC7/RX/DT........................................................... 17, 21 RD0/PSP0 .................................................................. 22 RD1/PSP1 .................................................................. 22 RD2/PSP2 .................................................................. 22 RD3/PSP3 .................................................................. 22 RD4/PSP4 .................................................................. 22 RD5/PSP5/P1B .......................................................... 22 RD6/PSP6/P1C .......................................................... 22 RD7/PSP7/P1D .......................................................... 22 RE0/RD/AN5............................................................... 23 RE1/WR/AN6.............................................................. 23 RE2/CS/AN7............................................................... 23 V ....................................................................... 17 ....................................................................... 17 Pinout I/O Descriptions PIC18F2423/2523 ...................................................... 14 PIC18F4423/4523 ...................................................... 18 Power-Managed Modes and A/D Operation ...................................................... 32 © 2009 Microchip Technology Inc. ...

Page 50

... ID 2) ....................................................... 36 Revision History .................................................................. 45 S Special Features of the CPU............................................... 35 DS39755C-page 50 T Timing Diagrams A/D Conversion........................................................... 41 Timing Diagrams and Specifications A/D Conversion Requirements ................................... 41 V Voltage-Frequency Graphics PIC18F2423/2523/4423/4523 (Extended) .................. 38 PIC18F2423/2523/4423/4523 (Industrial)................... 38 PIC18LF2423/2523/4423/4523 (Industrial)................. 39 W WWW Address ................................................................... 51 WWW, On-Line Support ....................................................... 8 © 2009 Microchip Technology Inc. ...

Page 51

... To register, access the Microchip web site at www.microchip.com, click on Customer Change Notification and follow the registration instructions. © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels: • ...

Page 52

... What deletions from the document could be made without affecting the overall usefulness there any incorrect or misleading information (what and where)? 7. How would you improve this document? DS39755C-page 52 Total Pages Sent ________ FAX: (______) _________ - _________ N Literature Number: DS39755C © 2009 Microchip Technology Inc. ...

Page 53

... TQFP (Thin Quad Flat pack QFN SO = SOIC SP = Skinny Plastic DIP P = PDIP Pattern QTP, SQTP, Code or Special Requirements (blank otherwise) © 2009 Microchip Technology Inc. PIC18F2423/2523/4423/4523 XXX Examples: Pattern a) PIC18F4523-I/P 301 = Industrial temp., PDIP package, Extended V #301. b) PIC18F4523-I/PT = Industrial temp., TQFP package, Extended V (1) (2) , PIC18F4423T , c) PIC18F4523-E/P = Extended temp ...

Page 54

... Fax: 886-3-6578-370 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2009 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords