PIC16LC505-04I/SL Microchip Technology, PIC16LC505-04I/SL Datasheet

no-image

PIC16LC505-04I/SL

Manufacturer Part Number
PIC16LC505-04I/SL
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,14PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16LC505-04I/SL

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
12
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
OTP
Ram Size
72 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
14-SOIC (3.9mm Width), 14-SOL
Processor Series
PIC16LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
72 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
11
Number Of Timers
8
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
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
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16LC505-04I/SL
Manufacturer:
MCIRON
Quantity:
12 400
Part Number:
PIC16LC505-04I/SL
Manufacturer:
MICROCHIP
Quantity:
11
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 PIC16LC505-04I/SL

PIC16LC505-04I/SL 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

... However, we realize that we may have missed a few things. If you find any information that is missing or appears in error, please: • Fill out and mail in the reader response form in the back of this data sheet. • E-mail us at webmaster@microchip.com. We appreciate your assistance in making this a better document. DS40192C-page 2 To Our Valued Customers 1999 Microchip Technology Inc. ...

Page 3

... GENERAL DESCRIPTION The PIC16C505 from Microchip Technology is a low- cost, high-performance, 8-bit, fully static, EPROM/ ROM-based CMOS microcontroller. It employs a RISC architecture with only 33 single word/single cycle instructions. All instructions are single cycle (200 s) except for program branches, which take two cycles. ...

Page 4

... 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 PIC16C505 20 1024 72 TMR0 Yes 11 1 Yes Yes 33 14-pin DIP, SOIC, JW 1999 Microchip Technology Inc. ...

Page 5

... EPROM locations and fuse options already programmed by the factory. Certain code and prototype verification procedures do apply before production shipments are available. Please contact your local Microchip Technology sales office for more details. 2.4 Serialized Quick-Turnaround Production (SQTP Microchip offers a unique programming service, where a few user-defined locations in each device are programmed with different serial numbers ...

Page 6

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

Page 7

... PIC16C505 simple yet efficient. In addition, the learning curve is reduced significantly. 1999 Microchip Technology Inc. The PIC16C505 device contains an 8-bit ALU and working register. The ALU is a general purpose arithmetic unit. It performs arithmetic and Boolean functions between data in the working register and any register file ...

Page 8

... STACK2 Registers RAM Addr 9 Addr MUX Indirect 5 5-7 Addr FSR reg STATUS reg 3 MUX Timer Power-on ALU Reset 8 W reg Timer OSC Timer0 PORTB RB0 RB1 RB2 RB3/MCLR/V PP RB4/OSC2/CLKOUT RB5/OSC1/CLKIN PORTC RC0 RC1 RC2 RC3 RC4 RC5/T0CKI 1999 Microchip Technology Inc. ...

Page 9

... Legend input output, I/O = input/output power, — = not used, TTL = TTL input Schmitt Trigger input 1999 Microchip Technology Inc. I/O/P Buffer Description Type Type I/O TTL/ST Bi-directional I/O port/ serial programming data. Can be software programmed for internal weak pull-up and wake-up from SLEEP on pin change. This buffer is a Schmitt Trigger input when used in serial programming mode ...

Page 10

... 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 Internal phase clock PC+2 Fetch INST (PC+2) Execute INST (PC+1) Flush Fetch SUB_1 Execute SUB_1 1999 Microchip Technology Inc. ...

Page 11

... Figure 4-1). Location 03FFh contains the internal clock oscillator calibration value. This value should never be overwritten. 1999 Microchip Technology Inc. FIGURE 4-1: PROGRAM MEMORY MAP AND STACK FOR THE PIC16C505 ...

Page 12

... File Select Register FSR (Section 4.8). Function 01 10 (1) 20h 40h Addresses map back to addresses in Bank 0. 2Fh 4Fh 30h 50h General General Purpose Purpose Registers Registers 3Fh 5Fh Bank 1 Bank 2 11 60h 6Fh 70h General Purpose Registers 7Fh Bank 3 1999 Microchip Technology Inc. ...

Page 13

... If reset was due to wake-up on pin change, then bit All other rests will cause bit Note 2: Other (non-power-up) resets include external reset through MCLR, watchdog timer and wake-up on pin change reset. 1999 Microchip Technology Inc. The Special Function Registers can be classified into two sets. The Special Function Registers associated with the “ ...

Page 14

... STATUS bits, see Instruction Set Summary. R-1 R/W-x R/W-x R/W bit0 SUBWF RRF or RLF borrow did not occur Load bit with LSB or MSB, respectively borrow occurred R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ Value at POR reset 1999 Microchip Technology Inc. ...

Page 15

... Microchip Technology Inc. Note: If TRIS bit is set to ‘0’, the wake-up on change and pull-up functions are disabled for that pin (i.e., note that TRIS overrides OPTION control of RBPU and RBWU). W-1 W-1 W-1 ...

Page 16

... CAL5 CAL4 CAL3 CAL2 bit7 bit 7-2: CAL<5:0>: Calibration bit 1-0: Unimplemented read as ‘0’ DS40192C-page 16 R/W-0 R/W-0 U-0 U-0 CAL1 CAL0 — — bit0 R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ Value at POR reset 1999 Microchip Technology Inc. ...

Page 17

... PCL Instruction Word Reset to ‘0’ PA0 7 0 STATUS 1999 Microchip Technology Inc. 4.6.1 EFFECTS OF RESET The Program Counter is set upon a RESET, which means that the PC addresses the last location in the last page (i.e., the oscillator calibration instruction.) After executing MOVLW location 00h and begin executing user code ...

Page 18

... Bank 0 Bank 1 Bank 2 Bank 3 HOW TO CLEAR RAM USING INDIRECT ADDRESSING 0x10 ;initialize pointer FSR ; to RAM INDF ;clear INDF register FSR,F ;inc pointer FSR,4 ;all done? NEXT ;NO, clear next ;YES, continue Indirect Addressing (FSR) 0 bank location select 1999 Microchip Technology Inc. ...

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

Page 20

... All Other Resets --11 1111 --11 1111 --11 1111 --11 1111 1111 1111 1111 1111 PS0 (1) 0001 1xxx q00q quuu C RB0 --xx xxxx --uu uuuu RC0 --xx xxxx --uu uuuu READ-MODIFY-WRITE INSTRUCTIONS ON AN I/O PORT PORTB latch PORTB pins ---------- ---------- ;--01 -ppp --11 pppp ;--10 -ppp --11 pppp ; ;--10 -ppp --11 pppp 1999 Microchip Technology Inc. ...

Page 21

... MOVWF PORTB MOVF PORTB,W RB<5:0> Port pin written here Instruction executed MOVWF PORTB (Write to PORTB) 1999 Microchip Technology Inc 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 ...

Page 22

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

Page 23

... T0CS Note 1: Bits T0CS, T0SE, PSA, PS2, PS1 and PS0 are located in the OPTION register. 2: The prescaler is shared with the Watchdog Timer (Figure 6-5). 1999 Microchip Technology Inc. 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 T0SE bit (OPTION< ...

Page 24

... Read TMR0 reads NT0 + 1 reads NT0 + 2 PC+4 PC+5 PC+6 NT0+1 T0 Read TMR0 Read TMR0 reads NT0 reads NT0 + 1 Value on Value on Power-On All Other Bit 0 Reset Resets xxxx xxxx uuuu uuuu PS0 1111 1111 1111 1111 RC0 --11 1111 --11 1111 1999 Microchip Technology Inc. ...

Page 25

... External clock if no prescaler selected; prescaler output otherwise. 3: The arrows indicate the points in time where sampling occurs. 1999 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. For the external clock to meet the sampling ...

Page 26

... WDT ;Clear TMR0 & Prescaler ; are required only if ; desired ;PS<2:0> are 000 or 001 ; desired WDT rate CHANGING PRESCALER (WDT TIMER0) ;Clear WDT and ;prescaler ;Select TMR0, new ;prescale value and ;clock source Data Bus 8 TMR0 reg 1999 Microchip Technology Inc. ...

Page 27

... This register is not user addressable during device operation. 3: All code protect bits must be written to the same value. 1999 Microchip Technology Inc. The PIC16C505 has a Watchdog Timer, which can be shut off only through configuration bit WDTE. It runs off of its own RC oscillator for added reliability. If using ...

Page 28

... PIC16C505 SLEEP To internal logic CAPACITOR SELECTION FOR CERAMIC RESONATORS - PIC16C505 Cap. Range Cap. Range 10-47 pF 10-47 pF CAPACITOR SELECTION FOR CRYSTAL OSCILLATOR - PIC16C505 Cap.Range Cap. Range 47-68 pF 47- 15-47 pF 15-47 pF > 4.5V 1999 Microchip Technology Inc. ...

Page 29

... XTAL 1999 Microchip Technology Inc. 7.2.4 EXTERNAL 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 ...

Page 30

... The exceptions to this are TO, PD and RBWUF bits. They are set or cleared differently in different reset situations. These bits are used in software to determine the nature of reset. See Table 7-3 for a full description of reset states of all registers. DS40192C-page 30 XX 1999 Microchip Technology Inc. ...

Page 31

... MCLR reset during normal operation MCLR reset during SLEEP WDT reset during SLEEP WDT reset normal operation Wake-up from SLEEP on pin change Legend unchanged unknown unimplemented bit, read as ‘0’. 1999 Microchip Technology Inc. Address Power-on Reset — (1) qqqq qqqq 00h ...

Page 32

... DD For additional information refer to Application Notes “ Power-Up Considerations” - AN522 and “ Power-up Trouble Shooting ” - AN607. 1999 Microchip Technology Inc. is allowed to rise and msec after MCLR DRT are tied together or the is stable ...

Page 33

... INTERNAL POR DRT TIME-OUT INTERNAL RESET FIGURE 7-9: 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 ...

Page 34

... TABLE 7-5: Oscillator Configuration IntRC & ExtRC HS, XT & SLOW V RISE TIME DD DD has reached its final DD V min permanently disabled by DRT (DEVICE RESET TIMER PERIOD) Subsequent POR Reset Resets 18 ms (typical) 300 µs (typical (typical (typical) 1999 Microchip Technology Inc. ...

Page 35

... N/A OPTION RBWU RBPU Legend: Shaded boxes = Not used by Watchdog Timer, — = unimplemented, read as '0 unchanged. 1999 Microchip Technology Inc. 7.6.2 WDT PROGRAMMING CONSIDERATIONS The CLRWDT instruction clears the WDT and the postscaler, if assigned to the WDT, and prevents it from timing out and generating a device RESET. ...

Page 36

... Note 1: Pin must be confirmed as MCLR. FIGURE 7-14: BROWN-OUT PROTECTION CIRCUIT MCP809 bypass capacitor RST This brown-out protection circuit employs Microchip Technology’s MCP809 There are 7 different accommodate systems. 1999 Microchip Technology Inc PIC16C505 Q1 (1) MCLR 40k 0. MCLR PIC12C5XX microcontroller supervisor. trip point selections to ...

Page 37

... SLEEP mode. The WDT is cleared when the device wakes from sleep, regardless of the wake-up source. 1999 Microchip Technology Inc. 7.10 Program Verification/Code Protection If the code protection bit has not been programmed, the on-chip program memory can be read out for verification purposes ...

Page 38

... PIC16C505 Programming Specifications. A typical in-circuit serial programming connection is shown in Figure 7-15. DS40192C-page 38 FIGURE 7-15: TYPICAL IN-CIRCUIT SERIAL PROGRAMMING CONNECTION To Normal Connections External Connector Signals + MCLR/V PP RB1 CLK Data I/O RB0 Normal Connections 1999 Microchip Technology Inc. PIC16C505 PP ...

Page 39

... In the set of i talics User defined term (font is courier) 1999 Microchip Technology Inc. All instructions are executed within a single instruction cycle, unless a conditional test is true or the program counter is changed as a result of an instruction. In this case, the execution takes two instruction cycles. One instruction cycle consists of four oscillator periods ...

Page 40

... None 0000 0000 0010 2 None 1000 kkkk kkkk 0000 0000 0011 , 1 None 0000 0000 0fff 1 Z 1111 kkkk kkkk 1999 Microchip Technology Inc. 1,2,4 2,4 4 2,4 2,4 2,4 2,4 2,4 2,4 1,4 2,4 2,4 1,2,4 2,4 2,4 2,4 2 ...

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

Page 42

... If bit ’b’ is ’1’, then the next instruc- tion fetched during the current instruction execution, is discarded and a NOP is executed instead, making this a 2 cycle instruction. 1 1(2) HERE BTFSS FLAG,1 FALSE GOTO PROCESS_CODE TRUE = address (HERE address (FALSE address (TRUE) 1999 Microchip Technology Inc. ...

Page 43

... Z bit is set. 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

... Description: 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>. GOTO is a two cycle instruction. Words: 1 Cycles: 2 Example: GOTO THERE After Instruction PC = address (THERE) 1999 Microchip Technology Inc. CNT, 1 LOOP ...

Page 45

... Words: 1 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

... MOVLW k Operands 255 Operation: k (W) Status Affected: None Encoding: 1100 kkkk kkkk Description: The eight bit literal 'k' is loaded into the W register. The don’t cares will assembled as 0s. Words: 1 Cycles: 1 Example: MOVLW 0x5A After Instruction W = 0x5A 1999 Microchip Technology Inc. ...

Page 47

... NOP Operands: None Operation: No operation Status Affected: None Encoding: 0000 0000 0000 Description: No operation. Words: 1 Cycles: 1 Example: NOP 1999 Microchip Technology Inc. OPTION Syntax: f Operands: Operation: Status Affected: None Encoding: Description: Words: Cycles: Example Before Instruction W After Instruction OPTION = RETLW Syntax: ...

Page 48

... Carry Flag. If ’d’ the result is placed in the W register. If ’d’ the result is placed back in reg- ister ’f’. C register ’f’ RRF REG1,0 = 1110 0110 = 0 = 1110 0110 = 0111 0011 = 0 1999 Microchip Technology Inc. ...

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

... Description: Exclusive OR the contents of the W register with register 'f the result is stored in the W regis- ter the result is stored back in register 'f'. Words: 1 Cycles: 1 Example XORWF REG,1 Before Instruction REG = 0xAF W = 0xB5 After Instruction REG = 0x1A W = 0xB5 1999 Microchip Technology Inc. ...

Page 51

... A full featured editor • A project manager • 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 ...

Page 52

... PICmicro MCU. 9.7 PICMASTER/PICMASTER CE The PICMASTER system from Microchip Technology is a full-featured, professional quality emulator system. This flexible in-circuit emulator provides a high-quality, universal platform for emulating Microchip 8-bit PICmicro microcontrollers (MCUs). PICMASTER sys- tems are sold worldwide, with a CE compliant model available for European Union (EU) countries ...

Page 53

... SIMICE is an entry-level hardware development sys- tem designed to operate in a PC-based environment with Microchip’s simulator MPLAB-SIM. Both SIMICE and MPLAB-SIM run under Microchip Technology’s MPLAB Integrated Development Environment (IDE) software. Specifically, SIMICE provides hardware sim- ulation for Microchip’s PIC12C5XX, PIC12CE5XX, and PIC16C5X families of PICmicro 8-bit microcontrollers ...

Page 54

... Programming Tools K L evaluation and programming tools support EE OQ Microchips HCS Secure Data Products. The HCS eval- uation kit includes an LCD display to show changing codes, a decoder to decode transmissions, and a pro- gramming interface to program test transmitters. DS40192C-page 54 PIC17C756, 1999 Microchip Technology Inc. ...

Page 55

... PIC16C5X á á á á PIC14000 á á á á á PIC12CXXX Tools Software Emulators 1999 Microchip Technology Inc. á á á á á á á á á á á á á á á á á á ...

Page 56

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

Page 57

... NOTICE: Stresses above those listed under "Maximum Ratings" may cause permanent damage to the device. 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. 1999 Microchip Technology Inc. ............................................................................... –0 > ...

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. DS40192C-page Frequency (MHz Frequency (MHz +125 1999 Microchip Technology Inc. ...

Page 59

... FIGURE 10-3: PIC16LC505 VOLTAGE-FREQUENCY GRAPH, -40 C 6.0 5.5 5.0 4 (Volts) 4.0 3.5 3.0 2.5 2.0 0 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. ...

Page 60

... WDT disabled OSC 20MHz 5.5V, WDT disabled* OSC 32kHz 3.0V, WDT disabled (Note 6) OSC 3.0V (Note 4.5V* (Note 5.5V, Industrial 5.5V, Extended Temp 3.0V (Note 6) DD All temperatures All temperatures All temperatures All temperatures , T0CKI = V , MCLR = 1999 Microchip Technology Inc. ...

Page 61

... 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. 1999 Microchip Technology Inc. PIC16LC505-04 (Commercial, Industrial) Standard Operating Conditions (unless otherwise specified) Operating Temperature 0 C – ...

Page 62

... This spec. applies when GP3/MCLR is configured as an input with pull-up disabled. The leakage current of the MCLR circuit is higher than the standard I/O logic. DS40192C-page 62 PIC16C505-04 (Commercial, Industrial, Extended) PIC16C505-20(Commercial, Industrial, Extended) PIC16LC505-04 (Commercial, Industrial) Standard Operating Conditions (unless otherwise specified) Operating temperature 0° – ...

Page 63

... This spec. applies to GP3/MCLR configured as external MCLR and GP3/MCLR configured as input with internal pull-up enabled. 6: This spec. applies when GP3/MCLR is configured as an input with pull-up disabled. The leakage current of the MCLR circuit is higher than the standard I/O logic. 1999 Microchip Technology Inc. Standard Operating Conditions (unless otherwise specified) Operating temperature 0°C ...

Page 64

... RB3 285K 346K 343K 414K 368K 457K 431K 504K 247K 292K 288K 341K 306K 371K 351K 407K Max Units 63K W 63K W 63K W 63K W 20K W 23K W 25K W 28K W 417K W 532K W 532K W 593K W 360K W 437K W 448K W 500K W 1999 Microchip Technology Inc. ...

Page 65

... CLKOUT cy cycle time drt device reset timer io I/O port Uppercase letters and their meanings Fall H High I Invalid (Hi-impedance) L Low FIGURE 10-4: LOAD CONDITIONS - PIC16C505 Pin 1999 Microchip Technology Inc. T Time mc MCLR osc oscillator os OSC1 t0 T0CKI wdt watchdog timer P Period R Rise V Valid ...

Page 66

... LP osc mode — osc mode — osc mode (PIC16C505-20) — µs LP osc mode — ns EXTRC osc mode 10,000 ns XT osc mode 250 ns HS ocs mode (PIC16C505-04) 250 ns HS ocs mode (PIC16C505-20) — µs LP osc mode 1999 Microchip Technology Inc. ...

Page 67

... Characteristic No. Internal Calibrated RC Internal Calibrated RC * These parameters are characterized but not tested. Note 1: Data in the Typical (“Typ”) column unless otherwise stated. These parameters are for design guidance only and are not tested. 1999 Microchip Technology Inc +70 C (commercial), A – ...

Page 68

... See Figure 10-4 for loading conditions. DS40192C-page 20 +70 C (commercial) A – +85 C (industrial) A – +125 C (extended) A range is described in Section 10.1 DD Characteristic Min (2,3) — TBD (2) TBD (3) — (3) — Q3 New Value (1) Typ Max Units — 100* ns — — ns — — 25 25** ns 1999 Microchip Technology Inc. ...

Page 69

... Note 1: Data in the Typical (“Typ”) column unless otherwise stated. These parameters are for design guidance only and are not tested. TABLE 10-6: DRT (DEVICE RESET TIMER PERIOD - PIC16C505 Oscillator Configuration POR Reset IntRC & ExtRC 18 ms (typical) XT, HS & (typical) 1999 Microchip Technology Inc +70 C (commercial) A – ...

Page 70

... Section 10.1. DD Min Typ 0 20* — CY With Prescaler 10* — No Prescaler 0 20* — CY With Prescaler 10* — 40* N — CY +70 C (commercial) +85 C (industrial) +125 C (extended) (1) Max Units Conditions — ns — ns — ns — ns — ns Whichever is greater Prescale Value (1, 2, 4,..., 256) 1999 Microchip Technology Inc. ...

Page 71

... TEMPERATURE (V (INTERNAL RC IS CALIBRATED TO 25°C, 5.0V) 4.50 4.40 4.30 4.20 4.10 4.00 3.90 3.80 3.70 3.60 3.50 - Temperature (Deg.C) 1999 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 ...

Page 72

... Typ +25 C 150 MIn – 5.5 6.5 ( 5.5V DD (2) 800 µA 800 µA 800 µA 50 µA 4 Max +125 C Max +85 C Typ +25 C MIn –40 C 2.5 3.5 4.5 5.5 6.5 V (Volts) DD 1999 Microchip Technology Inc. ...

Page 73

... 500m 1.0 1.5 2.0 V (Volts) OH FIGURE 11- -10 -15 -20 -25 -30 3.5 4.0 4.5 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 ...

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

Page 76

... MILLIMETERS MIN NOM MAX 14 2.54 3.56 3.94 4.32 2.92 3.30 3.68 0.38 7.62 7.94 8.26 6.10 6.35 6.60 18.80 19.05 19.30 3.18 3.30 3.43 0.20 0.29 0.38 1.14 1.46 1.78 0.36 0.46 0.56 7.87 9.40 10. 1999 Microchip Technology Inc. ...

Page 77

... Lead Width Mold Draft Angle Top Mold Draft Angle Bottom *Controlling Parameter 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-012 Drawing No. C04-065 1999 Microchip Technology Inc Units ...

Page 78

... Microchip Technology Inc. ...

Page 79

... M Memory Organization.......................................................... 11 Data Memory .............................................................. 12 Program Memory ........................................................ 11 MPLAB Integrated Development Environment Software .... 51 O OPTION Register ................................................................ 15 OSC selection ..................................................................... 27 OSCCAL Register ............................................................... 16 Oscillator Configurations ..................................................... 28 1999 Microchip Technology Inc. PIC16C505 Oscillator Types HS............................................................................... 28 LP ............................................................................... 28 RC .............................................................................. 28 XT ............................................................................... 28 P Package Marking Information ............................................. 75 Packaging Information ........................................................ 75 PICDEM-1 Low-Cost PICmicro Demo Board ..................... 53 PICDEM-2 Low-Cost PIC16CXX Demo Board ...

Page 80

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

Page 81

... Trademarks: The Microchip name, logo, PIC, PICmicro, PICSTART, PICMASTER and PRO MATE are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. Flex ROM, MPLAB and fuzzy- LAB are trademarks and SQTP is a service mark of Microchip in the U ...

Page 82

... What deletions from the data sheet could be made without affecting the overall usefulness there any incorrect or misleading information (what and where)? 7. How would you improve this document? 8. How would you improve our software, systems, and silicon products? DS40192C-page 82 Total Pages Sent FAX: (______) _________ - _________ N Literature Number: DS40192C 1999 Microchip Technology Inc. ...

Page 83

... +125 MHz (XT, INTRC, EXTRC OSC MHz (HS OSC) PIC16C505 PIC16LC505 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 ...

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