PIC16C5X EPROM/ROM-Based 8-bit CMOS Microcontroller Series Devices Included in this Data Sheet: • • • • • • • • • • • • • • PIC16C54 PIC16CR54 PIC16C55 PIC16C56 PIC16CR56 PIC16C57 PIC16CR57 PIC16C58 PIC16CR58 Note: Peripheral Features: PIC16C5X refers to all revisions of the part (i.e., PIC16C54 refers to PIC16C54, PIC16C54A, and PIC16C54C), unless specifically called out otherwise.
PIC16C5X Pin Diagrams PDIP, SOIC, Windowed CERDIP 18 17 16 15 14 RA1 RA0 OSC1/CLKIN OSC2/CLKOUT VDD 13 12 RB7 RB6 RB5 RB4 11 10 T0CKI •1 28 MCLR/VPP VDD 2 27 OSC1/CLKIN N/C 3 26 VSS 4 25 OSC2/CLKOUT RC7 24 RC6 23 21 RC5 RC4 RC3 N/C 5 RA0 6 RA1 7 RA2 8 RA3 9 20 RC2 RB0 10 19 RB1 11 18 RC1 RC0 RB2 12 17 RB7 RB3 13 16 RB6 RB4 14 15 RB5 PIC16C55 PIC16C57 PIC16CR57 PIC16C54 PIC16CR54 PIC16C56 PIC16CR56 PIC16C58 PIC16CR58 1 2 3 4 5 6 7 8 9 RA2 RA3 T0CKI M
PIC16C5X Table of Contents 1.0 General Description...................................................................................................................................................................... 5 2.0 PIC16C5X Device Varieties ......................................................................................................................................................... 7 3.0 Architectural Overview ................................................................................
PIC16C5X NOTES: DS30453E-page 4 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 8-Bit EPROM/ROM-Based CMOS Microcontrollers 1.0 GENERAL DESCRIPTION 1.1 The PIC16C5X from Microchip Technology is a family of low cost, high performance, 8-bit fully static, EPROM/ROM-based CMOS microcontrollers. It employs a RISC architecture with only 33 single word/ single cycle instructions. All instructions are single cycle except for program branches which take two cycles. The PIC16C5X delivers performance in an order of magnitude higher than its competitors in the same price category.
PIC16C5X TABLE 1-1: PIC16C5X FAMILY OF DEVICES Features Maximum Operation Frequency EPROM Program Memory (x12 words) ROM Program Memory (x12 words) RAM Data Memory (bytes) PIC16C54 PIC16CR54 PIC16C55 PIC16C56 PIC16CR56 40 MHz 20 MHz 40 MHz 40 MHz 20 MHz 512 — 512 1K — — 512 — — 1K 25 25 24 25 25 TMR0 TMR0 TMR0 TMR0 TMR0 I/O Pins 12 12 20 12 12 Number of Instructions 33 33 33 33 33 Timer Module(s) Packages 18-pin DIP, 18-pin DIP, 28-pin DIP, 18-pin DIP, 18-pin D
PIC16C5X 2.0 PIC16C5X DEVICE VARIETIES A variety of frequency ranges and packaging options are available. Depending on application and production requirements, the proper device option can be selected using the information in this section. When placing orders, please use the PIC16C5X Product Identification System at the back of this data sheet to specify the correct part number. For the PIC16C5X family of devices, there are four device types, as indicated in the device number: 1. C, as in PIC16C54C.
PIC16C5X NOTES: DS30453E-page 8 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 3.0 ARCHITECTURAL OVERVIEW The high performance of the PIC16C5X family can be attributed to a number of architectural features commonly found in RISC microprocessors. To begin with, the PIC16C5X uses a Harvard architecture in which program and data are accessed on separate buses. This improves bandwidth over traditional von Neumann architecture where program and data are fetched on the same bus.
PIC16C5X FIGURE 3-1: PIC16C5X SERIES BLOCK DIAGRAM 9-11 9-11 EPROM/ROM 512 X 12 TO 2048 X 12 T0CKI PIN STACK 1 STACK 2 CONFIGURATION WORD “DISABLE” “OSC SELECT” PC WATCHDOG TIMER 12 “CODE PROTECT” 2 OSCILLATOR/ TIMING & CONTROL INSTRUCTION REGISTER WDT TIME OUT 9 12 OSC1 OSC2 MCLR CLKOUT WDT/TMR0 PRESCALER 8 “SLEEP” INSTRUCTION DECODER 6 “OPTION” OPTION REG.
PIC16C5X TABLE 3-1: Pin Name RA0 RA1 RA2 RA3 RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 T0CKI PINOUT DESCRIPTION - PIC16C54, PIC16CR54, PIC16C56, PIC16CR56, PIC16C58, PIC16CR58 Pin Number Pin DIP SOIC SSOP Type Buffer Description Type 17 18 1 2 6 7 8 9 10 11 12 13 3 17 18 1 2 6 7 8 9 10 11 12 13 3 19 20 1 2 7 8 9 10 11 12 13 14 3 I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I TTL TTL TTL TTL TTL TTL TTL TTL TTL TTL TTL TTL ST 4 4 4 I ST Bi-directional I/O port Bi-directional I/O port Clock input to
PIC16C5X TABLE 3-2: PINOUT DESCRIPTION - PIC16C55, PIC16C57, PIC16CR57 Pin Number Pin Name RA0 RA1 RA2 RA3 RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 RC0 RC1 RC2 RC3 RC4 RC5 RC6 RC7 T0CKI Pin Buffer SSOP Type Type DIP SOIC 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 5 6 7 8 9 10 11 12 13 15 16 17 18 19 20 21 22 23 24 25 2 I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I TTL TTL TTL TTL TTL TTL TTL TTL TT
PIC16C5X 3.1 Clocking Scheme/Instruction Cycle 3.2 Instruction Flow/Pipelining An Instruction Cycle consists of four Q cycles (Q1, Q2, Q3 and Q4). The instruction fetch and execute are pipelined such that fetch takes one instruction cycle, while decode and execute takes another instruction cycle. However, due to the pipelining, each instruction effectively executes in one cycle. If an instruction causes the program counter to change (e.g.
PIC16C5X NOTES: DS30453E-page 14 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 4.0 OSCILLATOR CONFIGURATIONS 4.1 Oscillator Types FIGURE 4-2: PIC16C5Xs can be operated in four different oscillator modes. The user can program two configuration bits (FOSC1:FOSC0) to select one of these four modes: 1. 2. 3. 4. LP: XT: HS: RC: Note: 4.
PIC16C5X 4.3 External Crystal Oscillator Circuit Either a prepackaged oscillator or a simple oscillator circuit with TTL gates can be used as an external crystal oscillator circuit. Prepackaged oscillators provide a wide operating range and better stability. A welldesigned crystal oscillator will provide good performance with TTL gates. Two types of crystal oscillator circuits can be used: one with parallel resonance, or one with series resonance. Figure 4-4 shows a series resonant oscillator circuit.
PIC16C5X 4.4 FIGURE 4-5: RC Oscillator For timing insensitive applications, the RC device option offers additional cost savings. The RC oscillator frequency is a function of the supply voltage, the resistor (REXT) and capacitor (CEXT) values, and the operating temperature. In addition to this, the oscillator frequency will vary from unit to unit due to normal process parameter variation.
PIC16C5X NOTES: DS30453E-page 18 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 5.0 RESET The TO and PD bits (STATUS <4:3>) are set or cleared depending on the different RESET conditions (Table 51). These bits may be used to determine the nature of the RESET. PIC16C5X devices may be RESET in one of the following ways: • • • • • Power-On Reset (POR) MCLR Reset (normal operation) MCLR Wake-up Reset (from SLEEP) WDT Reset (normal operation) WDT Wake-up Reset (from SLEEP) Table 5-3 lists a full description of RESET states of all registers.
PIC16C5X TABLE 5-3: RESET CONDITIONS FOR ALL REGISTERS Register Address Power-On Reset MCLR or WDT Reset W N/A xxxx xxxx TRIS N/A 1111 1111 OPTION N/A --11 1111 INDF 00h xxxx xxxx TMR0 01h xxxx xxxx PCL 02h 1111 1111 STATUS 03h 0001 1xxx (1) FSR 04h 1xxx xxxx PORTA 05h ---- xxxx PORTB 06h xxxx xxxx PORTC(2) 07h xxxx xxxx General Purpose Register Files 07-7Fh xxxx xxxx Legend: x = unknown u = unchanged - = unimplemented, read as '0' q = see tables in Table 5-1 for possible values.
PIC16C5X 5.1 FIGURE 5-2: Power-On Reset (POR) The PIC16C5X family incorporates on-chip Power-On Reset (POR) circuitry which provides an internal chip RESET for most power-up situations. To use this feature, the user merely ties the MCLR/VPP pin to VDD. A simplified block diagram of the on-chip Power-On Reset circuit is shown in Figure 5-1. The Power-On Reset circuit and the Device Reset Timer (Section 5.2) circuit are closely related. On power-up, the RESET latch is set and the DRT is RESET.
PIC16C5X FIGURE 5-3: TIME-OUT SEQUENCE ON POWER-UP (MCLR NOT TIED TO VDD) VDD MCLR INTERNAL POR TDRT DRT TIME-OUT INTERNAL RESET FIGURE 5-4: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO VDD): FAST VDD RISE TIME VDD MCLR INTERNAL POR TDRT DRT TIME-OUT INTERNAL RESET TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO VDD): SLOW VDD RISE TIME FIGURE 5-5: V1 VDD MCLR INTERNAL POR TDRT DRT TIME-OUT INTERNAL RESET When VDD rises slowly, the TDRT time-out expires long before VDD has reached its final value.
PIC16C5X 5.2 FIGURE 5-7: Device Reset Timer (DRT) The Device Reset Timer (DRT) provides an 18 ms nominal time-out on RESET regardless of Oscillator mode used. The DRT operates on an internal RC oscillator. The processor is kept in RESET as long as the DRT is active. The DRT delay allows VDD to rise above VDD min., and for the oscillator to stabilize. Oscillator circuits based on crystals or ceramic resonators require a certain time after power-up to establish a stable oscillation.
PIC16C5X NOTES: DS30453E-page 24 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 6.0 MEMORY ORGANIZATION FIGURE 6-2: PIC16C5X memory is organized into program memory and data memory. For devices with more than 512 bytes of program memory, a paging scheme is used. Program memory pages are accessed using one or two STATUS Register bits. For devices with a data memory register file of more than 32 registers, a banking scheme is used. Data memory banks are accessed using the File Selection Register (FSR).
PIC16C5X 6.2 FIGURE 6-4: Data Memory Organization Data memory is composed of registers, or bytes of RAM. Therefore, data memory for a device is specified by its register file. The register file is divided into two functional groups: Special Function Registers and General Purpose Registers.
PIC16C5X FIGURE 6-5: PIC16C57/CR57 REGISTER FILE MAP FSR<6:5> 00 01 10 11 File Address 00h INDF(1) 01h TMR0 02h PCL 03h STATUS 04h FSR 05h PORTA 06h PORTB 07h PORTC 08h General Purpose Registers 0Fh 10h 20h 60h Addresses map back to addresses in Bank 0. 2Fh 4Fh 6Fh 30h 50h 70h General Purpose Registers 1Fh 40h General Purpose Registers 3Fh Bank 0 General Purpose Registers 5Fh Bank 1 General Purpose Registers 7Fh Bank 2 Bank 3 Note 1: Not a physical register.
PIC16C5X 6.2.2 SPECIAL FUNCTION REGISTERS The Special Function Registers are registers used by the CPU and peripheral functions to control the operation of the device (Table 6-1). The Special Registers can be classified into two sets. The Special Function Registers associated with the “core” functions are described in this section. Those related to the operation of the peripheral features are described in the section for each peripheral feature.
PIC16C5X 6.3 STATUS Register writable. Therefore, the result of an instruction with the STATUS Register as destination may be different than intended. This register contains the arithmetic status of the ALU, the RESET status and the page preselect bits for program memories larger than 512 words. For example, CLRF STATUS will clear the upper three bits and set the Z bit. This leaves the STATUS Register as 000u u1uu (where u = unchanged).
PIC16C5X 6.4 OPTION Register The OPTION Register is a 6-bit wide, write-only register which contains various control bits to configure the Timer0/WDT prescaler and Timer0. By executing the OPTION instruction, the contents of the W Register will be transferred to the OPTION Register. A RESET sets the OPTION<5:0> bits.
PIC16C5X 6.5 FIGURE 6-8: Program Counter As a program instruction is executed, the Program Counter (PC) will contain the address of the next program instruction to be executed. The PC value is increased by one, every instruction cycle, unless an instruction changes the PC. GOTO Instruction PC For a GOTO instruction, bits 8:0 of the PC are provided by the GOTO instruction word. The PC Latch (PCL) is mapped to PC<7:0> (Figure 6-7, Figure 6-8 and Figure 6-9).
PIC16C5X 6.5.1 PAGING CONSIDERATIONS – PIC16C56/CR56, PIC16C57/CR57 AND PIC16C58/CR58 If the Program Counter is pointing to the last address of a selected memory page, when it increments it will cause the program to continue in the next higher page. However, the page preselect bits in the STATUS Register will not be updated. Therefore, the next GOTO, CALL or modify PCL instruction will send the program to the page specified by the page preselect bits (PA0 or PA<1:0>).
PIC16C5X 6.7 EXAMPLE 6-2: Indirect Data Addressing; INDF and FSR Registers The INDF Register is not a physical register. Addressing INDF actually addresses the register whose address is contained in the FSR Register (FSR is a pointer). This is indirect addressing.
PIC16C5X NOTES: DS30453E-page 34 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 7.0 I/O PORTS 7.5 As with any other register, the I/O Registers can be written and read under program control. However, read instructions (e.g., MOVF PORTB,W) always read the I/O pins independent of the pin’s input/output modes. On RESET, all I/O ports are defined as input (inputs are at hi-impedance) since the I/O control registers (TRISA, TRISB, TRISC) are all set. 7.1 PORTA PORTA is a 4-bit I/O Register. Only the low order 4 bits are used (RA<3:0>).
PIC16C5X 7.6 7.6.1 EXAMPLE 7-1: I/O Programming Considerations BI-DIRECTIONAL I/O PORTS READ-MODIFY-WRITE INSTRUCTIONS ON AN I/O PORT Some instructions operate internally as read followed by write operations. The BCF and BSF instructions, for example, read the entire port into the CPU, execute the bit operation and re-write the result. Caution must be used when these instructions are applied to a port where one or more pins are used as input/outputs.
PIC16C5X 8.0 TIMER0 MODULE AND TMR0 REGISTER Counter mode is selected by setting the T0CS bit (OPTION<5>). In this mode, Timer0 will increment either on every rising or falling edge of pin T0CKI. The incrementing edge is determined by the source edge select bit T0SE (OPTION<4>). Clearing the T0SE bit selects the rising edge. Restrictions on the external clock input are discussed in detail in Section 8.1.
PIC16C5X FIGURE 8-3: TIMER0 TIMING: INTERNAL CLOCK/NO PRESCALER Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 PC (Program Counter) PC-1 Instruction Fetch PC PC+1 MOVWF TMR0 T0 Timer0 T0+1 Instruction Executed FIGURE 8-4: PC (Program Counter) T0+2 NT0 NT0 Write TMR0 executed Read TMR0 reads NT0 Read TMR0 reads NT0 PC+4 MOVF TMR0,W NT0 PC+5 PC+6 MOVF TMR0,W NT0+1 Read TMR0 reads NT0 Read TMR0 reads NT0 + 1 NT0+2 Read TMR0 reads NT0
PIC16C5X 8.1 Using Timer0 with an External Clock When a prescaler is used, the external clock input is divided by the asynchronous ripple counter-type prescaler so that the prescaler output is symmetrical. For the external clock to meet the sampling requirement, the ripple counter must be taken into account. Therefore, it is necessary for T0CKI to have a period of at least 4TOSC (and a small RC delay of 40 ns) divided by the prescaler value.
PIC16C5X 8.2 EXAMPLE 8-1: Prescaler An 8-bit counter is available as a prescaler for the Timer0 module, or as a postscaler for the Watchdog Timer (WDT), respectively (Section 9.2.1). For simplicity, this counter is being referred to as “prescaler” throughout this data sheet. Note that the prescaler may be used by either the Timer0 module or the WDT, but not both. Thus, a prescaler assignment for the Timer0 module means that there is no prescaler for the WDT, and vice-versa.
PIC16C5X FIGURE 8-6: BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER TCY ( = FOSC/4) Data Bus 0 T0CKI pin 1 8 M U X 1 M U X 0 Sync 2 Cycles TMR0 reg T0SE T0CS PSA 0 Watchdog Timer M U X 1 8-bit Prescaler 8 8 - to - 1MUX PS<2:0> PSA WDT Enable bit 1 0 MUX PSA WDT Time-Out Note: T0CS, T0SE, PSA, PS<2:0> are bits in the OPTION register. 1997-2013 Microchip Technology Inc.
PIC16C5X NOTES: DS30453E-page 42 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 9.0 SPECIAL FEATURES OF THE CPU What sets a microcontroller apart from other processors are special circuits that deal with the needs of realtime applications. The PIC16C5X family of microcontrollers have a host of such features intended to maximize system reliability, minimize cost through elimination of external components, provide power saving operating modes and offer code protection. These features are: • • • • • • • • Oscillator Selection (Section 4.0) RESET (Section 5.
PIC16C5X 9.1 Configuration Bits Configuration bits can be programmed to select various device configurations. Two bits are for the selection of the oscillator type and one bit is the Watchdog Timer enable bit. Nine bits are code protection bits for the PIC16C54A, PIC16CR54A, PIC16C54C, PIC16CR54C, PIC16C55A, PIC16C56A, PIC16CR56A, PIC16C57C, PIC16CR57C, REGISTER 9-1: CP CP PIC16C58B, and PIC16CR58B devices (Register 9-1).
PIC16C5X REGISTER 9-2: — — CONFIGURATION WORD FOR PIC16C54/C55/C56/C57 — — — — — — CP WDTE FOSC1 bit 11 FOSC0 bit 0 bit 11-4: Unimplemented: Read as ‘0’ bit 3: CP: Code protection bit.
PIC16C5X 9.2 Watchdog Timer (WDT) both. Thus, a prescaler assignment for the Timer0 module means that there is no prescaler for the WDT, and vice-versa. The Watchdog Timer (WDT) is a free running on-chip RC oscillator which does not require any external components. This RC oscillator is separate from the RC oscillator of the OSC1/CLKIN pin. That means that the WDT will run even if the clock on the OSC1/CLKIN and OSC2/CLKOUT pins have been stopped, for example, by execution of a SLEEP instruction.
PIC16C5X 9.3 Power-Down Mode (SLEEP) 9.4 A device may be powered down (SLEEP) and later powered up (Wake-up from SLEEP). 9.3.1 SLEEP The Power-down mode is entered by executing a SLEEP instruction. If enabled, the Watchdog Timer will be cleared but keeps running, the TO bit (STATUS<4>) is set, the PD bit (STATUS<3>) is cleared and the oscillator driver is turned off. The I/O ports maintain the status they had before the SLEEP instruction was executed (driving high, driving low, or hi-impedance).
PIC16C5X NOTES: DS30453E-page 48 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 10.0 INSTRUCTION SET SUMMARY Each PIC16C5X instruction is a 12-bit word divided into an OPCODE, which specifies the instruction type and one or more operands which further specify the operation of the instruction. The PIC16C5X instruction set summary in Table 10-2 groups the instructions into byte-oriented, bit-oriented, and literal and control operations. Table 10-1 shows the opcode field descriptions.
PIC16C5X TABLE 10-2: Mnemonic, Operands INSTRUCTION SET SUMMARY 12-Bit Opcode Description Cycles MSb LSb Status Notes Affected 0001 11df ffff C,DC,Z ADDWF f,d Add W and f 1 1,2,4 0001 01df ffff ANDWF f,d AND W with f Z 1 2,4 0000 011f ffff CLRF f Clear f Z 1 4 0000 0100 0000 CLRW – Clear W Z 1 0010 01df ffff COMF f, d Complement f Z 1 0000 11df ffff DECF f, d Decrement f Z 1 2,4 0010 11df ffff DECFSZ f, d Decrement f, Skip if 0 None 1(2) 2,4 1 0010 10df ffff INCF f, d Increment f Z 2,4 1(2) 0011 11df f
PIC16C5X ADDWF Add W and f ANDWF Syntax: [ label ] ADDWF Syntax: [ label ] ANDWF Operands: 0 f 31 d Operands: 0 f 31 d Operation: (W) + (f) (dest) Operation: (W) .AND. (f) (dest) Status Affected: C, DC, Z Status Affected: Z Encoding: 0001 11df f,d AND W with f Encoding: ffff 0001 f,d 01df ffff Description: Add the contents of the W register and register 'f'. If 'd' is 0 the result is stored in the W register.
PIC16C5X BSF Bit Set f BTFSS Syntax: [ label ] BSF Syntax: [ label ] BTFSS f,b Operands: 0 f 31 0b7 Operands: 0 f 31 0b<7 Operation: 1 (f) Operation: skip if (f) = 1 Status Affected: None Status Affected: None Encoding: 0101 f,b Bit Test f, Skip if Set bbbf Encoding: ffff Description: Bit 'b' in register 'f' is set.
PIC16C5X CALL Subroutine Call CLRW Syntax: [ label ] CALL k Syntax: [ label ] CLRW Operands: 0 k 255 Operands: None Operation: (PC) + 1 TOS; k PC<7:0>; (STATUS<6:5>) PC<10:9>; 0 PC<8> Operation: 00h (W); 1Z Status Affected: Z Status Affected: Encoding: Description: None 1001 kkkk Description: kkkk Subroutine call. First, return address (PC+1) is pushed onto the stack. The eight bit immediate address is loaded into PC bits <7:0>.
PIC16C5X COMF Complement f DECFSZ Syntax: [ label ] COMF Syntax: [ label ] DECFSZ f,d Operands: 0 f 31 d [0,1] Operands: 0 f 31 d [0,1] Operation: (f) (dest) Operation: (f) – 1 d; Status Affected: Z Status Affected: None Encoding: 0010 f,d Decrement f, Skip if 0 01df Encoding: ffff Description: The contents of register 'f' are complemented. If 'd' is 0 the result is stored in the W register. If 'd' is 1 the result is stored back in register 'f'.
PIC16C5X GOTO Unconditional Branch INCFSZ Syntax: [ label ] Syntax: [ label ] Operands: 0 k 511 Operands: Operation: k PC<8:0>; STATUS<6:5> PC<10:9> 0 f 31 d [0,1] Operation: (f) + 1 (dest), skip if result = 0 None Status Affected: None Status Affected: Encoding: Description: GOTO k 101k kkkk Encoding: kkkk GOTO is an unconditional branch. The 9-bit immediate value is loaded into PC bits <8:0>. The upper bits of PC are loaded from STATUS<6:5>.
PIC16C5X IORLW Inclusive OR literal with W MOVF Syntax: [ label ] Syntax: [ label ] Operands: 0 k 255 Operands: Operation: (W) .OR. (k) (W) 0 f 31 d [0,1] Status Affected: Z Operation: (f) (dest) Status Affected: Z Encoding: Description: IORLW k 1101 kkkk kkkk The contents of the W register are OR’ed with the eight bit literal 'k'. The result is placed in the W register.
PIC16C5X MOVWF Move W to f Syntax: [ label ] Operands: 0 f 31 Operands: None Operation: (W) (f) Operation: (W) OPTION Status Affected: None Status Affected: None Encoding: 0000 MOVWF 001f f ffff Move data from the W register to register 'f'.
PIC16C5X RLF Rotate Left f through Carry RRF Syntax: [ label ] RLF Syntax: [ label ] Operands: 0 f 31 d [0,1] Operands: 0 f 31 d [0,1] Operation: See description below Operation: See description below Status Affected: C Status Affected: C Encoding: Description: 0011 f,d 01df Encoding: ffff The contents of register 'f' are rotated one bit to the left through the Carry Flag (STATUS<0>). If 'd' is 0 the result is placed in the W register.
PIC16C5X SUBWF Subtract W from f SWAPF Syntax: [label] Syntax: [ label ] SWAPF f,d Operands: 0 f 31 d [0,1] Operands: 0 f 31 d [0,1] Operation: (f) – (W) dest) Operation: Status Affected: C, DC, Z (f<3:0>) (dest<7:4>); (f<7:4>) (dest<3:0>) Status Affected: None Encoding: Description: 0000 SUBWF f,d Swap Nibbles in f 10df ffff Subtract (2’s complement method) the W register from register 'f'. If 'd' is 0 the result is stored in the W register.
PIC16C5X XORLW Exclusive OR literal with W Syntax: [label] Operands: 0 k 255 Operation: (W) .XOR. k W) Status Affected: Z Encoding: XORLW k 1111 kkkk kkkk Description: The contents of the W register are XOR’ed with the eight bit literal 'k'. The result is placed in the W register.
PIC16C5X 11.
PIC16C5X 11.4 MPLINK Object Linker/ MPLIB Object Librarian 11.6 The MPLINK object linker combines relocatable objects created by the MPASM assembler and the MPLAB C17 and MPLAB C18 C compilers. It can also link relocatable objects from pre-compiled libraries, using directives from a linker script. The MPLIB object librarian is a librarian for precompiled code to be used with the MPLINK object linker.
PIC16C5X 11.8 MPLAB ICD In-Circuit Debugger Microchip's In-Circuit Debugger, MPLAB ICD, is a powerful, low cost, run-time development tool. This tool is based on the FLASH PIC MCUs and can be used to develop for this and other PIC microcontrollers. The MPLAB ICD utilizes the in-circuit debugging capability built into the FLASH devices.
PIC16C5X 11.13 PICDEM 3 Low Cost PIC16CXXX Demonstration Board The PICDEM 3 demonstration board is a simple demonstration board that supports the PIC16C923 and PIC16C924 in the PLCC package. It will also support future 44-pin PLCC microcontrollers with an LCD Module. All the necessary hardware and software is included to run the basic demonstration programs.
Software Tools Programmers Debugger Emulators PIC12CXXX PIC14000 PIC16C5X PIC16C6X PIC16CXXX PIC16F62X PIC16C7X PIC16C7XX PIC16C8X PIC16F8XX PIC16C9XX 1997-2013 Microchip Technology Inc. Preliminary ** † † MCP2510 * Contact the Microchip Technology Inc. web site at www.microchip.
PIC16C5X NOTES: DS30453E-page 66 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 12.0 ELECTRICAL CHARACTERISTICS - PIC16C54A Absolute Maximum Ratings(†) Ambient Temperature under bias ..................................................................................................... –55°C to +125°C Storage Temperature ....................................................................................................................... –65°C to +150°C Voltage on VDD with respect to VSS .........................................................................................
PIC16C5X 12.1 DC Characteristics: PIC16C54/55/56/57-RC, XT, 10, HS, LP (Commercial) PIC16C54/55/56/57-RC, XT, 10, HS, LP (Commercial) Param Symbol No. D001 VDD Standard Operating Conditions (unless otherwise specified) Operating Temperature 0°C TA +70°C for commercial Characteristic/Device Supply Voltage PIC16C5X-RC PIC16C5X-XT PIC16C5X-10 PIC16C5X-HS PIC16C5X-LP Min Typ† Max Units 3.0 3.0 4.5 4.5 2.5 — — — — — 6.25 6.25 5.5 5.5 6.
PIC16C5X 12.2 DC Characteristics: PIC16C54/55/56/57-RCI, XTI, 10I, HSI, LPI (Industrial) PIC16C54/55/56/57-RCI, XTI, 10I, HSI, LPI (Industrial) Param Symbol No. D001 VDD Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +85°C for industrial Characteristic/Device Supply Voltage PIC16C5X-RCI PIC16C5X-XTI PIC16C5X-10I PIC16C5X-HSI PIC16C5X-LPI Min Typ† Max Units 3.0 3.0 4.5 4.5 2.5 — — — — — 6.25 6.25 5.5 5.5 6.
PIC16C5X 12.3 DC Characteristics: PIC16C54/55/56/57-RCE, XTE, 10E, HSE, LPE (Extended) PIC16C54/55/56/57-RCE, XTE, 10E, HSE, LPE (Extended) Param Symbol No. D001 VDD Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +125°C for extended Characteristic/Device Supply Voltage PIC16C5X-RCE PIC16C5X-XTE PIC16C5X-10E PIC16C5X-HSE PIC16C5X-LPE Min Typ† Max Units 3.25 3.25 4.5 4.5 2.5 — — — — — 6.0 6.0 5.5 5.5 6.
PIC16C5X 12.4 DC Characteristics: PIC16C54/55/56/57-RC, XT, 10, HS, LP (Commercial) PIC16C54/55/56/57-RCI, XTI, 10I, HSI, LPI (Industrial) DC CHARACTERISTICS Param Symbol No.
PIC16C5X 12.5 DC Characteristics: PIC16C54/55/56/57-RCE, XTE, 10E, HSE, LPE (Extended) DC CHARACTERISTICS Param Symbol No. D030 D040 VIL VIH D050 VHYS D060 IIL D080 D090 VOL VOH Characteristic Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +125°C for extended Min Typ† Max Units Input Low Voltage I/O ports MCLR (Schmitt Trigger) T0CKI (Schmitt Trigger) OSC1 (Schmitt Trigger) OSC1 (Schmitt Trigger) Vss Vss Vss Vss Vss — — — — — 0.15 VDD 0.
PIC16C5X 12.6 Timing Parameter Symbology and Load Conditions The timing parameter symbols have been created with one of the following formats: 1. TppS2ppS 2.
PIC16C5X 12.7 Timing Diagrams and Specifications FIGURE 12-2: EXTERNAL CLOCK TIMING - PIC16C54/55/56/57 Q4 Q1 Q3 Q2 Q4 Q1 OSC1 1 3 3 4 4 2 CLKOUT TABLE 12-1: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16C54/55/56/57 AC Characteristics Param No.
PIC16C5X TABLE 12-1: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16C54/55/56/57 AC Characteristics Param No.
PIC16C5X FIGURE 12-3: CLKOUT AND I/O TIMING - PIC16C54/55/56/57 Q1 Q4 Q2 Q3 OSC1 10 11 CLKOUT 13 19 14 12 18 16 I/O Pin (input) 15 17 I/O Pin (output) New Value Old Value 20, 21 Note: Please refer to Figure 12-1 for load conditions. TABLE 12-2: CLKOUT AND I/O TIMING REQUIREMENTS - PIC16C54/55/56/57 AC Characteristics Param No.
PIC16C5X FIGURE 12-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING PIC16C54/55/56/57 VDD MCLR 30 Internal POR 32 32 32 DRT Time-out Internal RESET Watchdog Timer Reset 31 34 34 I/O pin (Note 1) Note 1: Please refer to Figure 12-1 for load conditions. TABLE 12-3: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER - PIC16C54/55/56/57 AC Characteristics Param No.
PIC16C5X FIGURE 12-5: TIMER0 CLOCK TIMINGS - PIC16C54/55/56/57 T0CKI 40 41 42 Note: Please refer to Figure 12-1 for load conditions. TABLE 12-4: TIMER0 CLOCK REQUIREMENTS - PIC16C54/55/56/57 AC Characteristics Param No.
PIC16C5X 13.0 ELECTRICAL CHARACTERISTICS - PIC16CR54A Absolute Maximum Ratings(†) Ambient Temperature under bias ..................................................................................................... –55°C to +125°C Storage Temperature ....................................................................................................................... –65°C to +150°C Voltage on VDD with respect to VSS ........................................................................................
PIC16C5X 13.
PIC16C5X 13.
PIC16C5X 13.2 DC Characteristics:PIC16CR54A-04E, 10E, 20E (Extended) Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +125°C for extended PIC16CR54A-04E, 10E, 20E (Extended) Param Symbol No. D001 VDD Characteristic Supply Voltage RC, XT and LP modes HS mode Min Typ† Max Units 3.25 4.5 — — 6.0 5.5 V V Conditions D002 VDR RAM Data Retention Voltage(1) — 1.
PIC16C5X 13.3 DC Characteristics: PIC16CR54A-04, 10, 20, PIC16LCR54A-04 (Commercial) PIC16CR54A-04I, 10I, 20I, PIC16LCR54A-04I (Industrial) DC CHARACTERISTICS Param Symbol No.
PIC16C5X 13.4 DC Characteristics: PIC16CR54A-04E, 10E, 20E (Extended) DC CHARACTERISTICS Param Symbol No. D030 VIL D040 VIH D050 VHYS D060 IIL D080 VOL D090 VOH Characteristic Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +125°C for extended Min Typ† Max Units Input Low Voltage I/O ports MCLR (Schmitt Trigger) T0CKI (Schmitt Trigger) OSC1 (Schmitt Trigger) OSC1 Vss Vss Vss Vss Vss — — — — — 0.15 VDD 0.15 VDD 0.15 VDD 0.15 VDD 0.
PIC16C5X 13.5 Timing Parameter Symbology and Load Conditions The timing parameter symbols have been created with one of the following formats: 1. TppS2ppS 2.
PIC16C5X 13.6 Timing Diagrams and Specifications FIGURE 13-2: EXTERNAL CLOCK TIMING - PIC16CR54A Q4 Q1 Q3 Q2 Q4 Q1 OSC1 1 3 3 4 4 2 CLKOUT TABLE 13-1: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16CR54A AC Characteristics Param No.
PIC16C5X TABLE 13-1: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16CR54A AC Characteristics Param No.
PIC16C5X FIGURE 13-3: CLKOUT AND I/O TIMING - PIC16CR54A Q1 Q4 Q2 Q3 OSC1 10 11 CLKOUT 13 12 18 19 16 14 I/O Pin (input) 15 17 I/O Pin (output) New Value Old Value 20, 21 Note: Please refer to Figure 13.1 for load conditions. TABLE 13-2: CLKOUT AND I/O TIMING REQUIREMENTS - PIC16CR54A AC Characteristics Param No.
PIC16C5X FIGURE 13-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING - PIC16CR54A VDD MCLR 30 Internal POR 32 32 32 DRT Time-out Internal RESET Watchdog Timer RESET 31 34 34 I/O pin (Note 1) Note 1: Please refer to Figure 13.1 for load conditions.
PIC16C5X FIGURE 13-5: TIMER0 CLOCK TIMINGS - PIC16CR54A T0CKI 40 41 42 Note: Please refer to Figure 13.1 for load conditions. TABLE 13-4: TIMER0 CLOCK REQUIREMENTS - PIC16CR54A AC Characteristics Param Symbol No.
PIC16C5X 14.0 DEVICE CHARACTERIZATION - PIC16C54A The graphs and tables provided following this note are a statistical summary based on a limited number of samples and are provided for informational purposes only. The performance characteristics listed herein are not tested or guaranteed. In some graphs or tables, the data presented may be outside the specified operating range (e.g., outside specified power supply range) and therefore outside the warranted range.
PIC16C5X FIGURE 14-2: TYPICAL RC OSC FREQUENCY vs. VDD, CEXT = 20 PF FIGURE 14-3: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) TYPICAL RC OSC FREQUENCY vs. VDD, CEXT = 100 PF Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 5.5 1.8 R = 3.3K R = 3.3K 5.0 1.6 4.5 1.4 R = 5K 4.0 Fosc (MHz) 3.5 Fosc (MHz) R = 5K 1.2 3.0 R = 10K 1.0 0.8 R = 10K 2.5 0.
PIC16C5X FIGURE 14-4: TYPICAL RC OSC FREQUENCY vs. VDD, CEXT = 300 PF TYPICAL IPD vs. VDD, WATCHDOG DISABLED FIGURE 14-5: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 2.5 800 700 2.0 R = 3.3K T = 25C 600 1.5 Fosc (kHz) IPD (A) R = 5K 500 1.0 400 0.5 R = 10K 300 200 0.0 2.5 Measured on DIP Packages, T = 25C 3.0 3.
PIC16C5X FIGURE 14-6: MAXIMUM IPD vs. VDD, WATCHDOG DISABLED MAXIMUM IPD vs. VDD, WATCHDOG ENABLED FIGURE 14-8: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 60 100 50 +125°C 10 +85°C 40 +70°C –55C Ipd (A) 0°C +85C 30 1 IPD (A) –40°C –55°C +125C –40C +70C 20 0C 10 0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 0 2.
PIC16C5X FIGURE 14-9: VTH (INPUT THRESHOLD VOLTAGE) OF I/O PINS vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 2.00 1.80 –40 M ax ( VTH (Volts) 1.60 1.40 C to + 2 Typ (+ 85 C ) 5 C ) 1.20 1.00 40 Min (– C to + 8 5 C ) 0.80 0.60 2.5 3.0 3.5 4.0 4.5 5.5 5.0 6.0 VDD (Volts) FIGURE 14-10: VIH, VIL OF MCLR, T0CKI AND OSC1 (RC MODE) vs.
PIC16C5X FIGURE 14-11: VTH (INPUT THRESHOLD VOLTAGE) OF OSC1 INPUT (XT, HS, AND LP MODES) vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 3.4 3.2 3.0 2.8 VTH (Volts) 2.6 Ma x 2.4 (–40 o+ C t ( Typ 2.2 + 25 2.0 M in 1.8 (– 85 C) C) Ct 40 o +8 5 C ) 1.6 1.4 1.4 1.2 1.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 14-12: TYPICAL IDD VS.
PIC16C5X FIGURE 14-13: MAXIMUM IDD VS. FREQUENCY (EXTERNAL CLOCK, –40C TO +85C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 10 IDD (mA) 1.0 7.0 6.5 6.0 5.5 5.0 4.5 4.0 3.5 0.1 3.0 2.5 0.01 10K 100K 1M 10M 100M External Clock Frequency (Hz) MAXIMUM IDD vs.
PIC16C5X FIGURE 14-15: WDT TIMER TIME-OUT PERIOD vs. VDD(1) FIGURE 14-16: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) TRANSCONDUCTANCE (gm) OF HS OSCILLATOR vs.
PIC16C5X FIGURE 14-17: TRANSCONDUCTANCE (gm) OF LP OSCILLATOR vs. VDD FIGURE 14-18: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) TRANSCONDUCTANCE (gm) OF XT OSCILLATOR vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 45 2500 40 Max –40C Max –40C 2000 35 30 25 gm (A/V) gm (A/V) 1500 Typ +25C 20 Typ +25C 1000 15 Min +85C 500 10 Min +85C 5 0 2.0 0 2.0 3.
PIC16C5X FIGURE 14-19: PORTA, B AND C IOH vs. VOH, VDD = 3 V PORTA, B AND C IOH vs. VOH, VDD = 5 V FIGURE 14-20: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 0 0 Min +85C –5 –10 –10 IOH (mA) IOH (mA) Min +85C Typ +25C –20 Typ +25C –15 Max –40C –30 Max –40C –20 –40 –25 1.5 0 0.5 1.0 1.5 2.0 2.5 2.5 3.0 3.5 4.
PIC16C5X FIGURE 14-21: PORTA, B AND C IOL vs. VOL, VDD = 3 V FIGURE 14-22: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) PORTA, B AND C IOL vs. VOL, VDD = 5 V Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 45 90 Max –40C 40 Max –40C 80 35 70 30 60 25 50 IOL (mA) IOL (mA) Typ +25C Typ +25C 20 40 Min +85C 15 30 Min +85C 10 20 5 10 0 0.0 0 0.5 1.0 1.5 2.
PIC16C5X TABLE 14-2: INPUT CAPACITANCE FOR PIC16C54/56 Typical Capacitance (pF) Pin 18L PDIP 18L SOIC RA port 5.0 4.3 RB port 5.0 4.3 MCLR 17.0 17.0 OSC1 4.0 3.5 OSC2/CLKOUT 4.3 3.5 T0CKI 3.2 2.8 All capacitance values are typical at 25C. A part-to-part variation of ±25% (three standard deviations) should be taken into account. TABLE 14-3: INPUT CAPACITANCE FOR PIC16C55/57 Typical Capacitance (pF) Pin 28L PDIP (600 mil) 28L SOIC RA port 5.2 4.8 RB port 5.6 4.7 RC port 5.
PIC16C5X 15.0 ELECTRICAL CHARACTERISTICS - PIC16C54A Absolute Maximum Ratings(†) Ambient temperature under bias...................................................................................................... –55°C to +125°C Storage temperature ....................................................................................................................... –65°C to +150°C Voltage on VDD with respect to VSS .........................................................................................
PIC16C5X 15.
PIC16C5X 15.
PIC16C5X 15.2 DC Characteristics: PIC16C54A-04E, 10E, 20E (Extended) PIC16LC54A-04E (Extended) PIC16LC54A-04E (Extended) Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +125C for extended PIC16C54A-04E, 10E, 20E (Extended) Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +125C for extended Param Symbol No. VDD Characteristic Min Typ† Max Units Conditions PIC16LC54A 3.0 2.5 — — 6.25 6.
PIC16C5X 15.2 DC Characteristics: PIC16C54A-04E, 10E, 20E (Extended) PIC16LC54A-04E (Extended) PIC16LC54A-04E (Extended) Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +125C for extended PIC16C54A-04E, 10E, 20E (Extended) Standard Operating Conditions (unless otherwise specified) Operating Temperature –40°C TA +125C for extended Param Symbol No. IPD Characteristic Typ† Max Units Conditions — 2.5 15 A — 0.25 7.0 A VDD = 2.
PIC16C5X 15.3 DC Characteristics: PIC16LV54A-02 (Commercial) PIC16LV54A-02I (Industrial) PIC16LV54A-02 PIC16LV54A-02I (Commercial, Industrial) Param Symbol No. D001 VDD Characteristic Supply Voltage RC and XT modes Standard Operating Conditions (unless otherwise specified) Operating Temperature 0C TA +70C for commercial –20C TA +85C for industrial Min Typ† Max Units 2.0 — 3.8 V Conditions D002 VDR RAM Data Retention Voltage(1) — 1.
PIC16C5X 15.4 DC Characteristics: PIC16C54A-04, 10, 20, PIC16LC54A-04, PIC16LV54A-02 (Commercial) PIC16C54A-04I, 10I, 20I, PIC16LC54A-04I, PIC16LV54A-02I (Industrial) PIC16C54A-04E, 10E, 20E, PIC16LC54A-04E (Extended) DC CHARACTERISTICS Param Symbol No.
PIC16C5X 15.5 Timing Parameter Symbology and Load Conditions The timing parameter symbols have been created with one of the following formats: 1. TppS2ppS 2.
PIC16C5X 15.6 Timing Diagrams and Specifications FIGURE 15-2: EXTERNAL CLOCK TIMING - PIC16C54A Q4 Q1 Q3 Q2 Q4 Q1 OSC1 1 3 3 4 4 2 CLKOUT TABLE 15-1: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16C54A AC Characteristics Param No.
PIC16C5X TABLE 15-1: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16C54A AC Characteristics Standard Operating Conditions (unless otherwise specified) Operating Temperature 0C TA +70C for commercial –40C TA +85C for industrial –20C TA +85C for industrial - PIC16LV54A-02I –40C TA +125C for extended Param No.
PIC16C5X FIGURE 15-3: CLKOUT AND I/O TIMING - PIC16C54A Q1 Q4 Q2 Q3 OSC1 10 11 CLKOUT 13 12 18 19 14 16 I/O Pin (input) 15 17 I/O Pin (output) New Value Old Value 20, 21 Note: Please refer to Figure 15-1 for load conditions. TABLE 15-2: CLKOUT AND I/O TIMING REQUIREMENTS - PIC16C54A AC Characteristics Param No.
PIC16C5X FIGURE 15-4: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING - PIC16C54A VDD MCLR 30 Internal POR 32 32 32 DRT Time-out Internal RESET Watchdog Timer RESET 31 34 34 I/O pin (Note 1) Note 1: Please refer to Figure 15-1 for load conditions.
PIC16C5X FIGURE 15-5: TIMER0 CLOCK TIMINGS - PIC16C54A T0CKI 40 41 42 Note: Please refer to Figure 15-1 for load conditions. TABLE 15-4: TIMER0 CLOCK REQUIREMENTS - PIC16C54A Standard Operating Conditions (unless otherwise specified) Operating Temperature 0C TA +70C for commercial –40C TA +85C for industrial –20C TA +85C for industrial - PIC16LV54A-02I –40C TA +125C for extended AC Characteristics Param Symbol No.
PIC16C5X NOTES: DS30453E-page 116 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 16.0 DEVICE CHARACTERIZATION - PIC16C54A The graphs and tables provided following this note are a statistical summary based on a limited number of samples and are provided for informational purposes only. The performance characteristics listed herein are not tested or guaranteed. In some graphs or tables, the data presented may be outside the specified operating range (e.g., outside specified power supply range) and therefore outside the warranted range.
PIC16C5X FIGURE 16-2: TYPICAL RC OSCILLATOR FREQUENCY vs. VDD, CEXT = 20 PF, 25C Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 6 R=3.3K 5 R=5K FOSC (MHz) 4 3 R=10K 2 1 R=100K 0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 16-3: TYPICAL RC OSCILLATOR FREQUENCY vs. VDD, CEXT = 100 PF, 25C Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) R=3.
PIC16C5X FIGURE 16-4: TYPICAL RC OSCILLATOR FREQUENCY vs. VDD, CEXT = 300 PF, 25C Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 700 R=3.3K 600 500 FOSC (kHz) R=5K 400 300 R=10K 200 100 R=100K 0 2.5 3.0 1997-2013 Microchip Technology Inc. 3.5 4.0 4.5 VDD (Volts) Preliminary 5.0 5.5 6.
PIC16C5X FIGURE 16-5: TYPICAL IPD vs. VDD, WATCHDOG DISABLED (25C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 2.5 2.0 IPD (A) 1.5 1.0 0.5 0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 16-6: TYPICAL IPD VS. VDD, WATCHDOG ENABLED (25C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 25.00 20.00 15.00 10.00 5.00 0.00 2.5 3 3.5 4 4.5 5 5.
PIC16C5X FIGURE 16-7: VTH (INPUT THRESHOLD VOLTAGE) OF I/O PINS - VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 2.0 1.8 –4 M ax ( VTH (Volts) 1.6 1.4 0C to 2 Typ (+ + 85 C ) 5 C ) 1.2 1.0 4 Min (– 0C to + 8 5 C ) 0.8 0.6 2.5 3.0 3.5 4.0 4.5 5.5 5.0 6.0 VDD (Volts) FIGURE 16-8: VTH (INPUT THRESHOLD VOLTAGE) OF OSC1 INPUT (IN XT, HS, AND LP MODES) vs.
PIC16C5X FIGURE 16-9: VIH, VIL OF MCLR, T0CKI AND OSC1 (IN RC MODE) vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 4.5 4.0 VIH, VIL (Volts) 3.5 VIH m 3.0 to 40C ax (– C) +8 5 C +25 ) typ 5C to +8 C (–40 min VIH 2.5 VIH 2.0 C to +85C) VIL max (–40 Vil typ +25C 1.5 1.0 0.5 VIL min (–40C to +8 5C) 0.0 2.5 Note: 3.0 3.5 4.0 4.5 VDD (Volts) 5.0 5.5 6.0 These input pins have Schmitt Trigger input buffers.
PIC16C5X FIGURE 16-10: TYPICAL IDD vs. FREQUENCY (WDT DISABLED, RC MODE @ 20 PF, 25C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 10000 IDD (A) 1000 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 100 10 0.1 FIGURE 16-11: 1 Freq (MHz) 10 MAXIMUM IDD vs.
PIC16C5X FIGURE 16-12: TYPICAL IDD vs. FREQUENCY (WDT DISABLED, RC MODE @ 100 PF, 25C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 10000 IDD (A) 1000 100 10 0.01 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 1 0.1 10 Freq (MHz) FIGURE 16-13: MAXIMUM IDD vs.
PIC16C5X FIGURE 16-14: TYPICAL IDD vs. FREQUENCY (WDT DISABLED, RC MODE @ 300 PF, 25C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 10000 IDD (A) 1000 100 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 10 0.01 FIGURE 16-15: 0.1 Freq (MHz) 1 MAXIMUM IDD vs.
PIC16C5X FIGURE 16-16: WDT TIMER TIME-OUT PERIOD vs. VDD(1) FIGURE 16-17: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) TRANSCONDUCTANCE (gm) OF HS OSCILLATOR vs.
PIC16C5X FIGURE 16-18: TRANSCONDUCTANCE (gm) OF LP OSCILLATOR vs. VDD FIGURE 16-19: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) TRANSCONDUCTANCE (gm) OF XT OSCILLATOR vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 2500 45 40 Max –40C Max –40C 2000 35 30 25 gm (A/V) gm (A/V) 1500 Typ +25C 20 Typ +25C 1000 15 Min +85C 500 10 Min +85C 5 0 0 2.0 3.0 4.
PIC16C5X FIGURE 16-20: PORTA, B AND C IOH vs. VOH, VDD = 3V FIGURE 16-21: PORTA, B AND C IOH vs. VOH, VDD = 5V Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 0 0 Min +85C –5 –10 –10 IOH (mA) IOH (mA) Min +85C Typ +25C –20 Typ +25C –15 Max –40C –30 Max –40C –20 –40 –25 1.5 0 0.5 1.0 1.5 2.0 2.5 2.5 3.0 3.5 4.0 4.
PIC16C5X FIGURE 16-22: PORTA, B AND C IOL vs. VOL, VDD = 3V FIGURE 16-23: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) PORTA, B AND C IOL vs. VOL, VDD = 5V Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 45 90 Max –40C 40 Max –40C 80 35 70 30 60 IOL (mA) IOL (mA) Typ +25C 25 Typ +25C 20 50 40 Min +85C 15 30 Min +85C 10 20 5 10 0 0.0 0 0.5 1.0 1.5 2.0 2.
PIC16C5X NOTES: DS30453E-page 130 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 17.0 ELECTRICAL CHARACTERISTICS - PIC16LC54A Absolute Maximum Ratings(†) Ambient temperature under bias............................................................................................................ –55°C to +125°C Storage temperature ............................................................................................................................. –65°C to +150°C Voltage on VDD with respect to VSS ............................................................................
PIC16C5X FIGURE 17-1: PIC16C54C/55A/56A/57C/58B-04, 20 VOLTAGE-FREQUENCY GRAPH, 0C TA +70C (COMMERCIAL TEMPS) 6.0 5.5 5.0 VDD (Volts) 4.5 4.0 3.5 3.0 2.5 0 4 10 20 25 Frequency (MHz) Note 1: The shaded region indicates the permissible combinations of voltage and frequency. 2: The maximum rated speed of the part limits the permissible combinations of voltage and frequency. Please reference the Product Identification System section for the maximum rated speed of the parts.
PIC16C5X FIGURE 17-3: PIC16LC54C/55A/56A/57C/58B VOLTAGE-FREQUENCY GRAPH, 0C TA +85C 6.0 5.5 5.0 VDD (Volts) 4.5 4.0 3.5 3.0 2.5 2.0 0 4 10 20 25 Frequency (MHz) Note 1: The shaded region indicates the permissible combinations of voltage and frequency. 2: The maximum rated speed of the part limits the permissible combinations of voltage and frequency. Please reference the Product Identification System section for the maximum rated speed of the parts.
PIC16C5X 17.
PIC16C5X 17.
PIC16C5X 17.
PIC16C5X 17.2 DC Characteristics: PIC16C54C/C55A/C56A/C57C/C58B-04E, 20E (Extended) PIC16CR54C/CR56A/CR57C/CR58B-04E, 20E (Extended) PIC16C54C/C55A/C56A/C57C/C58B-04E, 20E PIC16CR54C/CR56A/CR57C/CR58B-04E, 20E (Extended) Param Symbol No. D001 VDD Standard Operating Conditions (unless otherwise specified) Operating Temperature –40C TA +125C for extended Characteristic Min Typ† Max Units 3.0 4.5 — — 5.5 5.
PIC16C5X 17.3 DC Characteristics: PIC16C54C/C55A/C56A/C57C/C58B-04, 20 (Commercial, Industrial, Extended) PIC16LC54C/LC55A/LC56A/LC57C/LC58B-04 (Commercial, Industrial) PIC16CR54C/CR56A/CR57C/CR58B-04, 20 (Commercial, Industrial, Extended) PIC16LCR54C/LCR56A/LCR57C/LCR58B-04 (Commercial, Industrial) DC CHARACTERISTICS Param Symbol No.
PIC16C5X 17.4 Timing Parameter Symbology and Load Conditions The timing parameter symbols have been created with one of the following formats: 1. TppS2ppS 2.
PIC16C5X 17.5 Timing Diagrams and Specifications FIGURE 17-6: EXTERNAL CLOCK TIMING - PIC16C5X, PIC16CR5X Q4 Q1 Q3 Q2 Q4 Q1 OSC1 1 3 3 4 4 2 CLKOUT TABLE 17-1: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16C5X, PIC16CR5X AC Characteristics Param No.
PIC16C5X TABLE 17-1: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16C5X, PIC16CR5X AC Characteristics Param No.
PIC16C5X FIGURE 17-7: CLKOUT AND I/O TIMING - PIC16C5X, PIC16CR5X Q1 Q4 Q2 Q3 OSC1 10 11 CLKOUT 13 14 19 12 18 16 I/O Pin (input) 15 17 I/O Pin (output) New Value Old Value 20, 21 Note: TABLE 17-2: Refer to Figure 17-5 for load conditions. CLKOUT AND I/O TIMING REQUIREMENTS - PIC16C5X, PIC16CR5X AC Characteristics Param No.
PIC16C5X FIGURE 17-8: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING - PIC16C5X, PIC16CR5X VDD MCLR 30 Internal POR 32 32 32 DRT Time-out Internal RESET Watchdog Timer RESET 31 34 34 I/O pin (Note 1) Note 1: Please refer to Figure 17-5 for load conditions.
PIC16C5X FIGURE 17-9: TIMER0 CLOCK TIMINGS - PIC16C5X, PIC16CR5X T0CKI 40 41 42 Note: Please refer to Figure 17-5 for load conditions. TABLE 17-4: TIMER0 CLOCK REQUIREMENTS - PIC16C5X, PIC16CR5X AC Characteristics Standard Operating Conditions (unless otherwise specified) Operating Temperature 0°C TA +70°C for commercial –40°C TA +85°C for industrial –40°C TA +125°C for extended Param Symbol Characteristic No. 40 Tt0H Min T0CKI High Pulse Width - No Prescaler 0.
PIC16C5X 18.0 DEVICE CHARACTERIZATION - PIC16LC54A The graphs and tables provided following this note are a statistical summary based on a limited number of samples and are provided for informational purposes only. The performance characteristics listed herein are not tested or guaranteed. In some graphs or tables, the data presented may be outside the specified operating range (e.g., outside specified power supply range) and therefore outside the warranted range.
PIC16C5X FIGURE 18-2: TYPICAL RC OSCILLATOR FREQUENCY vs. VDD, CEXT = 20 PF, 25C Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 6 R=3.3K 5 R=5K 4 3 R=10K 2 1 R=100K 0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 18-3: TYPICAL RC OSCILLATOR FREQUENCY vs. VDD, CEXT = 100 PF, 25C Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 1.8 R=3.3K 1.6 FOSC (MHz) 1.4 R=5K 1.
PIC16C5X FIGURE 18-4: TYPICAL RC OSCILLATOR FREQUENCY vs. VDD, CEXT = 300 PF, 25C Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 700 R=3.3K 600 500 FOSC (kHz) R=5K 400 300 R=10K 200 100 R=100K 0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 18-5: TYPICAL IPD vs.
PIC16C5X FIGURE 18-6: TYPICAL IPD vs. VDD, WATCHDOG ENABLED (25C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 25 20 IPD (uA) 15 10 5.0 0 2.5 3.5 3.0 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 18-7: TYPICAL IPD vs. VDD, WATCHDOG ENABLED (–40°C, 85°C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 35 30 25 IPD (uA) 20 15 10 (-40C) 5.0 (+85C) 0 2.5 3.0 3.5 4.
PIC16C5X FIGURE 18-8: VTH (INPUT THRESHOLD TRIP POINT VOLTAGE) OF I/O PINS vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 2.0 1.8 VTH (Volts) 1.6 1.4 2 Typ (+ 5 C ) 1.2 1.0 0.8 0.6 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 18-9: VIH, VIL OF MCLR, T0CKI AND OSC1 (IN RC MODE) vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 4.5 4.0 VIH, VIL (Volts) 3.
PIC16C5X FIGURE 18-10: VTH (INPUT THRESHOLD TRIP POINT VOLTAGE) OF OSC1 INPUT (IN XT, HS AND LP MODES) vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 3.4 3.2 3.0 2.8 2.6 VTH (Volts) 2.4 ( Typ 2.2 + 25 C) 2.0 1.8 1.6 1.4 1.2 1.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 18-11: TYPICAL IDD vs.
PIC16C5X FIGURE 18-12: TYPICAL IDD vs. FREQUENCY (WDT DISABLED, RC MODE @ 100 PF, 25C) TYPICAL IDD vs FREQ(RC MODE @ 100 pF/25C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 10000 IDD(A) 1000 5.5V 100 4.5V 3.5V 2.5V 10 0.1 FIGURE 18-13: 1 FREQ(MHz) 10 TYPICAL IDD vs.
PIC16C5X FIGURE 18-14: WDT TIMER TIME-OUT PERIOD vs. VDD(1) FIGURE 18-15: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) PORTA, B AND C IOH vs. VOH, VDD = 3 V Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 0 50 45 –5 40 Min +85C IOH (mA) WDT period (ms) 35 30 Typ +125C 25 –10 Typ +25C –15 Typ +85C Max –40C 20 Typ +25C –20 15 Typ –40C 10 –25 0 5.0 2.0 3.0 4.0 0.
PIC16C5X FIGURE 18-16: PORTA, B AND C IOH vs. VOH, VDD = 5 V FIGURE 18-17: PORTA, B AND C IOL vs. VOL, VDD = 3 V Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 45 0 Max –40C 40 35 –10 30 –20 IOL (mA) IOH (mA) Typ +125C Typ +85C Typ +25C Typ –40C 25 Typ +25C 20 15 –30 Min +85C 10 –40 5 1.5 2.0 2.5 3.0 3.5 4.0 4.
PIC16C5X FIGURE 18-18: PORTA, B AND C IOL vs. VOL, VDD = 5 V Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 90 Max –40C 80 70 60 IOL (mA) Typ +25C 50 40 Min +85C 30 20 10 0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 VOL (Volts) TABLE 18-2: INPUT CAPACITANCE Typical Capacitance (pF) Pin 18L PDIP 18L SOIC RA port 5.0 4.3 RB port 5.0 4.3 MCLR 17.0 17.0 OSC1 4.0 3.5 OSC2/CLKOUT 4.3 3.5 T0CKI 3.2 2.
PIC16C5X 19.0 ELECTRICAL CHARACTERISTICS - PIC16LC54C 40MHz Absolute Maximum Ratings(†) Ambient temperature under bias............................................................................................................ –55°C to +125°C Storage temperature ............................................................................................................................. –65°C to +150°C Voltage on VDD with respect to VSS ......................................................................
PIC16C5X FIGURE 19-1: PIC16C54C/C55A/C56A/C57C/C58B-40 VOLTAGE-FREQUENCY GRAPH, 0C TA +70C 6.0 5.5 5.0 VDD (Volts) 4.5 4.0 3.5 3.0 2.5 0 4 10 20 25 40 Frequency (MHz) Note 1: The shaded region indicates the permissible combinations of voltage and frequency. 2: The maximum rated speed of the part limits the permissible combinations of voltage and frequency. Please reference the Product Identification System section for the maximum rated speed of the parts.
PIC16C5X 19.1 DC Characteristics:PIC16C54C/C55A/C56A/C57C/C58B-40 (Commercial)(1) PIC16C54C/C55A/C56A/C57C/C58B-40 (Commercial) Param Symbol No. D001 VDD Standard Operating Conditions (unless otherwise specified) Operating Temperature 0C TA +70C for commercial Characteristic Supply Voltage (2) Min Typ† Max Units Conditions 4.5 — 5.5 V HS mode from 20 - 40 MHz D002 VDR RAM Data Retention Voltage — 1.
PIC16C5X DC Characteristics: PIC16C54C/C55A/C56A/C57C/C58B-40 (Commercial)(1) 19.2 DC CHARACTERISTICS Param Symbol No. D030 VIL D040 VIH D050 VHYS D060 IIL D080 VOL D090 VOH Standard Operating Conditions (unless otherwise specified) Operating Temperature 0°C TA +70C for commercial Characteristic Min Typ† Max Units Input Low Voltage I/O Ports MCLR (Schmitt Trigger) T0CKI (Schmitt Trigger) OSC1 VSS VSS VSS VSS — — — — 0.8 0.15 VDD 0.15 VDD 0.2 VDD V V V V 4.5V
PIC16C5X 19.3 Timing Parameter Symbology and Load Conditions The timing parameter symbols have been created with one of the following formats: 1. TppS2ppS 2.
PIC16C5X 19.4 Timing Diagrams and Specifications FIGURE 19-3: EXTERNAL CLOCK TIMING - PIC16C5X-40 Q4 Q1 Q3 Q2 Q4 Q1 OSC1 1 3 3 4 4 2 CLKOUT TABLE 19-1: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16C5X-40 AC Characteristics Param No.
PIC16C5X FIGURE 19-4: CLKOUT AND I/O TIMING - PIC16C5X-40 Q1 Q4 Q2 Q3 OSC1 10 11 CLKOUT 13 19 14 12 18 16 I/O Pin (input) 15 17 I/O Pin (output) New Value Old Value 20, 21 . Note: Refer to Figure 19-2 for load conditions. TABLE 19-2: CLKOUT AND I/O TIMING REQUIREMENTS - PIC16C5X-40 AC Characteristics Param No.
PIC16C5X FIGURE 19-5: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING - PIC16C5X-40 VDD MCLR 30 Internal POR 32 32 32 DRT Time-out Internal RESET Watchdog Timer RESET 31 34 34 I/O pin(1) Note 1: Please refer to Figure 19-2 for load conditions.
PIC16C5X FIGURE 19-6: TIMER0 CLOCK TIMINGS - PIC16C5X-40 T0CKI 40 41 42 Note: TABLE 19-4: Refer to Figure 19-2 for load conditions. TIMER0 CLOCK REQUIREMENTS PIC16C5X-40 AC Characteristics Param No. 40 Standard Operating Conditions (unless otherwise specified) Operating Temperature 0°C TA +70°C for commercial Symbol Characteristic Tt0H Min T0CKI High Pulse Width - No Prescaler 0.5 TCY + 20* — — ns 10* — — ns 0.
PIC16C5X NOTES: DS30453E-page 164 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 20.0 DEVICE CHARACTERIZATION - PIC16LC54C 40MHz The graphs and tables provided following this note are a statistical summary based on a limited number of samples and are provided for informational purposes only. The performance characteristics listed herein are not tested or guaranteed. In some graphs or tables, the data presented may be outside the specified operating range (e.g., outside specified power supply range) and therefore outside the warranted range.
PIC16C5X FIGURE 20-2: TYPICAL IPD vs. VDD, WATCHDOG ENABLED (25C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 25 20 IPD (uA) 15 10 5.0 0 2.5 3.5 3.0 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 20-3: TYPICAL IPD vs. VDD, WATCHDOG ENABLED (–40°C, 85°C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 35 30 25 IPD (uA) 20 15 10 (-40C) 5.0 0 (+85C) 2.5 3.0 3.5 4.
PIC16C5X FIGURE 20-4: VTH (INPUT THRESHOLD TRIP POINT VOLTAGE) OF I/O PINS vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 2.0 1.8 VTH (Volts) 1.6 1.4 2 Typ (+ 5 C ) 1.2 1.0 0.8 0.6 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 VDD (Volts) FIGURE 20-5: VTH (INPUT THRESHOLD TRIP POINT VOLTAGE) OF OSC1 INPUT (HS MODE) vs. VDD Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 3.4 3.2 3.
PIC16C5X FIGURE 20-6: TYPICAL IDD vs. VDD (40 MHZ, WDT DISABLED, HS MODE, 70C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 12 11 10 IDD (mA) 9.0 8.0 7.0 6.0 5.0 4.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 VDD (Volts) DS30453E-page 168 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X FIGURE 20-7: WDT TIMER TIME-OUT PERIOD vs. VDD(1) IOH vs. VOH, VDD = 5 V FIGURE 20-8: Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 0 50 45 –10 40 Typ +125C IOH (mA) WDT period (ms) 35 30 –20 Typ +85C Typ +25C Typ +125C 25 Typ –40C Typ +85C –30 20 Typ +25C 15 Typ –40C –40 1.5 10 2.0 2.5 3.0 3.5 4.0 4.
PIC16C5X FIGURE 20-9: IOL vs. VOL, VDD = 5 V Typical: statistical mean @ 25°C Maximum: mean + 3s (-40°C to 125°C) Minimum: mean – 3s (-40°C to 125°C) 90 Max –40C 80 70 60 IOL (mA) Typ +25C 50 40 Min +85C 30 20 10 0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 VOL (Volts) DS30453E-page 170 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X 21.0 PACKAGING INFORMATION 21.1 Package Marketing Information 18-Lead PDIP Example XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX PIC16C56A -04I/P456 YYWWNNN 28-Lead Skinny PDIP (.300") 0023CBA Example XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX PIC16C55A -04I/SP456 YYWWNNN 28-Lead PDIP (.
PIC16C5X Package Marking Information (Cont’d) 18-Lead CERDIP Windowed Example XXXXXXXX XXXXXXXX YYWWNNN PIC16C54C /JW 0001CBA 28-Lead CERDIP Windowed Example XXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXX YYWWNNN Legend: XX...
PIC16C5X 18-Lead Plastic Dual In-line (P) – 300 mil (PDIP) Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging E1 D 2 n 1 E A2 A L c A1 B1 p B eB Units Dimension Limits n p MIN INCHES* NOM 18 .100 .155 .130 MAX MILLIMETERS NOM 18 2.54 3.56 3.94 2.92 3.30 0.38 7.62 7.94 6.10 6.35 22.61 22.80 3.18 3.30 0.20 0.29 1.14 1.46 0.36 0.46 7.87 9.40 5 10 5 10 MIN Number of Pins Pitch Top to Seating Plane A .
PIC16C5X 28-Lead Skinny Plastic Dual In-line (SP) – 300 mil (PDIP) Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging E1 D 2 n 1 E A2 A L c B1 A1 eB Units Number of Pins Pitch p B Dimension Limits n p INCHES* MIN NOM MILLIMETERS MAX MIN NOM 28 MAX 28 2.54 .100 Top to Seating Plane A .140 .150 .160 3.56 3.81 4.06 Molded Package Thickness A2 .125 .130 .135 3.18 3.30 3.
PIC16C5X 28-Lead Plastic Dual In-line (P) – 600 mil (PDIP) Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging E1 D 2 1 n E A2 A L c B1 A1 p B eB Units Dimension Limits n p MIN INCHES* NOM 28 .100 .175 .150 MAX MILLIMETERS NOM 28 2.54 4.06 4.45 3.56 3.81 0.38 15.11 15.24 12.83 13.84 35.43 36.32 3.05 3.30 0.20 0.29 0.76 1.27 0.36 0.46 15.75 16.
PIC16C5X 18-Lead Plastic Small Outline (SO) – Wide, 300 mil (SOIC) Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.
PIC16C5X 28-Lead Plastic Small Outline (SO) – Wide, 300 mil (SOIC) Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.
PIC16C5X 20-Lead Plastic Shrink Small Outline (SS) – 209 mil, 5.30 mm (SSOP) Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.
PIC16C5X 28-Lead Plastic Shrink Small Outline (SS) – 209 mil, 5.30 mm (SSOP) Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.
PIC16C5X 18-Lead Ceramic Dual In-line with Window (JW) – 300 mil (CERDIP) Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging E1 D W2 2 n 1 W1 E A2 A c L A1 eB B1 p B Units Dimension Limits n p Number of Pins Pitch Top to Seating Plane Ceramic Package Height Standoff Shoulder to Shoulder Width Ceramic Pkg.
PIC16C5X 28-Lead Ceramic Dual In-line with Window (JW) – 600 mil (CERDIP) Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging E1 W D 2 n 1 E A2 A L c eB B1 A1 Units Dimension Limits n p Number of Pins Pitch Top to Seating Plane Ceramic Package Height Standoff Shoulder to Shoulder Width Ceramic Pkg.
PIC16C5X APPENDIX A: COMPATIBILITY APPENDIX B: To convert code written for PIC16CXX to PIC16C5X, the user should take the following steps: 1. 2. 3. 4. 5. 6. 7. REVISION HISTORY Revision KE (January 2013) Added a note to each package outline drawing. Check any CALL, GOTO or instructions that modify the PC to determine if any program memory page select operations (PA2, PA1, PA0 bits) need to be made. Revisit any computed jump operations (write to PC or add to PC, etc.
PIC16C5X INDEX A Absolute Maximum Ratings PIC16C54/55/56/57 .................................................... 67 PIC16C54A ............................................................... 103 PIC16C54C/CR54C/C55A/C56A/CR56A/C57C/CR57C/ C58B/CR58B ............................................................ 131 PIC16C54C/CR54C/C55A/C56A/CR56A/C57C/CR57C/ C58B/CR58B-40 ....................................................... 155 PIC16CR54A ..............................................................
PIC16C5X M Q MCLR Reset Register values on ...................................................... 20 Memory Map PIC16C54/CR54/C55.................................................. 25 PIC16C56/CR56 ......................................................... 25 PIC16C57/CR57/C58/CR58 ....................................... 25 Memory Organization.......................................................... 25 MOVF.................................................................................. 56 MOVLW..........
PIC16C5X W W Register Value on reset ............................................................. 20 Wake-up from SLEEP ................................................... 19, 47 Watchdog Timer (WDT) ................................................ 43, 46 Period.......................................................................... 46 Programming Considerations ..................................... 46 Register values on reset ............................................. 20 WWW, On-Line Support ........
PIC16C5X NOTES: DS30453E-page 186 Preliminary 1997-2013 Microchip Technology Inc.
PIC16C5X ON-LINE SUPPORT Microchip provides on-line support on the Microchip World Wide Web (WWW) site. The web site is used by Microchip as a means to make files and information easily available to customers. To view the site, the user must have access to the Internet and a web browser, such as Netscape or Microsoft Explorer. Files are also available for FTP download from our FTP site.
PIC16C5X READER RESPONSE It is our intention to provide you with the best documentation possible to ensure successful use of your Microchip product. If you wish to provide your comments on organization, clarity, subject matter, and ways in which our documentation can better serve you, please FAX your comments to the Technical Publications Manager at (480) 792-4150. Please list the following information, and use this outline to provide us with your comments about this Data Sheet.
PIC16C5X PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. PART NO.
PIC16C5X DS30453E-page 190 Preliminary 1997-2013 Microchip Technology Inc.
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.
Worldwide Sales and Service AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://www.microchip.com/ support Web Address: www.microchip.