PIC16C505-04I/P Microchip Technology, PIC16C505-04I/P Datasheet

IC MCU OTP 1KX12 14DIP

PIC16C505-04I/P

Manufacturer Part Number
PIC16C505-04I/P
Description
IC MCU OTP 1KX12 14DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C505-04I/P

Program Memory Type
OTP
Program Memory Size
1.5KB (1K x 12)
Package / Case
14-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
11
Ram Size
72 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
72 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
12
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1086 - ADAPTER 14-ZIF BD W/14-SO PLUGS309-1085 - ADAPTER 14-DIP BD W/2 14-SO PLUGAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C505-04I/P
Manufacturer:
BOURNS
Quantity:
1 001
Part Number:
PIC16C505-04I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Device included in this Data Sheet:
PIC16C505
High-Performance RISC CPU:
• Only 33 instructions to learn
• Operating speed:
• Direct, indirect and relative addressing modes for
• 12-bit wide instructions
• 8-bit wide data path
• 2-level deep hardware stack
• Eight special function hardware registers
• Direct, indirect and relative addressing modes for
• All single cycle instructions (200 ns) except for
Peripheral Features:
• 11 I/O pins with individual direction control
• 1 input pin
• High current sink/source for direct LED drive
• Timer0: 8-bit timer/counter with 8-bit
Pin Diagram:
PIC16C505
RB4/OSC2/CLKOUT
1999 Microchip Technology Inc.
- DC - 20 MHz clock input
- DC - 200 ns instruction cycle
data and instructions
data and instructions
program branches which are two-cycle
programmable prescaler
RB5/OSC1/CLKIN
RB3/MCLR/V
Device
RC5/T0CKI
PDIP, SOIC, Ceramic Side Brazed
RC4
RC3
V
DD
PP
1024 x 12
Program
14-Pin, 8-Bit CMOS Microcontroller
1
2
3
4
5
6
7
Memory
14
13
12
11
10
9
8
72 x 8
Data
V
RB0
RB1
RB2
RC0
RC1
RC2
SS
Special Microcontroller Features:
• In-Circuit Serial Programming (ICSP™)
• Power-on Reset (POR)
• Device Reset Timer (DRT)
• Watchdog Timer (WDT) with dedicated on-chip
• Programmable Code Protection
• Internal weak pull-ups on I/O pins
• Wake-up from Sleep on pin change
• Power-saving Sleep mode
• Selectable oscillator options:
CMOS Technology:
• Low-power, high-speed CMOS EPROM
• Fully static design
• Wide operating voltage range (2.5V to 5.5V)
• Wide temperature ranges
• Low power consumption
RC oscillator for reliable operation
- INTRC: Precision internal 4 MHz oscillator
- EXTRC: External low-cost RC oscillator
- XT:
- HS:
- LP:
technology
- Commercial: 0°C to +70°C
- Industrial: -40°C to +85°C
- Extended: -40°C to +125°C
- < 1.0 A typical standby current @ 5V
- < 2.0 mA @ 5V, 4 MHz
- 15 A typical @ 3.0V, 32 kHz for TMR0
- < 1.0 A typical standby current @ 5V
running in SLEEP mode
PIC16C505
Standard crystal/resonator
High speed crystal/resonator
Power saving, low frequency
crystal
DS40192C-page 1

Related parts for PIC16C505-04I/P

PIC16C505-04I/P Summary of contents

Page 1

... RC4 6 9 RC3 7 8 1999 Microchip Technology Inc. PIC16C505 Special Microcontroller Features: • In-Circuit Serial Programming (ICSP™) • Power-on Reset (POR) • Device Reset Timer (DRT) • Watchdog Timer (WDT) with dedicated on-chip RC oscillator for reliable operation • Programmable Code Protection • ...

Page 2

... Special Features of the CPU ..................................................................................................................................................... 27 8.0 Instruction Set Summary ........................................................................................................................................................... 39 9.0 Development Support................................................................................................................................................................ 51 10.0 Electrical Characteristics - PIC16C505 ..................................................................................................................................... 57 11.0 DC and AC Characteristics - PIC16C505.................................................................................................................................. 71 11.0 Packaging Information............................................................................................................................................................... 75 Index .................................................................................................................................................................................................... 79 On-Line Support................................................................................................................................................................................... 81 Reader Response ................................................................................................................................................................................ 82 PIC16C505 Product Identification System .......................................................................................................................................... 83 Most Current Data Sheet To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at: http://www ...

Page 3

... IBM PC and compatible machines. 1999 Microchip Technology Inc. PIC16C505 1.1 Applications The PIC16C505 fits in applications ranging from per- sonal care appliances and security systems to low- power remote transmitters/receivers. The EPROM technology makes customizing application programs (transmitter codes, appliance settings, receiver fre- quencies, etc ...

Page 4

... In-Circuit Serial Programming Number of Instructions Packages The PIC16C505 device has Power-on Reset, selectable Watchdog Timer, selectable code protect, high I/O current capability and precision internal oscillator. The PIC16C505 device uses serial programming with data pin RB0 and clock pin RB1. DS40192C-page 4 ...

Page 5

... The calibration value must be saved prior to erasing the part. Microchip’s PICSTART PLUS and PRO MATE II pro- grammers all support programming of the PIC16C505. Third party programmers also are available; refer to the Microchip Third Party Guide, (DS00104), for a list of sources. ...

Page 6

... PIC16C505 NOTES: DS40192C-page 6 1999 Microchip Technology Inc. ...

Page 7

... The PIC16C505 can directly or indirectly address its register files and data memory. All special function registers, including the program counter, are mapped in the data memory. The PIC16C505 has a highly orthogonal (symmetrical) instruction set that makes it possible to carry out any operation on any register using any addressing mode ...

Page 8

... PIC16C505 FIGURE 3-1: PIC16C505 BLOCK DIAGRAM 12 Program Counter EPROM Program Memory Program 12 Bus Instruction reg Direct Addr 8 Device Reset Instruction Decode & Control Watchdog Timing OSC1/CLKIN Generation OSC2 Internal RC MCLR DS40192C-page 8 8 Data Bus RAM STACK1 File STACK2 Registers RAM Addr ...

Page 9

... TABLE 3-1: PIC16C505 PINOUT DESCRIPTION DIP SOIC Name Pin # Pin # RB0 13 13 RB1 12 12 RB2 11 11 RB3/MCLR RB4/OSC2/CLKOUT 3 3 RB5/OSC1/CLKIN 2 2 RC0 10 10 RC1 9 9 RC2 8 8 RC3 7 7 RC4 6 6 RC5/T0CKI Legend input output, I/O = input/output power, — = not used, TTL = TTL input Schmitt Trigger input 1999 Microchip Technology Inc ...

Page 10

... PIC16C505 3.1 Clocking Scheme/Instruction Cycle The clock input (OSC1/CLKIN pin) is internally divided by four to generate four non-overlapping quadrature clocks namely Q1, Q2, Q3 and Q4. Internally, the program counter is incremented every Q1, and the instruction is fetched from program memory and latched into the instruction register in Q4 decoded and executed during the following Q1 through Q4 ...

Page 11

... MEMORY ORGANIZATION PIC16C505 memory is organized into program mem- ory and data memory. For the PIC16C505, a paging scheme is used. Program memory pages are accessed using one STATUS register bit. Data mem- ory banks are accessed using the File Select Register (FSR). ...

Page 12

... Registers 1Fh Bank 0 Note 1: Not a physical register. DS40192C-page 12 For the PIC16C505, the register file is composed of 8 Special Function Registers, 24 General Purpose Registers and 48 General Purpose Registers that may be addressed using a banking scheme (Figure 4-2). 4.2.1 GENERAL PURPOSE REGISTER FILE The General Purpose Register file is accessed, either directly or indirectly, through the File Select Register FSR (Section 4 ...

Page 13

... I/O control registers I/O control registers TOCS TOSE PSA PS2 PS1 RB5 RB4 RB3 RB2 RB1 RC5 RC4 RC3 RC2 RC1 PIC16C505 Value on Value on Power-On All Other (2) Bit 0 Reset Resets xxxx xxxx uuuu uuuu xxxx xxxx uuuu uuuu 1111 1111 1111 1111 (1) C ...

Page 14

... PIC16C505 4.3 STATUS Register This register contains the arithmetic status of the ALU, the RESET status and the page preselect bit. The STATUS register can be the destination for any instruction, as with any other register. If the STATUS register is the destination for an instruction that affects the bits, then the write to these three bits is disabled ...

Page 15

... TRIS overrides OPTION control of RBPU and RBWU). W-1 W-1 W-1 W-1 PSA PS2 PS1 PS0 128 PIC16C505 R = Readable bit W = Writable bit bit0 U = Unimplemented bit, read as ‘0’ Value at POR reset DS40192C-page 15 ...

Page 16

... The calibration value must be read prior to erasing the part can be repro- grammed correctly later. After you move in the calibration constant, do not change the value. See Section 7.2.5 REGISTER 4-3: OSCCAL REGISTER (ADDRESS 05h) PIC16C505 R/W-1 R/W-0 R/W-0 R/W-0 CAL5 CAL4 ...

Page 17

... Stack PIC16C505 devices have a 12-bit wide hardware push/pop stack. A CALL instruction will push the current value of stack 1 into stack 2 and then push the current program counter value, incremented by one, into stack level 1. If more than two sequential CALL’ ...

Page 18

... PIC16C505 4.8 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. EXAMPLE 4-1: INDIRECT ADDRESSING • Register file 07 contains the value 10h • ...

Page 19

... The TRIS registers are “write-only” and are set (output drivers disabled) upon RESET. 1999 Microchip Technology Inc. PIC16C505 5.4 I/O Interfacing The equivalent circuit for an I/O port pin is shown in Figure 5-1. All port pins except RB3, which is input only, may be used for both input and output operations ...

Page 20

... PIC16C505 TABLE 5-1: SUMMARY OF PORT REGISTERS Address Name Bit 7 Bit 6 N/A TRISB — — N/A TRISC — — N/A OPTION RBWU RBPU 03h STATUS RBWUF — 06h PORTB — — 07h PORTC — — Legend: Shaded cells not used by Port Registers, read as ‘0’ depends on condition ...

Page 21

... This example shows a write to PORTB followed by a read from PORTB. NOP NOP Data setup time = (0.25 T where: T Port pin Therefore, at higher clock frequencies, a sampled here write followed by a read may be problematic. MOVF PORTB,W NOP (Read PORTB) PIC16C505 – instruction cycle propagation delay PD DS40192C-page 21 ...

Page 22

... PIC16C505 NOTES: DS40192C-page 22 1999 Microchip Technology Inc. ...

Page 23

... Section 6.2 details the operation of the prescaler. A summary of registers associated with the Timer0 module is found in Table 6-1. PSout 1 Sync with Internal Clocks Programmable 0 (2) Prescaler ( (1) (1) PS2, PS1, PS0 PSA (1) PIC16C505 Data Bus 8 TMR0 reg PSout Sync delay) DS40192C-page 23 ...

Page 24

... PIC16C505 FIGURE 6-2: TIMER0 TIMING: INTERNAL CLOCK/NO PRESCALE (Program Counter) PC-1 PC Instruction MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W Fetch T0 T0+1 Timer0 Instruction Executed FIGURE 6-3: TIMER0 TIMING: INTERNAL CLOCK/PRESCALE 1 (Program Counter) PC-1 PC MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W ...

Page 25

... Timer0 module is actually incremented. Figure 6-4 shows the delay from the external clock edge to the timer incrementing ( PIC16C505 (and a small RC delay of OSC Small pulse misses sampling 4Tosc max. DS40192C-page 25 ...

Page 26

... PIC16C505 6.2 Prescaler An 8-bit counter is available as a prescaler for the Timer0 module postscaler for the Watchdog Timer (WDT), respectively (Section 7.6). 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 ...

Page 27

... PIC16C505. This location contains the MOVLWxx calibration instruction for the INTRC. 2: Refer to the PIC16C505 Programming Specifications to determine how to access the con- figuration word. This register is not user addressable during device operation. 3: All code protect bits must be written to the same value. ...

Page 28

... PIC16C505 7.2 Oscillator Configurations 7.2.1 OSCILLATOR TYPES The PIC16C505 can be operated in four different oscillator modes. The user can program three configuration bits (FOSC<2:0>) to select one of these four modes: • LP: Low Power Crystal • XT: Crystal/Resonator • HS: High Speed Crystal/Resonator • INTRC: Internal 4 MHz Oscillator • ...

Page 29

... R and C components used. Figure 7-5 shows how the R/C combination is resistor connected to the PIC16C505. For Rext values below 2 the oscillator operation may become unstable, or stop completely. For very high Rext values (e.g the oscillator becomes sensitive to noise, humidity and leakage ...

Page 30

... The calibration value must be read prior to erasing the part so it can be repro- grammed correctly later. For the PIC16C505, only bits <7:2> of OSCCAL are implemented. 7.3 RESET The device differentiates between various kinds of ...

Page 31

... STATUS Addr: 03h 0001 1xxx 000u uuuu 0001 0uuu 0000 0uuu 0000 uuuu 1001 0uuu PIC16C505 MCLR Reset WDT time-out Wake-up on Pin Change (1) qqqq qqqq uuuu uuuu uuuu uuuu 1111 1111 (2,3) q00q quuu 11uu uuuu ...

Page 32

... INTERNAL MCLR RB3/MCLR/V PP 7.4 Power-On Reset (POR) The PIC16C505 family incorporates on-chip Power-On Reset (POR) circuitry, which provides an internal chip reset for most power-up situations. The on chip POR circuit holds the chip in reset until V has reached a high enough level for proper operation. ...

Page 33

... TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED MCLR INTERNAL POR DRT TIME-OUT INTERNAL RESET 1999 Microchip Technology Inc. Pin Change POR (Power-On Reset) SLEEP WDT Time-out RESET 8-bit Asynch Ripple Counter (Start-Up Timer) T DRT PIC16C505 Wake-up on pin change CHIP RESET T DRT ): FAST V RISE TIME DD DD DS40192C-page 33 ...

Page 34

... In this example, the chip will reset properly if, and only if, V1 7.5 Device Reset Timer (DRT) In the PIC16C505, the DRT runs any time the device is powered up. DRT runs from RESET and varies based on oscillator selection and reset type (see Table 7-5). ...

Page 35

... SLEEP time before a WDT wake-up reset. and part-to Postscaler Postscaler MUX PSA 1 0 MUX WDT Time-out Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 T0CS T0SE PSA PS2 PS1 PIC16C505 PS<2:0> To Timer0 (Figure 6-4) PSA Value on Value on Power-On All Other Bit 0 Reset Resets PS0 1111 1111 1111 1111 DS40192C-page 35 ...

Page 36

... The device should be reset in the event of a brown-out. To reset PIC16C505 devices when a brown-out occurs, external brown-out protection circuits may be built, as shown in Figure 7-12 and Figure 7-13. FIGURE 7-12: BROWN-OUT PROTECTION ...

Page 37

... These locations are not accessible during normal execution, but are readable and writable during program/verify. Use only the lower 4 bits of the ID locations and always program the upper 8 bits as ’0’s. and the RB3 IHMC pin, PP PIC16C505 DS40192C-page 37 ...

Page 38

... PIC16C505 7.12 In-Circuit Serial Programming The PIC16C505 microcontrollers can be serially programmed while in the end application circuit. This is simply done with two lines for clock and data, and three other lines for power, ground, and the programming voltage. This allows customers to manufacture boards with unprogrammed devices, and then program the microcontroller just before shipping the product ...

Page 39

... INSTRUCTION SET SUMMARY Each PIC16C505 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 instruction set summary in Table 8-2 groups the instructions into byte-oriented, bit-oriented, and literal and control operations ...

Page 40

... PIC16C505 TABLE 8-2: INSTRUCTION SET SUMMARY Mnemonic, Operands Description Add W and f ADDWF f,d AND W with f ANDWF f,d Clear f CLRF f Clear W CLRW – Complement f COMF f, d Decrement f DECF f, d DECFSZ f, d Decrement f, Skip if 0 Increment f INCF f, d Increment f, Skip if 0 INCFSZ f, d Inclusive OR W with f ...

Page 41

... AND’ed with the eight-bit literal 'k'. The result is placed in the W regis- ter. Words: 1 Cycles: 1 Example: ANDLW 0x5F Before Instruction W = 0xA3 After Instruction W = 0x03 1999 Microchip Technology Inc. PIC16C505 ANDWF AND W with f Syntax: [ label ] ANDWF f,d Operands Operation: (W) .AND. (f) (dest) Status Affected: Z Encoding: 0001 01df ffff ...

Page 42

... PIC16C505 BSF Bit Set f Syntax: [ label ] BSF f,b Operands Operation: 1 (f<b>) Status Affected: None Encoding: 0101 bbbf ffff Description: Bit ’b’ in register ’f’ is set. Words: 1 Cycles: 1 Example: BSF FLAG_REG, Before Instruction FLAG_REG = 0x0A After Instruction FLAG_REG = 0x8A BTFSC Bit Test f, Skip if Clear ...

Page 43

... Words: 1 Cycles: 1 Example: CLRF FLAG_REG Before Instruction FLAG_REG = 0x5A After Instruction FLAG_REG = 0x00 1999 Microchip Technology Inc. PIC16C505 CLRW Clear W Syntax: [ label ] CLRW Operands: None Operation: 00h (W Status Affected: Z Encoding: 0000 0100 0000 Description: The W register is cleared. Zero bit (Z) is set. ...

Page 44

... PIC16C505 COMF Complement f Syntax: [ label ] COMF f,d Operands [0,1] Operation: (f) (dest) Status Affected: Z Encoding: 0010 01df ffff Description: The contents of register ’f’ are complemented. If ’d’ the result is stored in the W register. If ’d’ the result is stored back in regis- ter ’f’. ...

Page 45

... Cycles: 1 Example: INCF CNT, 1 Before Instruction CNT = 0xFF After Instruction CNT = 0x00 1999 Microchip Technology Inc. PIC16C505 INCFSZ Increment f, Skip if 0 Syntax: [ label ] INCFSZ f,d Operands [0,1] Operation: ( (dest), skip if result = 0 Status Affected: None Encoding: 0011 11df ffff Description: The contents of register ’f’ are incremented. If ’ ...

Page 46

... PIC16C505 IORLW Inclusive OR literal with W Syntax: [ label ] IORLW k Operands 255 Operation: (W) .OR. (k) (W) Status Affected: Z Encoding: 1101 kkkk kkkk Description: The contents of the W register are OR’ed with the eight bit literal 'k'. The result is placed in the W regis- ter. Words: 1 Cycles: 1 Example: IORLW ...

Page 47

... OPTION = RETLW Syntax: Operands: Operation: Status Affected: None Encoding: Description: Words: Cycles: Example: TABLE Before Instruction W = After Instruction W = PIC16C505 Load OPTION Register [ label ] OPTION None (W) OPTION 0000 0000 0010 The content of the W register is loaded into the OPTION register OPTION = 0x07 0x07 ...

Page 48

... PIC16C505 RLF Rotate Left f through Carry Syntax: [ label ] RLF Operands [0,1] Operation: See description below Status Affected: C Encoding: 0011 01df ffff Description: The contents of register ’f’ are rotated one bit to the left through the Carry Flag. If ’d’ the result is placed in the W register. If ’ ...

Page 49

... The WDT and its prescaler are cleared. The processor is put into SLEEP mode with the oscillator stopped. See section on SLEEP for more details. Words: 1 Cycles: 1 Example: SLEEP 1999 Microchip Technology Inc. PIC16C505 SUBWF Subtract W from f Syntax: [ label ] SUBWF f,d Operands [0,1] Operation: (f) – ...

Page 50

... PIC16C505 SWAPF Swap Nibbles in f Syntax: [ label ] SWAPF f,d Operands [0,1] Operation: (f<3:0>) (dest<7:4>); (f<7:4>) (dest<3:0>) Status Affected: None Encoding: 0011 10df ffff Description: The upper and lower nibbles of register ’f’ are exchanged. If ’d’ the result is placed in W regis- ter. If ’ ...

Page 51

... Customizable tool bar and key mapping • A status bar • On-line help 1999 Microchip Technology Inc. PIC16C505 MPLAB allows you to: • Edit your source files (either assembly or ‘C’) • One touch assemble (or compile) and download to PICmicro tools (automatically updates all project information) • ...

Page 52

... PIC16C505 9.4 MPLINK/MPLIB Linker/Librarian MPLINK is a relocatable linker for MPASM and MPLAB-C17 and MPLAB-C18. It can link relocatable objects from assembly or C source files along with pre- compiled libraries using directives from a linker script. MPLIB is a librarian for pre-compiled code to be used with MPLINK ...

Page 53

... The PICDEM-3 provides an addi- tional RS-232 interface and Windows 3.1 software for showing the demultiplexed LCD signals on a PC. A sim- ple serial interface allows the user to construct a hard- ware demultiplexer for the LCD signals. PIC16C505 DS40192C-page 53 ...

Page 54

... PIC16C505 9.16 PICDEM-17 The PICDEM- evaluation board that demon- strates the capabilities of several Microchip microcon- trollers, including PIC17C752, PIC17C762, and PIC17C766. All necessary hardware is included to run basic demo programs, which are sup- plied on a 3.5-inch disk. A programmed sample is included, and the user may erase it and program it with ...

Page 55

... Debugger Programmers Kits Eval PIC16C505 á á á á á á á á and Boards Demo DS40192C-page 55 ...

Page 56

... PIC16C505 NOTES: DS40192C-page 56 1999 Microchip Technology Inc. ...

Page 57

... ELECTRICAL CHARACTERISTICS - PIC16C505 Absolute Maximum Ratings† Ambient Temperature under bias ........................................................................................................... –40°C to +125°C Storage Temperature ............................................................................................................................. –65°C to +150°C Voltage on V with respect to V .................................................................................................................... Voltage on MCLR with respect to V ............................................................................................................... Voltage on all other pins with respect to V (1) Total Power Dissipation ...

Page 58

... 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. FIGURE 10-2: PIC16C505 VOLTAGE-FREQUENCY GRAPH, -40 C 6.0 5.5 5 ...

Page 59

... 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. 1999 Microchip Technology Inc Frequency (MHz) PIC16C505 T + DS40192C-page 59 ...

Page 60

... The power down current in SLEEP mode does not depend on the oscillator type. Power down current is measured with the part in SLEEP mode, with all I/O pins in hi-impedance state and tied Commercial temperature range only. DS40192C-page 60 PIC16C505-04 (Commercial, Industrial, Extended) PIC16C505-20(Commercial, Industrial, Extended) Standard Operating Conditions (unless otherwise specified) Operating Temperature 0 C – ...

Page 61

... MHz 0 — 4 MHz 0 — 4 MHz measurements in active operation mode are: PIC16C505 T +70 C (commercial +85 C (industrial) A Conditions See Figure 10-1 through Figure 10-3 Device in SLEEP mode See section on Power-on Reset for details See section on Power-on Reset for details F = 4MHz 5.5V, WDT disabled ...

Page 62

... Data in “Typ” column unless otherwise stated. These parameters are for design guidance only and are not tested. Note 1: In EXTRC oscillator configuration, the OSC1/CLKIN pin is a Schmitt Trigger input not recommended that the PIC16C505 be driven with external clock in RC mode. ...

Page 63

... Data in “Typ” column unless otherwise stated. These parameters are for design guidance only and are not tested. Note 1: In EXTRC oscillator configuration, the OSC1/CLKIN pin is a Schmitt Trigger input not recommended that the PIC16C505 be driven with external clock in RC mode. ...

Page 64

... PIC16C505 TABLE 10-1: PULL-UP RESISTOR RANGES - PIC16C505 V (Volts) Temperature ( C) DD 2.5 – 125 5.5 – 125 2.5 – 125 5.5 – 125 * These parameters are characterized but not tested. DS40192C-page 64 Min Typ RB0/RB1/RB4 38K 42K 42K 48K 42K 49K 50K 55K ...

Page 65

... Timing Parameter Symbology and Load Conditions - PIC16C505 The timing parameter symbols have been created following one of the following formats: 1. TppS2ppS 2. TppS T F Frequency Lowercase subscripts (pp) and their meanings CLKOUT cy cycle time drt device reset timer io I/O port Uppercase letters and their meanings: ...

Page 66

... PIC16C505 10.5 Timing Diagrams and Specifications FIGURE 10-5: EXTERNAL CLOCK TIMING - PIC16C505 Q4 Q1 OSC1 TABLE 10-2: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16C505 AC Characteristics Standard Operating Conditions (unless otherwise specified) Operating Temperature Operating Voltage V Parameter Sym Characteristic No External CLKIN Frequency OSC Oscillator Frequency ...

Page 67

... TABLE 10-2: EXTERNAL CLOCK TIMING REQUIREMENTS - PIC16C505 (CONTINUED) AC Characteristics Standard Operating Conditions (unless otherwise specified) Operating Temperature Operating Voltage V Parameter Sym Characteristic No. 3 TosL, TosH Clock in (OSC1) Low or High Time 4 TosR, TosF Clock in (OSC1) Rise or Fall Time * These parameters are characterized but not tested. ...

Page 68

... I/O Pin (input) I/O Pin Old Value (output) Note: All tests must be done with specified capacitive loads (see data sheet I/O pins and CLKOUT. TABLE 10-4: TIMING REQUIREMENTS - PIC16C505 AC Characteristics Standard Operating Conditions (unless otherwise specified) Operating Temperature Operating Voltage V Parameter No. ...

Page 69

... FIGURE 10-7: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER TIMING - PIC16C505 V DD MCLR Internal POR 32 DRT Timeout (Note 2) Internal RESET Watchdog Timer RESET I/O pin (Note 1) Note 1: I/O pins must be taken out of hi-impedance mode by enabling the output drivers in software. 2: Runs in MCLR or WDT reset only in XT, LP and HS modes. ...

Page 70

... PIC16C505 FIGURE 10-8: TIMER0 CLOCK TIMINGS - PIC16C505 T0CKI TABLE 10-7: TIMER0 CLOCK REQUIREMENTS - PIC16C505 AC Characteristics Standard Operating Conditions (unless otherwise specified) Operating Temperature Operating Voltage V Parm Sym Characteristic No. 40 Tt0H T0CKI High Pulse Width No Prescaler 41 Tt0L T0CKI Low Pulse Width 42 Tt0P ...

Page 71

... Microchip Technology Inc. FIGURE 11-2: CALIBRATED INTERNAL RC 4.50 range). DD 4.40 4.30 4.20 is 4.10 4.00 3.90 = 5.0V) DD 3.80 3.70 3.60 3.50 -40 Max. Min. 85 125 PIC16C505 FREQUENCY RANGE VS. TEMPERATURE (V = 2.5V) DD (INTERNAL RC IS CALIBRATED TO 25°C, 5.0V) Max. Min . 125 Temperature (Deg.C) DS40192C-page 71 ...

Page 72

... PIC16C505 TABLE 11-1: DYNAMIC I (TYPICAL) - WDT ENABLED, 25°C DD Oscillator Frequency External RC Internal Note 1: LP oscillator based 2. Does not include current through external R&C. FIGURE 11-3: WDT TIMER TIME-OUT PERIOD vs Max +125 C 30 Max + 2.5 3.5 4.5 V (Volts) DD DS40192C-page 3. MHz (2) 240 µA 4 MHz 320 µ ...

Page 73

... V (Volts) OH 1999 Microchip Technology Inc. FIGURE 11- 2 FIGURE 11- 5.0 5.5 0 250.0m PIC16C505 vs 2 Max –40 C Typ +25 C Min +85 C Min +125 C 250.0m 500.0m 1.0 V (Volts Max –40 C Typ +25 C Min +85 C Min +125 C 500.0m 750.0m 1 ...

Page 74

... PIC16C505 NOTES: DS40192C-page 74 1999 Microchip Technology Inc. ...

Page 75

... Standard OTP marking consists of Microchip part number, year code, week code, facility code, mask rev#, and assembly code. For OTP 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. 1999 Microchip Technology Inc. PIC16C505 Example 16C505-04I/P BUILT 4 SPEED ...

Page 76

... PIC16C505 14-Lead Plastic Dual In-line (P) – 300 mil (PDIP Dimension Limits Number of Pins Pitch Top to Seating Plane Molded Package Thickness Base to Seating Plane Shoulder to Shoulder Width Molded Package Width Overall Length Tip to Seating Plane Lead Thickness Upper Lead Width Lower Lead Width ...

Page 77

... L .016 .033 .050 .008 .009 .010 B .014 .017 .020 PIC16C505 A2 MILLIMETERS NOM MAX 14 1.27 1.35 1.55 1.75 1.32 1.42 1.55 0.10 0.18 0.25 5.79 5.99 6.20 3.81 3.90 3.99 8.56 8.69 8.81 0.25 0.38 0.51 ...

Page 78

... PIC16C505 14-Lead Ceramic Side Brazed Dual In-line with Window (JW) – 300 mil Dimension Limits Number of Pins Pitch Top to Seating Plane Top of Body to Seating Plane Standoff Package Width Overall Length Tip to Seating Plane Lead Thickness Upper Lead Width Lower Lead Width Overall Row Spacing ...

Page 79

... Configuration Bits................................................................ 27 Configuration Word ............................................................. and AC Characteristics ................................................. 71 Development Support ......................................................... 51 Device Varieties .................................................................... 5 Digit Carry ............................................................................. 7 E Errata .................................................................................... 2 F Family of Devices PIC16C505 ................................................................... 4 FSR ..................................................................................... 18 I I/O Interfacing ..................................................................... 19 I/O Ports .............................................................................. 19 I/O Programming Considerations........................................ 20 ID Locations .................................................................. 27, 37 INDF.................................................................................... 18 Indirect Data Addressing..................................................... 18 Instruction Cycle ................................................................. 10 Instruction Flow/Pipelining .................................................. 10 Instruction Set Summary..................................................... 40 ...

Page 80

... PIC16C505 NOTES: DS40192B-page 80 1999 Microchip Technology Inc. ...

Page 81

... Conferences for products, Development Sys- tems, technical information and more • Listing of seminars and events 1999 Microchip Technology Inc. PIC16C505 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’ ...

Page 82

... Telephone: (_______) _________ - _________ Application (optional): Would you like a reply? Y Device: PIC16C505 Questions: 1. What are the best features of this document? 2. How does this document meet your hardware and software development needs you find the organization of this data sheet easy to follow? If not, why? 4 ...

Page 83

... PIC16C505T (Tape & reel for SOIC only) PIC16LC505T (Tape & reel for SOIC only) PIC16C505 Examples a) PIC16C505-04/P Commercial Temp., PDIP Package, 4 MHz, normal V limits DD b) PIC16C505-04I/SL Industrial Temp., SOIC package, 4 MHz, normal V limits DD c) PIC16C505-04I/P Industrial Temp., PDIP package, 4 MHz, normal V limits DD DS40192C-page 83 ...

Page 84

... 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 85

... 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-334-8870 Fax: 65-334-8850 Taiwan Microchip Technology Taiwan 11F-3, No. 207 ...

Related keywords