PIC16C554-04/P Microchip Technology, PIC16C554-04/P Datasheet

IC MCU OTP 512X14 18DIP

PIC16C554-04/P

Manufacturer Part Number
PIC16C554-04/P
Description
IC MCU OTP 512X14 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C554-04/P

Core Size
8-Bit
Program Memory Size
896B (512 x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Type
OTP
Ram Size
80 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
13
Ram Memory Size
80Byte
Cpu Speed
4MHz
No. Of Timers
1
Core
PIC
Processor Series
PIC16C
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Data Ram Size
80 B
Data Rom Size
80 B
Number Of Programmable I/os
13
Number Of Timers
8
Operating Supply Voltage
2.5 V to 5.5 V
Mounting Style
Through Hole
Height
3.3 mm
Length
22.86 mm
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
0 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
3 V
Width
6.35 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1059 - ADAPTER 18 ZIF BD W/18SO PLUGSDVA16XP180 - ADAPTER DEVICE FOR MPLAB-ICEAC164010 - MODULE SKT PROMATEII DIP/SOIC
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
PIC16C55X
Data Sheet
EPROM-Based 8-Bit CMOS
Microcontrollers
Preliminary
 2002 Microchip Technology Inc.
DS40143D

Related parts for PIC16C554-04/P

PIC16C554-04/P Summary of contents

Page 1

... Microchip Technology Inc. PIC16C55X Data Sheet EPROM-Based 8-Bit CMOS Microcontrollers Preliminary DS40143D ...

Page 2

... Serialized Quick Turn Programming (SQTP service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. © 2002, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received QS-9000 quality system ...

Page 3

... EPROM-Based 8-Bit CMOS Microcontrollers Devices Included in this Data Sheet: Referred to collectively as PIC16C55X. • PIC16C554 • PIC16C557 • PIC16C558 High Performance RISC CPU: • Only 35 instructions to learn • All single-cycle instructions (200 ns), except for program branches which are two-cycle • Operating speed: ...

Page 4

... Low power consumption - < 2 5.0V, 4.0 MHz - 15 µA typical 3.0V, 32 kHz - < 1.0 µA typical standby current @ 3.0V Device Differences Device PIC16C554 PIC16C557 PIC16C558 Note 1: If you change from this device to another device, please verify oscillator characteristics in your application. DS40143D-page 2 Voltage Range 2 ...

Page 5

... When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter- ature number) you are using. Customer Notification System Register on our web site at www.microchip.com/cn to receive the most current information on all of our products.  2002 Microchip Technology Inc. PIC16C55X Preliminary DS40143D-page 3 ...

Page 6

... PIC16C55X NOTES: DS40143D-page 4 Preliminary  2002 Microchip Technology Inc. ...

Page 7

... The PIC16C554 has 80 bytes of RAM. The PIC16C557 and PIC16C558 have 128 bytes of RAM. The PIC16C554 and PIC16C558 have 13 I/O pins and an 8- bit timer/counter with an 8-bit programmable prescaler. The PIC16C557 has 22 I/O pins and an 8-bit timer/ counter with an 8-bit programmable prescaler ...

Page 8

... Packages ® All PICmicro Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O current capability. All PIC16C55X Family devices use serial programming with clock pin RB6 and data pin RB7. DS40143D-page 6 PIC16C554 PIC16C557 20 20 512 2K 80 ...

Page 9

... The devices are identical to the OTP devices, but with all EPROM locations and config- uration options already programmed by the factory. Certain code and prototype verification procedures apply before production shipments are available. Please contact your Microchip Technology sales office for more details. erased and 2.4 Serialized Quick-Turnaround  ...

Page 10

... PIC16C55X NOTES: DS40143D-page 8 Preliminary  2002 Microchip Technology Inc. ...

Page 11

... PIC16C554 512 PIC16C557 2 K PIC16C558 2 K The PIC16C554 addresses 512 x 14 on-chip program memory. The PIC16C557 and PIC16C558 addresses program memory. All program memory is inter- nal. The PIC16C55X can directly or indirectly address its register files or data memory. All special function registers, including the program counter, are mapped into the data memory ...

Page 12

... PIC16C55X FIGURE 3-1: BLOCK DIAGRAM Program Device Memory PIC16C554 512 x 14 PIC16C557 PIC16C558 EPROM Program Memory 512 Program 14 Bus Instruction reg 8 Instruction Decode & Control Timing Generation OSC1/CLKIN OSC2/CLKOUT Note 1: Higher order bits are from STATUS Register. 2: PIC16C557 only. DS40143D-page 10 Data ...

Page 13

... Not used TTL = TTL input Note 1: This buffer is a Schmitt Trigger input when configured as the external interrupt. 2: This buffer is a Schmitt Trigger input when used in Serial Programming mode. 3: PIC16C557 only.  2002 Microchip Technology Inc. Pin Buffer Type Type Description ...

Page 14

... Q2, Q3, and Q4 cycles. Data memory is read during Q2 (operand read) and written during Q4 (destination write PC+1 Fetch INST (PC+1) Execute INST (PC) Execute 1 Fetch 2 Execute 2 Fetch 3 Execute 3 Fetch 4 Preliminary Internal phase clocks PC+2 Fetch INST (PC+2) Execute INST (PC+1) Flush Fetch SUB_1 Execute SUB_1  2002 Microchip Technology Inc. ...

Page 15

... PIC16C557 and PIC16C558 are physically imple- mented. Accessing a location above these boundaries will cause a wrap-around within the first 512 x 14 spaces in the PIC16C554 space of the PIC16C558 and PIC16C557. The RESET vector is at 0000h and the interrupt vector is at 0004h (Figure 4-1, Figure 4-2) ...

Page 16

... PIC16C55X FIGURE 4-3: DATA MEMORY MAP FOR THE PIC16C554 File Address (1) 00h INDF INDF 01h TMR0 OPTION 02h PCL PCL 03h STATUS STATUS 04h FSR FSR 05h PORTA TRISA 06h PORTB TRISB 07h 08h 09h 0Ah PCLATH PCLATH 0Bh INTCON INTCON ...

Page 17

... Register 7Fh Bank 0 Bank 1 Unimplemented data memory locations, read as '0'. Note 1: Not a physical register.  2002 Microchip Technology Inc. 4.2.2 SPECIAL FUNCTION REGISTERS The Special Function Registers are registers used by the CPU and peripheral functions for controlling the File desired operation of the device (Table 4-1). These Address registers are static RAM ...

Page 18

... PS1 PS0 18 1111 1111 21 0000 0000 0001 1xxx 21 xxxx xxxx — — — — 21 INTF RBIF 19 0000 000x — — — — POR — 20 ---- --0- — — — —  2002 Microchip Technology Inc. ...

Page 19

... Legend Readable bit - n = Value at POR reset  2002 Microchip Technology Inc recommended, therefore, that only BCF, BSF, SWAPF and MOVWF instructions be used to alter the STATUS register because these instructions do not affect any status bits. For other instructions, not affect- ing any status bits, see the “ ...

Page 20

... R/W-1 T0CS T0SE PSA TMR0 Rate WDT Rate 128 256 1 : 128 W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary R/W-1 R/W-1 R/W-1 PS2 PS1 PS0 bit0 x = Bit is unknown  2002 Microchip Technology Inc. ...

Page 21

... When at least one of the RB7:RB4 pins changed state (must be cleared in software None of the RB7:RB4 pins have changed state Legend Readable bit - n = Value at POR reset  2002 Microchip Technology Inc. Note: Interrupt flag bits get set when an interrupt condition occurs regardless of the state of its corresponding enable bit or the global enable bit, GIE (INTCON< ...

Page 22

... Value at POR reset DS40143D-page 20 U-0 U-0 U-0 U-0 — — — — Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary U-0 R/W-0 U-0 — POR — bit0 x = Bit is unknown  2002 Microchip Technology Inc. ...

Page 23

... POPed in the event of a RETURN, RETLW or a RET- FIE instruction execution. PCLATH is not affected by a PUSH or POP operation.  2002 Microchip Technology Inc. The stack operates as a circular buffer. This means that after the stack has been PUSHed eight times, the ninth push overwrites the value that was stored from the first push ...

Page 24

... For memory map detail see Figure 4-3 and Figure 4-5. Note 1: The RP1 and IRP bits are reserved, always maintain these bits clear. DS40143D-page 22 0 IRP bank select 00h not used Bank 1 Bank 2 Bank 3 Preliminary Indirect Addressing ( FSR register location select 7Fh  2002 Microchip Technology Inc. ...

Page 25

... I/O PORTS The PIC16C554 and PIC16C558 have two ports, PORTA and PORTB. The PIC16C557 has three ports, PORTA, PORTB and PORTC. 5.1 PORTA and TRISA Registers PORTA is a 5-bit wide latch. RA4 is a Schmitt Trigger input and an open-drain output. Port RA4 is multiplexed with the T0CKI clock input ...

Page 26

... Bi-directional I/O port or external clock input for TMR0. Output is open drain type. Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RA4 RA3 RA2 RA1 RA0 TRISA4 TRISA3 TRISA2 TRISA1 TRISA0 Preliminary Value on Value on All Other POR RESETS ---x xxxx ---u uuuu ---1 1111 ---1 1111  2002 Microchip Technology Inc. ...

Page 27

... RB7:RB6 in Serial Programming mode Note 1: TRISB = 1 enables weak pull-up if RBPU = ‘0’ (OPTION<7>).  2002 Microchip Technology Inc. latched in INTCON<0>). This interrupt can wake the device from SLEEP. The user, in the interrupt service routine, can clear the interrupt in the following manner: • ...

Page 28

... PSA PS2 PS1 T0IE INTE BRIE T0IF INTF Preliminary Value on Value on Bit 0 All Other POR RESETS xxxx xxxx uuuu uuuu RB0 1111 1111 1111 1111 TRISB0 1111 1111 1111 1111 PS0 0000 000x 0000 000x RBIF  2002 Microchip Technology Inc. ...

Page 29

... SUMMARY OF REGISTERS ASSOCIATED WITH PORTC AND TRISC Address Name Bit 7 Bit 6 07h PORTC RC7 RC6 87h TRISC TRISC7 TRISC6 Legend unknown unchanged Note 1: PIC16C557 ONLY.  2002 Microchip Technology Inc. (1) FIGURE 5-5: Data Bus D WR PORTC CK Data Latch D WR TRISC CK TRIS Latch RD PORTC Function Bi-directional I/O port. ...

Page 30

... I/O port. A pin actively outputting a low or high should not be driven from external devices at the same time in order to change the level on this pin (“wired-or”, “wired-and”). The resulting high output currents may damage the chip. Preliminary  2002 Microchip Technology Inc. ...

Page 31

... RB <7:0> Note 1: This example shows write to PORTB followed by a read from PORTB. 2: Data setup time = (0.25 T output valid. Therefore, at higher clock frequencies, a write followed by a read may be problematic.  2002 Microchip Technology Inc. 5.4.2 SUCCESSIVE OPERATIONS ON I/O PORTS The actual write to an I/O port happens at the end of an ...

Page 32

... PIC16C55X NOTES: DS40143D-page 30 Preliminary  2002 Microchip Technology Inc. ...

Page 33

... The RC oscillator option saves system cost while the LP crystal option saves power. A set of configuration bits are used to select various options.  2002 Microchip Technology Inc. PIC16C55X 6.1 Configuration Bits The configuration bits can be programmed (read as '0') or left unprogrammed (read as '1') to select various device configurations ...

Page 34

... Legend Readable bit - n = Value at POR reset DS40143D-page 32 CP1 CP0 — Reserved CP1 W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary CP0 PWRTE WDTE F0SC1 F0SC0 bit Bit is unknown  2002 Microchip Technology Inc. ...

Page 35

... FIGURE 6-2: EXTERNAL CLOCK INPUT OPERATION (HS OSC CONFIGURATION) Clock from OSC1 ext. system PIC16C55X Open OSC2  2002 Microchip Technology Inc. TABLE 6-1: Ranges Characterized: Mode XT 455 kHz 2.0 MHz 4.0 MHz HS 8.0 MHz 16.0 MHz Note 1: Higher capacitance increases the stability of the oscillator but also increases the start-up time ...

Page 36

... CLK Preliminary EXT ) and capacitor (C ) values, and the variation. Furthermore, the EXT values. The user also needs to EXT between 3 kΩ and 100 kΩ pF), we recommend using values RC OSCILLATOR MODE PIC16C55X OSC1 Internal Clock OSC2/CLKOUT Fosc/4  2002 Microchip Technology Inc. ...

Page 37

... On-chip 10-bit Ripple-counter RC OSC Note 1: This is a separate oscillator from the RC oscillator of the CLKIN pin.  2002 Microchip Technology Inc. PIC16C55X A simplified block diagram of the on-chip RESET circuit is shown in Figure 6-6. The MCLR Reset path has a noise filter to detect and ignore small pulses. See Table 10-3 for pulse width specification ...

Page 38

... Figure 6-8). This is useful for testing purposes or to synchronize more than one PIC16C55X device oper- ating in parallel. Table 6-5 shows the RESET conditions for some spe- cial registers, while Table 6-6 shows the RESET condi- tions for all the registers. Preliminary  2002 Microchip Technology Inc. ...

Page 39

... X Illegal set on POR Illegal set on POR WDT Reset WDT Wake- MCLR Reset during normal operation MCLR Reset during SLEEP  2002 Microchip Technology Inc. Power-up PWRTE = 0 PWRTE = 1 OSC 1024 — Preliminary PIC16C55X Wake-up from SLEEP OSC OSC 1024 T — DS40143D-page 37 ...

Page 40

... Wake-up from SLEEP through interrupt Wake-up from SLEEP through WDT timeout uuuu uuuu — uuuu uuuu ( (3) uuuq quuu uuuu uuuu ---u uuuu uuuu uuuu uuuu uuuu ---u uuuu (1) uuuu uuuu uuuu uuuu ---u uuuu uuuu uuuu uuuu uuuu ---- --u- = value depends on condition.  2002 Microchip Technology Inc. ...

Page 41

... MCLR INTERNAL POR PWRT TIMEOUT OST TIMEOUT INTERNAL RESET FIGURE 6-8: TIMEOUT SEQUENCE ON POWER-UP (MCLR NOT TIED MCLR INTERNAL POR PWRT TIMEOUT OST TIMEOUT INTERNAL RESET  2002 Microchip Technology Inc. PIC16C55X PWRT T OST T T PWRT OST T Preliminary ): CASE CASE 2 DD ...

Page 42

... R1 = 100Ω kΩ will limit any current flowing into MCLR from external capacitor C in the event of PP MCLR/V pin breakdown due to Electrostatic Dis- charge (ESD) or Electrical Overstress (EOS). DS40143D-page 40 PWRT T OST T DD powers Preliminary ): CASE 3 DD  2002 Microchip Technology Inc. ...

Page 43

... INTF INTE RBIF RBIE GIE  2002 Microchip Technology Inc. For external interrupt events, such as the INT pin or PORTB change interrupt, the interrupt latency will be three or four instruction cycles. The exact latency depends when the interrupt event occurs (Figure 6-12). The latency is the same for one or two cycle instructions ...

Page 44

... Interrupt Latency 2 PC+1 PC+1 Inst (PC+1) — Inst (PC) Dummy Cycle CY where T = instruction cycle time. Latency is the same whether Inst (PC single Preliminary by setting/clearing T0IE 0004h 0005h Inst (0004h) Inst (0005h) Inst (0004h) Dummy Cycle  2002 Microchip Technology Inc. ...

Page 45

... W into STATUS ;register SWAPF W_TEMP,F ;swap W_TEMP SWAPF W_TEMP,W ;swap W_TEMP into W  2002 Microchip Technology Inc. PIC16C55X 6.7 Watchdog Timer (WDT) The Watchdog Timer is a free running on-chip RC oscil- lator which does not require any external components. This RC oscillator is separate from the RC oscillator of the CLKIN pin ...

Page 46

... PSA WDT Timeout Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 CP1 CP0 PWRTE WDTE FOSC1 FOSC0 T0CS T0SE PSA PS2 PS1 Preliminary PS<2:0> To TMR0 (Figure 7-6) Value on all Bit 0 Value on POR other RESETS PS0 1111 1111 1111 1111  2002 Microchip Technology Inc. ...

Page 47

... GIE = '1' assumed. In this case after wake- up, the processor jumps to the interrupt routine. If GIE = '0', execution will continue in-line. 4: CLKOUT is not available in these osc modes, but shown here for timing reference.  2002 Microchip Technology Inc. The first event will cause a device RESET. The two lat- ter events are considered a continuation of program execution ...

Page 48

... PIC16C6X/7X Programming Specifications (Literature #DS30228). A typical in-circuit serial programming connection is shown in Figure 6-15. DS40143D-page 46 FIGURE 6-15: not been External Connector Signals + CLK Data I/O Preliminary TYPICAL IN-CIRCUIT SERIAL PROGRAMMING CONNECTION To Normal Connections PIC16C55X MCLR/V PP RB6 RB7 Normal Connections  2002 Microchip Technology Inc. ...

Page 49

... T0 T0+1 TMR0 Instruction Executed  2002 Microchip Technology Inc. bit (OPTION<4>). Clearing the T0SE bit selects the rising edge. Restrictions on the external clock input are discussed in detail in Section 7.2. The prescaler is shared between the Timer0 module and the Watchdog Timer. The prescaler assignment is controlled in software by the control bit PSA (OPTION< ...

Page 50

... PC +1 Inst (PC+1) Dummy cycle Inst (PC instruction cycle time. Preliminary PC+4 PC+5 PC+6 MOVF TMR0,W NT0+1 Read TMR0 Read TMR0 reads NT0 reads NT0 + 01h 02h 0004h 0005h Inst (0004h) Inst (0005h) Dummy cycle Inst (0004h)  2002 Microchip Technology Inc. ...

Page 51

... Thus, a prescaler assignment for the Timer0 module means that there is no prescaler for the Watchdog Timer, and vice-versa.  2002 Microchip Technology Inc. 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. ...

Page 52

... PSA WDT Enable bit Note 1: T0SE, T0CS, PSA, PS0-PS2 are bits in the OPTION register. DS40143D-page SYNC Tcy PSA 8-bit Prescaler 8 8-to-1MUX PS0 - PS2 PSA WDT Timeout Preliminary Data Bus 8 TMR0 reg Set flag bit T0IF on Overflow  2002 Microchip Technology Inc. ...

Page 53

... Unimplemented locations, read as ‘0’, Note 1: Shaded bits are not used by TMR0 module.  2002 Microchip Technology Inc. To change prescaler from the WDT to the TMR0 module use the sequence shown in Example 7-2. This precaution must be taken even if the WDT is disabled. ...

Page 54

... PIC16C55X NOTES: DS40143D-page 52 Preliminary  2002 Microchip Technology Inc. ...

Page 55

... Assigned to Register bit field < > ∈ In the set of italics User defined term (font is courier)  2002 Microchip Technology Inc. PIC16C55X The instruction set is highly orthogonal and is grouped into three basic categories: • Byte-oriented operations • Bit-oriented operations • Literal and control operations ...

Page 56

... TO,PD 0000 0110 0100 1kkk kkkk kkkk Z 1000 kkkk kkkk 00xx kkkk kkkk 0000 0000 1001 01xx kkkk kkkk 0000 0000 1000 TO,PD 0000 0110 0011 C,DC,Z 110x kkkk kkkk Z 1010 kkkk kkkk  2002 Microchip Technology Inc. ...

Page 57

... Words: 1 Cycles: 1 Example ADDWF FSR, Before Instruction W = 0x17 FSR = 0xC2 After Instruction W = 0xD9 FSR = 0xC2  2002 Microchip Technology Inc. ANDLW Syntax: k Operands: Operation: Status Affected: Encoding: kkkk kkkk Description: Words: Cycles: Example ANDWF Syntax: f,d Operands: Operation: Status Affected: ...

Page 58

... NOP is executed instead, making this a two-cycle instruction. 1 1(2) HERE BTFSC FLAG,1 FALSE GOTO PROCESS_CODE TRUE • • • Before Instruction PC = address HERE After Instruction if FLAG<1> address TRUE if FLAG<1> address FALSE  2002 Microchip Technology Inc. ...

Page 59

... FALSE GOTO TRUE • • • Before Instruction address HERE PC = After Instruction if FLAG<1> address FALSE if FLAG<1> address TRUE  2002 Microchip Technology Inc. CALL Syntax: Operands: Operation: Status Affected: bfff ffff Encoding: Description: Words: Cycles: FLAG,1 PROCESS_CODE Example CLRF Syntax: Operands: ...

Page 60

... DECF f,d 0 ≤ f ≤ 127 d ∈ [0,1] ( → (dest 0011 dfff ffff Decrement register 'f the result is stored in the W register the result is stored back in register 'f DECF CNT, 1 Before Instruction CNT = 0x01 After Instruction CNT = 0x00  2002 Microchip Technology Inc. ...

Page 61

... CONTINUE • • • Before Instruction PC = address After Instruction CNT = CNT - 1 if CNT = address CONTINUE if CNT ≠ address HERE+1  2002 Microchip Technology Inc. GOTO Syntax: Operands: Operation: Status Affected: Encoding: dfff ffff Description: Words: Cycles: Example CNT, 1 LOOP INCF Syntax: ...

Page 62

... RESULT = 0x13 W = 0x93 Move Literal label ] MOVLW k 0 ≤ k ≤ 255 k → (W) None 11 00xx kkkk kkkk The eight bit literal 'k' is loaded into W register. The don’t cares will assemble as 0’ MOVLW 0x5A After Instruction W = 0x5A  2002 Microchip Technology Inc. ...

Page 63

... Move data from W register to register 'f'. Words: 1 Cycles: 1 Example MOVWF OPTION Before Instruction OPTION = 0xFF W = 0x4F After Instruction OPTION = 0x4F W = 0x4F  2002 Microchip Technology Inc. NOP Syntax: Operands: Operation: Status Affected: Encoding: dfff ffff Description: Words: Cycles: Example 0 OPTION Syntax: f Operands: Operation: ...

Page 64

... The contents of register 'f' are rotated one bit to the left through the Carry Flag the result is placed in the W register the result is . stored back in register 'f' C Register RLF REG1,0 Before Instruction REG1 = 1110 0110 After Instruction REG1 = 1110 0110 W = 1100 1100  2002 Microchip Technology Inc. ...

Page 65

... Watchdog Timer and its prescaler are cleared. The processor is put into SLEEP mode with the oscillator stopped. See Section 6.8 for more details. Words: 1 Cycles: 1 Example: SLEEP  2002 Microchip Technology Inc. SUBLW Syntax: Operands: Operation: Status Affected: Encoding: dfff ffff Description: Words: ...

Page 66

... Words: 1 Cycles: 1 Example To maintain upward compatibility with future PICmicro™ products, do not use this instruction. Preliminary 1110 dfff ffff REG, 0 REG1 = 0xA5 REG1 = 0xA5 W = 0x5A f 0000 0110 0fff  2002 Microchip Technology Inc. ...

Page 67

... W register with register 'f the result is stored in the W register the result is stored back in register 'f'. Words: 1 Cycles: 1 Example XORWF REG Before Instruction REG = 0xAF W = 0xB5 After Instruction REG = 0x1A W = 0xB5  2002 Microchip Technology Inc. kkkk kkkk 0xB5 0x1A f,d dfff ffff 1 Preliminary PIC16C55X DS40143D-page 65 ...

Page 68

... PIC16C55X NOTES: DS40143D-page 66 Preliminary  2002 Microchip Technology Inc. ...

Page 69

... A project manager • Customizable toolbar and key mapping • A status bar • On-line help  2002 Microchip Technology Inc. The MPLAB IDE allows you to: • Edit your source files (either assembly or ‘C’) • One touch assemble (or compile) and download ...

Page 70

... ICEPIC In-Circuit Emulator The ICEPIC low cost, in-circuit emulator is a solution for the Microchip Technology PIC16C5X, PIC16C6X, PIC16C7X and PIC16CXXX families of 8-bit One- Time-Programmable (OTP) microcontrollers. The mod- ular system can support different subsets of PIC16C5X or PIC16CXXX products through the use of inter- changeable personality modules, or daughter boards ...

Page 71

... PIC16C92X PIC17C76X, may be supported with an adapter socket. The PICSTART Plus development programmer is CE compliant.  2002 Microchip Technology Inc. 9.11 PICDEM 1 Low Cost PICmicro Demonstration Board The PICDEM 1 demonstration board is a simple board which demonstrates the capabilities of several of Microchip’s microcontrollers. The microcontrollers sup- ...

Page 72

... Evaluation and Programming Tools evaluation and programming tools support Microchip’s HCS Secure Data Products. The HCS eval- uation kit includes a LCD display to show changing codes, a decoder to decode transmissions and a pro- gramming interface to program test transmitters. Preliminary  2002 Microchip Technology Inc. ...

Page 73

... DEVELOPMENT TOOLS FROM MICROCHIP MCP2510 MCRFXXX HCSXXX 93CXX 25CXX/ 24CXX/ PIC18FXXX PIC18CXX2 PIC17C7XX PIC17C4X PIC16C9XX PIC16F8XX PIC16C8X PIC16C7XX PIC16C7X PIC16F62X PIC16CXXX PIC16C6X PIC16C5X PIC14000 PIC12CXXX Tools Software Emulators Debugger Programmers  2002 Microchip Technology Inc. PIC16C55X Kits Eval and Boards Preliminary Demo DS40143D-page 71 ...

Page 74

... PIC16C55X NOTES: DS40143D-page 72 Preliminary  2002 Microchip Technology Inc. ...

Page 75

... 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.  2002 Microchip Technology Inc. DD (except V and MCLR) ...

Page 76

... 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. DS40143D-page Frequency (MHz) ≤ +125°C (OUTSIDE OF COMMERCIAL TEMPS Frequency (MHz) Preliminary ≤ +70°  2002 Microchip Technology Inc. ...

Page 77

... 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.  2002 Microchip Technology Inc ...

Page 78

... Fosc = 2.0 MHz 3.0V, WDT (4) disabled LP osc configuration DD Fosc = 32 kHz 3.0V, WDT disabled XT and RC osc configuration OSC MHz 5.5V, (4) WDT disabled LP osc configuration, PIC16C55X-04 only F OSC = 32 kHz 4.0V, WDT disabled HS osc configuration OSC MHz 5.5V, WDT disabled  2002 Microchip Technology Inc. ...

Page 79

... The ∆ current is the additional current consumed when this peripheral is enabled. This current should be added to the base  2002 Microchip Technology Inc. Standard Operating Conditions (unless otherwise stated) Operating temperature -40°C ≤ T Min Typ† Max Units (3) µA 16LC55X — ...

Page 80

... DD A µ Vss ≤ V ≤ V PIN DD , XT, HS and A LP osc configuration =8.5 mA =4.5V, -40° to +85° =7.0 mA =4.5V, +125° =1.6 mA, V =4.5V, -40° to +85° =1.2 mA, V =4.5V, +125° =-3.0 mA =4.5V, -40° to +85°C  2002 Microchip Technology Inc. ...

Page 81

... The leakage current on the MCLR pin is strongly dependent on applied voltage level. The specified levels represent nor- mal operating conditions. Higher leakage current may be measured at different input voltages. 3: Negative current is defined as coming out of the pin.  2002 Microchip Technology Inc. Standard Operating Conditions (unless otherwise stated) -40°C ≤ TA ≤ +85°C for industrial and Operating temperature 0° ...

Page 82

... High I Invalid (Hi-impedance) L Low FIGURE 10-5: LOAD CONDITIONS Load condition 1 Pin = 464 Ω for all pins except OSC2 15 pF for OSC2 output DS40143D-page 80 T Time os OSC1 t0 T0CKI P Period R Rise V Valid Z Hi-impedance Load condition Pin SS V Preliminary  2002 Microchip Technology Inc. ...

Page 83

... Exceeding these specified limits may result in an unstable oscillator operation and/or higher than expected current consumption. All devices are tested to operate at “min.” values with an external clock applied to the OSC1 pin. When an external clock input is used, the “Max.” cycle time limit is “DC” (no clock) for all devices.  2002 Microchip Technology Inc ...

Page 84

... PIC16C55X FIGURE 10-7: CLKOUT AND I/O TIMING Q4 OSC1 CLKOUT I/O Pin (input) I/O Pin old value (output) Note 1: All tests must be done with specified capacitance loads (Figure 10- I/O pins and CLKOUT. DS40143D-page 20, 21 Preliminary new value  2002 Microchip Technology Inc. ...

Page 85

... These parameters are characterized but not tested. † Data in “Typ” column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested. Note 1: Measurements are taken in RC mode where CLKOUT output  2002 Microchip Technology Inc. Characteristic Min (1) — ...

Page 86

... Min Typ† Max Units 2000 — — 33* ms — 1024 — — T OSC 28* 72 132* ms µs — 2.0* Preliminary  2002 Microchip Technology Inc. 34 Conditions -40° to +85° 5.0V, -40° to +85°C T OSC = OSC1 period 5.0V, -40° to +85°C ...

Page 87

... Data in “Typ” column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only and are not tested. FIGURE 10-10: LOAD CONDITIONS Load condition 1 Pin 464Ω for all pins except OSC2 15 pF for OSC2 output  2002 Microchip Technology Inc Min No Prescaler 0 20* With Prescaler 10 Prescaler 0 20* ...

Page 88

... PIC16C55X NOTES: DS40143D-page 86 Preliminary  2002 Microchip Technology Inc. ...

Page 89

... Standard PICmicro device marking consists of Microchip part number, year code, week code, and traceability code. For PICmicro device marking beyond this, certain price adders apply. Please check with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP price.  2002 Microchip Technology Inc. PIC16C55X Example PIC16C558 ...

Page 90

... XXXXXXXXXXXXXXXXXXXX YYWWNNN 18-Lead CERDIP Windowed XXXXXXXX XXXXXXXX YYWWNNN 28-Lead CERDIP Windowed XXXXXXXXXXXXXX XXXXXXXXXXXXXX YYWWNNN DS40143D-page 88 Example PIC16C558 -04I / S0218 9818 CDK Example PIC16C557 -04I / P456 9823 CBA Example 16C558 /JW 9801 CBA Example Preliminary  2002 Microchip Technology Inc. 16C557 /JW 9801 CBA ...

Page 91

... Mold Draft Angle Bottom * Controlling Parameter § Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010” (0.254mm) per side. JEDEC Equivalent: MS-001 Drawing No. C04-007  2002 Microchip Technology Inc Units INCHES* MIN ...

Page 92

... L p MILLIMETERS MIN NOM MAX 28 2.54 3.56 3.81 4.06 3.18 3.30 3.43 0.38 7.62 7.87 8.26 6.99 7.24 7.49 34.16 34.67 35.18 3.18 3.30 3.43 0.20 0.29 0.38 1.02 1.33 1.65 0.41 0.48 0.56 8.13 8.89 10.  2002 Microchip Technology Inc. ...

Page 93

... Mold Draft Angle Bottom * Controlling Parameter § Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010” (0.254mm) per side. JEDEC Equivalent: MS-013 Drawing No. C04-051  2002 Microchip Technology Inc φ Units ...

Page 94

... Preliminary α A2 MILLIMETERS MIN NOM MAX 28 1.27 2.36 2.50 2.64 2.24 2.31 2.39 0.10 0.20 0.30 10.01 10.34 10.67 7.32 7.49 7.59 17.65 17.87 18.08 0.25 0.50 0.74 0.41 0.84 1. 0.23 0.28 0.33 0.36 0.42 0.  2002 Microchip Technology Inc. ...

Page 95

... Overall Length Tip to Seating Plane Lead Thickness Upper Lead Width Lower Lead Width Overall Row Spacing § Window Width Window Length * Controlling Parameter § Significant Characteristic JEDEC Equivalent: MO-036 Drawing No. C04-010  2002 Microchip Technology Inc Units INCHES* MIN NOM MAX ...

Page 96

... Microchip Technology Inc. ...

Page 97

... Mold Draft Angle Bottom * Controlling Parameter § Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010” (0.254mm) per side. JEDEC Equivalent: MO-150 Drawing No. C04-072  2002 Microchip Technology Inc φ Units ...

Page 98

... Preliminary α A2 MILLIMETERS* MIN NOM MAX 28 0.65 1.73 1.85 1.98 1.63 1.73 1.83 0.05 0.15 0.25 7.59 7.85 8.10 5.11 5.25 5.38 10.06 10.20 10.34 0.56 0.75 0.94 0.10 0.18 0.25 0.00 101.60 203.20 0.25 0.32 0.  2002 Microchip Technology Inc. ...

Page 99

... Code protection scheme is enhanced such that portions of the program memory can be protected, while the remainder is unprotected. 18. PORTA inputs are now Schmitt Trigger inputs.  2002 Microchip Technology Inc. APPENDIX B: To convert code written for PIC16C5X to PIC16C55X, the user should take the following steps: 1 ...

Page 100

... PIC16C55X NOTES: DS40143D-page 98 Preliminary  2002 Microchip Technology Inc. ...

Page 101

... In-Circuit Serial Programming ............................................. 46 Indirect Addressing, INDF and FSR Registers ................... 21 Instruction Flow/Pipelining .................................................. 12 Instruction Set ADDLW ....................................................................... 55 ADDWF....................................................................... 55 ANDLW ....................................................................... 55 ANDWF....................................................................... 55 BCF............................................................................. 56 BSF ............................................................................. 56 BTFSC ........................................................................ 56 BTFSS ........................................................................ 57 CALL ........................................................................... 57 CLRF........................................................................... 57  2002 Microchip Technology Inc. PIC16C55X CLRW ......................................................................... 58 CLRWDT .................................................................... 58 COMF ......................................................................... 58 DECF.......................................................................... 58 DECFSZ ..................................................................... 59 GOTO ......................................................................... 59 INCF ........................................................................... 59 INCFSZ....................................................................... 60 IORLW ........................................................................ 60 IORWF........................................................................ 60 MOVF ......................................................................... 61 MOVLW ...................................................................... 60 MOVWF ...

Page 102

... TIMER0 (TMR0) Interrupt ........................................... 47 TIMER0 (TMR0) Module ............................................. 47 TMR0 with External Clock........................................... 49 Timer1 Switching Prescaler Assignment................................. 51 Timing Diagrams and Specifications................................... 81 TMR0 Interrupt .................................................................... 42 TRIS Instruction .................................................................. 64 TRISA.................................................................................. 23 TRISB............................................................................ 25 Watchdog Timer (WDT) ...................................................... 43 WWW, On-Line Support........................................................ 3 X XORLW Instruction ............................................................. 65 XORWF Instruction ............................................................. 65 DS40143D-page 100 Preliminary  2002 Microchip Technology Inc. ...

Page 103

... Microchip Products • Conferences for products, Development Systems, technical information and more • Listing of seminars and events  2002 Microchip Technology Inc. SYSTEMS INFORMATION AND UPGRADE HOT LINE The Systems Information and Upgrade Line provides system users a listing of the latest versions of all of Microchip's development systems software products ...

Page 104

... 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? DS40143D-page 102 Total Pages Sent ________ FAX: (______) _________ - _________ N Literature Number: DS40143D Preliminary  2002 Microchip Technology Inc. ...

Page 105

... The Microchip Worldwide Site (www.microchip.com) Please specify which device, revision of silicon and Data Sheet (include Literature #) you are using. New Customer Notification System Register on our web site (www.microchip.com/cn) to receive the most current information on our products.  2002 Microchip Technology Inc. XXX Examples: a) Pattern PIC17C756– ...

Page 106

... PIC16C55X NOTES: DS40143D-page 104 Preliminary  2002 Microchip Technology Inc. ...

Page 107

... NOTES:  2002 Microchip Technology Inc. PIC16C55X Preliminary DS40143D-page 105 ...

Page 108

... Korea Microchip Technology Korea 168-1, Youngbo Bldg. 3 Floor Samsung-Dong, Kangnam-Ku Seoul, Korea 135-882 Tel: 82-2-554-7200 Fax: 82-2-558-5934 Singapore Microchip Technology Singapore Pte Ltd. 200 Middle Road #07-02 Prime Centre Singapore, 188980 Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan Microchip Technology (Barbados) Inc., Taiwan Branch 11F-3, No ...

Related keywords