12c508 PDF
12c508 PDF
12c508 PDF
PIC12C509
PIC12C508
• 8-bit wide data path GP5/OSC1/CLKIN 2 7 GP0
• Seven special function hardware registers GP4/OSC2 3 6 GP1
DS40139A-page 4
PIC12C5XX
W
PIC12C508 4 512 25 TMR0 Yes 5 1 Yes 2.5-5.5 Yes 33 8-pin PDIP, 8-pin SOIC
PIC12C509 4 1024 41 TMR0 Yes 5 1 Yes 2.5-5.5 Yes 33 8-pin PDIP, 8-pin SOIC
All PIC12C5XX devices have Power-on Reset, selectable Watchdog Timer, selectable code protect
and high I/O current capability.
Advance Information
All PIC12C5XX devices use serial programming with data pin GP0 and clock pin GP1.
12 8 GPIO
Data Bus
Program Counter
EPROM
512 x 12 or GP0
1024 x 12 GP1
RAM GP2/T0CKI
Program 25 x 8 or
STACK1 GP3/MCLR/Vpp
Memory 41 x 8
STACK2 GP4/OSC2
File
Registers GP5/OSC1/CLKIN
Program 12
Bus RAM Addr (1) 9
Addr MUX
Instruction reg
Direct Addr 5 Indirect
5-7 Addr
FSR reg
STATUS reg
8
3 MUX
Device Reset
Timer
Instruction
Decode & ALU
Control Power-on
Reset
8
On-Chip OSC
Timer0
MCLR
VDD, VSS
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
OSC1
Q1
Q2 Internal
phase
Q3 clock
Q4
PC PC PC+1 PC+2
OSC2
(RC mode)
Fetch INST (PC)
Execute INST (PC-1) Fetch INST (PC+1)
Execute INST (PC) Fetch INST (PC+2)
Execute INST (PC+1)
All instructions are single cycle, except for any program branches. These take two cycles since the fetch
instruction is “flushed” from the pipeline while the new instruction is being fetched and then executed.
User Memory
Only the first 512 x 12 (0000h-01FFh) for the
Space
PIC12C508 and 1K x 12 (0000h-03FFh) for the 512 Word (PIC12C508)
PIC12C509 are physically implemented. Refer to 01FFh
0200h
Figure 4-1. Accessing a location above these
boundaries will cause a wrap-around within the first
On-chip Program
512 x 12 space (PIC12C508) or 1K x 12 space Memory
(PIC12C509). The reset vector is at 0000h. Location
01FFh (PIC12C508) or location 03FFh (PIC12C509)
contains the internal clock oscillator calibration value. 1024 Word (PIC12C509) 03FFh
This value should never be overwritten. 0400h
7FFh
FSR<6:5> 00 01
File Address
00h INDF(1) 20h
01h TMR0
02h PCL
06h GPIO
07h
General
Purpose
Registers
0Fh 2Fh
10h 30h
General General
Purpose Purpose
Registers Registers
1Fh 3Fh
Bank 0 Bank 1
N/A TRIS I/O control registers --11 1111 --11 1111 --11 1111
02h(1) PCL Low order 8 bits of PC 1111 1111 1111 1111 1111 1111
03h STATUS GPWUF — PA0 TO PD Z DC C 0001 1xxx 000q quuu 100q quuu
FSR
04h (12C508) Indirect data memory address pointer 111x xxxx 111u uuuu 111u uuuu
FSR
04h (12C509) Indirect data memory address pointer 110x xxxx 11uu uuuu 11uu uuuu
04h FSR Indirect data memory address pointer 1xxx xxxx 1uuu uuuu 1uuu uuuu
05h OSCCAL CAL7 CAL6 CAL5 CAL4 — — — — 0111 ---- uuuu ---- uuuu ----
06h GPIO — — GP5 GP4 GP3 GP2 GP1 GP0 --xx xxxx --uu uuuu --uu uuuu
Legend: Shaded boxes = unimplemented or unused, — = unimplemented, read as '0' (if applicable)
x = unknown, u = unchanged, q = see the tables in Section 7.7 for possible values.
Note 1: The upper byte of the Program Counter is not directly accessible. See Section 4.5
for an explanation of how to access these bits.
As a program instruction is executed, the Program The Program Counter is set upon a RESET, which
Counter (PC) will contain the address of the next means that the PC addresses the last location in the
program instruction to be executed. The PC value is last page i.e., the oscillator calibration instruction. After
increased by one every instruction cycle, unless an executing MOVLW XX, the PC will roll over to location
instruction changes the PC. 00h, and begin executing user code.
For a GOTO instruction, bits 8:0 of the PC are provided The STATUS register page preselect bits are cleared
by the GOTO instruction word. The PC Latch (PCL) is upon a RESET, which means that page 0 is pre-
mapped to PC<7:0>. Bit 5 of the STATUS register selected.
provides page information to bit 9 of the PC (Figure 4- Therefore, upon a RESET, a GOTO instruction will
6). automatically cause the program to jump to page 0
For a CALL instruction, or any instruction where the until the value of the page bits is altered.
PCL is the destination, bits 7:0 of the PC again are
provided by the instruction word. However, PC<8> 4.6 Stack
does not come from the instruction word, but is always
PIC12C5XX devices have a 12-bit wide hardware
cleared (Figure 4-6).
push/pop stack.
Instructions where the PCL is the destination, or
A CALL instruction will push the current value of stack
Modify PCL instructions, include MOVWF PC, ADDWF
1 into stack 2 and then push the current program
PC, and BSF PC,5.
counter value, incremented by one, into stack level 1.
Note: Because PC<8> is cleared in the CALL If more than two sequential CALL’s are executed, only
instruction, or any Modify PCL instruction, the most recent two return addresses are stored.
all subroutine calls or computed jumps are A RETLW instruction will pop the contents of stack level
limited to the first 256 locations of any pro- 1 into the program counter and then copy stack level 2
gram memory page (512 words long). contents into level 1. If more than two sequential
FIGURE 4-6: LOADING OF PC RETLW’s are executed, the stack will be filled with the
address previously stored in level 2. Note that the
BRANCH INSTRUCTIONS -
W register will be loaded with the literal value specified
PIC12C508/C509
in the instruction. This is particularly useful for the
GOTO Instruction implementation of data look-up tables within the
program memory.
11 10 9 8 7 0
PC PCL
Instruction Word
PA0
7 0
STATUS
Instruction Word
Reset to ‘0’
PA0
7 0
STATUS
1Fh 3Fh
Bank 0 Bank 1(2)
N/A TRIS I/O control registers --11 1111 --11 1111 --11 1111
N/A OPTION GPWU GPPU T0CS T0SE PSA PS2 PS1 PS0 1111 1111 1111 1111 1111 1111
03H STATUS GPWUF — PA0 TO PD Z DC C 0001 1xxx 000q quuu 100q quuu
06h GPIO — — GP5 GP4 GP3 GP2 GP1 GP0 --xx xxxx --uu uuuu --uu uuuu
Legend: Shaded cells not used by Port Registers, read as ‘0’, — = unimplemented, read as '0', x = unknown, u = unchanged,
q = see tables in Section 7.7 for possible values.
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Data bus
GP2/T0CKI FOSC/4 0
Pin PSout 8
1
Sync with
1 Internal TMR0 reg
Programmable Clocks
0 PSout
Prescaler(2)
T0SE (2 cycle delay) Sync
3
PS2, PS1, PS0(1) PSA(1)
T0CS(1)
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).
PC Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
(Program
Counter) PC-1 PC PC+1 PC+2 PC+3 PC+4 PC+5 PC+6
Instruction MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W
Fetch
Instruction
Executed
Write TMR0 Read TMR0 Read TMR0 Read TMR0 Read TMR0 Read TMR0
executed reads NT0 reads NT0 reads NT0 reads NT0 + 1 reads NT0 + 2
PC Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
(Program
Counter) PC-1 PC PC+1 PC+2 PC+3 PC+4 PC+5 PC+6
Instruction MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W
Fetch
Instruction
Execute Write TMR0 Read TMR0 Read TMR0 Read TMR0 Read TMR0 Read TMR0
executed reads NT0 reads NT0 reads NT0 reads NT0 reads NT0 + 1
01h TMR0 Timer0 - 8-bit real-time clock/counter xxxx xxxx uuuu uuuu uuuu uuuu
N/A OPTION GPWU GPPU T0CS T0SE PSA PS2 PS1 PS0 1111 1111 1111 1111 1111 1111
N/A TRIS I/O control registers --11 1111 --11 1111 --11 1111
Legend: Shaded cells not used by Timer0, - = unimplemented, x = unknown, u = unchanged,
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
External Clock Input or Small pulse
Prescaler Output (2) misses sampling
(1)
External Clock/Prescaler (3)
Output After Sampling
Timer0 T0 T0 + 1 T0 + 2
Note 1: Delay from clock input change to Timer0 increment is 3Tosc to 7Tosc. (Duration of Q = Tosc).
Therefore, the error in measuring the interval between two edges on Timer0 input = ± 4Tosc max.
2: External clock if no prescaler selected, Prescaler output otherwise.
3: The arrows indicate the points in time where sampling occurs.
T0SE T0CS
PSA
0
8-bit Prescaler
M
U
1 X
Watchdog 8
Timer
8 - to - 1MUX PS2:PS0
PSA
0 1
WDT Enable bit
MUX PSA
WDT
Time-Out
Note: T0CS, T0SE, PSA, PS2:PS0 are bits in the OPTION register.
Note 1: Refer to the PIC12C5XX Programming Specifications to determine how to access the
configuration word. This register is not user addressable during device operation.
XTAL
7.3.1 MCLR ENABLE The Power-On Reset circuit and the Device Reset
Timer (Section 7.5) circuit are closely related. On
This configuration bit when unprogrammed (left in the power-up, the reset latch is set and the DRT is reset.
‘1’ state) enables the external MCLR function. When The DRT timer begins counting once it detects MCLR
programmed, the MCLR function is tied to the internal to be high. After the time-out period, which is typically
VDD, and the pin is assigned to be a GPIO. See 18 ms, it will reset the reset latch and thus end the on-
Figure 7-7. chip reset signal.
FIGURE 7-7: MCLR SELECT A power-up example where MCLR is tied to VSS is
shown in Figure 7-9. VDD is allowed to rise and
stabilize before bringing MCLR high. The chip will
actually come out of reset TDRT msec after MCLR
MCLRE
goes high.
WEAK In Figure 7-10, the on-chip Power-On Reset feature is
PULL-UP being used (MCLR and VDD are tied together). The
INTERNAL MCLR VDD is stable before the start-up timer times out and
GP3/MCLR/VPP
there is no problem in getting a proper reset. However,
Figure 7-11 depicts a problem situation where VDD
rises too slowly. The time between when the DRT
senses a high on the GP3/MCLR/VPP pin, and when
7.4 Power-On Reset (POR) the GP3/MCLR/VPP pin (and VDD) actually reach their
full value, is too long. In this situation, when the start-
The PIC12C5XX family incorporates on-chip Power- up timer times out, VDD has not reached the VDD (min)
On Reset (POR) circuitry which provides an internal value and the chip is, therefore, not guaranteed to
chip reset for most power-up situations. function correctly. For such situations, we recommend
that external RC circuits be used to achieve longer
A Power-on Reset pulse is generated on-chip when
POR delay times (Figure 7-10).
VDD rise is detected (in the range of 1.5V - 2.1V). To
take advantage of the POR, tie the MCLR pin directly Note: When the device starts normal operation
to VDD. An internal weak pull-up resistor is imple- (exits the reset condition), device operat-
mented using a transistor. Refer to Table 10-5 for the ing parameters (voltage, frequency, tem-
pull-up resistor ranges. This will eliminate external RC perature, etc.) must be meet to ensure
components usually needed to create a Power-on operation. If these conditions are not met,
Reset. A maximum rise time for VDD is specified. See the device must be held in reset until the
Electrical Specifications for details. operating conditions are met.
When the device starts normal operation (exits the For additional information refer to Application Notes
reset condition), device operating parameters (voltage, “Power-Up Considerations” - AN522 and “Power-up
frequency, temperature, ...) must be met to ensure Trouble Shooting” - AN607.
operation. If these conditions are not met, the device
must be held in reset until the operating parameters are
met.
A simplified block diagram of the on-chip Power-On
Reset circuit is shown in Figure 7-8.
Power-Up
Detect
POR (Power-On Reset) Pin Change
VDD Wake-up on
pin change
SLEEP
GP3/MCLR/VPP
WDT Time-out
MCLRE
RESET
8-bit Asynch S Q
On-Chip Ripple Counter
DRT OSC (Start-Up Timer)
R Q
CHIP RESET
VDD
MCLR
INTERNAL POR
TDRT
DRT TIME-OUT
INTERNAL RESET
FIGURE 7-10: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO VDD): FAST VDD RISE TIME
VDD
MCLR
INTERNAL POR
TDRT
DRT TIME-OUT
INTERNAL RESET
FIGURE 7-11: TIME-OUT SEQUENCE ON POWER-UP (MCLR TIED TO VDD): SLOW VDD RISE TIME
V1
VDD
MCLR
INTERNAL POR
TDRT
DRT TIME-OUT
INTERNAL RESET
When VDD rises slowly, the TDRT time-out expires long before VDD has reached its final value. In
this example, the chip will reset properly if, and only if, V1 ≥ VDD min.
Oscillator circuits based on crystals or ceramic The TO bit (STATUS<4>) will be cleared upon a
resonators require a certain time after power-up to Watchdog Timer reset.
establish a stable oscillation. The on-chip DRT keeps The WDT can be permanently disabled by
the device in a RESET condition for approximately 18 programming the configuration bit WDTE as a '0'
ms after the voltage on the GP3/MCLR/VPP pin has (Section 7.1). Refer to the PIC12C5XX Programming
reached a logic high (VIHMC) level. Thus, external RC Specifications to determine how to access the
networks connected to the MCLR input are not configuration word.
required in most cases, allowing for savings in cost-
sensitive and/or space restricted applications.
The Device Reset time delay will vary from chip to chip
due to VDD, temperature, and process variation. See
AC parameters for details.
The DRT will also be triggered upon a Watchdog
Timer time-out (only in XT and LP modes). This is
particularly important for applications using the WDT
to wake from SLEEP mode automatically.
The WDT has a nominal time-out period of 18 ms, The CLRWDT instruction clears the WDT and the
(with no prescaler). If a longer time-out period is postscaler, if assigned to the WDT, and prevents it
desired, a prescaler with a division ratio of up to 1:128 from timing out and generating a device RESET.
can be assigned to the WDT (under software control) The SLEEP instruction resets the WDT and the
by writing to the OPTION register. Thus, time-out a postscaler, if assigned to the WDT. This gives the
period of a nominal 2.3 seconds can be realized. maximum SLEEP time before a WDT wake-up reset.
These periods vary with temperature, VDD and part-to-
part process variations (see DC specs).
Under worst case conditions (VDD = Min., Temperature
= Max., max. WDT prescaler), it may take several
seconds before a WDT time-out occurs.
0
M Postscaler
Watchdog 1 Postscaler
U
Timer
X
8 - to - 1 MUX PS2:PS0
0 1
MUX PSA
Note: T0CS, T0SE, PSA, PS2:PS0
are bits in the OPTION register.
WDT
Time-out
N/A OPTION GPWU GPPU T0CS T0SE PSA PS2 PS1 PS0 1111 1111 1111 1111 1111 1111
Legend: Shaded boxes = Not used by Watchdog Timer, — = unimplemented, read as '0', u = unchanged
f Register file address (0x00 to 0x7F) Literal and control operations (except GOTO)
W Working register (accumulator) 11 8 7 0
b Bit address within an 8-bit file register OPCODE k (literal)
k Literal field, constant data or label
k = 8-bit immediate value
Don't care location (= 0 or 1)
The assembler will generate code with x = 0. It is Literal and control operations - GOTO instruction
x
the recommended form of use for compatibility
with all Microchip software tools. 11 9 8 0
OPCODE k (literal)
Destination select;
d = 0 (store result in W) k = 9-bit immediate value
d
d = 1 (store result in file register 'f')
Default is d = 1
label Label name
TOS Top of Stack
PC Program Counter
WDT Watchdog Timer Counter
TO Time-Out bit
PD Power-Down bit
Destination, either the W register or the specified
dest register file location
[ ] Options
( ) Contents
→ Assigned to
<> Register bit field
∈ In the set of
italics User defined term (font is courier)
Description: The contents of the W register are Encoding: 0100 bbbf ffff
AND’ed with the eight-bit literal 'k'. The Description: Bit 'b' in register 'f' is cleared.
result is placed in the W register.
Words: 1
Words: 1
Cycles: 1
Cycles: 1
Example: BCF FLAG_REG, 7
Example: ANDLW 0x5F
Before Instruction
Before Instruction FLAG_REG = 0xC7
W = 0xA3
After Instruction
After Instruction FLAG_REG = 0x47
W = 0x03
NOP No Operation
MOVLW Move Literal to W Syntax: [ label ] NOP
Syntax: [ label ] MOVLW k Operands: None
Operands: 0 ≤ k ≤ 255 Operation: No operation
Operation: k → (W) Status Affected: None
Status Affected: None Encoding: 0000 0000 0000
Encoding: 1100 kkkk kkkk Description: No operation.
Description: The eight bit literal 'k' is loaded into the Words: 1
W register. The don’t cares will assem-
ble as 0s.
Cycles: 1
Cycles: 1
Example: MOVLW 0x5A
After Instruction
W = 0x5A
Words: 1 Words: 1
Cycles: 1 Cycles: 1
Example TRIS GPIO Example XORWF REG,1
Before Instruction Before Instruction
W = 0XA5 REG = 0xAF
After Instruction W = 0xB5
TRIS = 0XA5 After Instruction
Note: f = 6 for PIC12C5XX only. REG = 0x1A
W = 0xB5
EM167101
PIC14000 SW007002 SW006005 — — EM147001/ — DV007003 — DV003001
EM147101
PIC16C52, 54, 54A, SW007002 SW006005 SW006006 DV005001/ EM167015/ EM167201 DV007003 DV162003 DV003001
55, 56, 57, 58A DV005002 EM167101
PIC16C554, 556, 558 SW007002 SW006005 — DV005001/ EM167033/ —- DV007003 — DV003001
DV005002 EM167113
Advance Information
PIC16C84 SW007002 SW006005 SW006006 DV005001/ EM167029/ EM167206 DV007003 DV162003 DV003001
DV005002 EM167107
PIC16F84 SW007002 SW006005 SW006006 DV005001/ EM167029/ — DV007003 DV162003 DV003001
DV005002 EM167107
PIC16C923, 924* SW007002 SW006005 SW006006 DV005001/ EM167031/ — DV007003 — DV003001
DV005002 EM167111
PIC17C42, SW007002 SW006005 SW006006 DV005001/ EM177007/ — DV007003 — DV003001
42A, 43, 44 DV005002 EM177107
*Contact Microchip Technology for availability date ***All PICMASTER and PICMASTER-CE ordering part numbers above include
**MPLAB Integrated Development Environment includes MPLAB-SIM Simulator and PRO MATE II programmer
MPASM Assembler ****PRO MATE socket modules are ordered separately. See development systems
ordering guide for specific ordering part numbers
Product TRUEGAUGE Development Kit SEEVAL Designers Kit Hopping Code Security Programmer Kit Hopping Code Security Eval/Demo Kit
All 2 wire and 3 wire N/A DV243001 N/A N/A
Serial EEPROM's
MTA11200B DV114001 N/A N/A N/A
HCS200, 300, 301 * N/A N/A PG306001 DM303001
DS40139A-page 52
PIC12C5XX
PIC12C5XX
10.0 ELECTRICAL CHARACTERISTICS - PIC12C5XX
Absolute Maximum Ratings†
Ambient Temperature under bias ............................................................................................................. –40˚C to +85˚C
Storage Temperature.............................................................................................................................. –65˚C to +150˚C
Voltage on VDD with respect to VSS ................................................................................................................ 0 to +7.5 V
Voltage on MCLR with respect to VSS(2) .......................................................................................................... 0 to +14 V
Voltage on all other pins with respect to VSS ............................................................................... –0.6 V to (VDD + 0.6 V)
Total Power Dissipation(1) ................................................................................................................................... 700 mW
Max. Current out of VSS pin.................................................................................................................................. 200 mA
Max. Current into VDD pin .................................................................................................................................... 150 mA
Max. Current into VDD pin (Vclamp active)........................................................................................................... 100 mA
Input Clamp Current, IIK (VI < 0 or VI > VDD).....................................................................................................................±20 mA
Output Clamp Current, IOK (VO < 0 or VO > VDD).............................................................................................................±20 mA
Max. Output Current sunk by any I/O pin ............................................................................................................... 25 mA
Max. Output Current sourced by any I/O pin.......................................................................................................... 25 mA
Max. Output Current sourced by I/O port (PORTA).............................................................................................. 100 mA
Max. Output Current sourced by I/O port with VDD clamp active(PORTA)............................................................. 50 mA
Max. Output Current sunk by I/O port (PORTA ) .................................................................................................. 100 mA
Note 1: Power Dissipation is calculated as follows: PDIS = VDD x {IDD - ∑ IOH} + ∑ {(VDD-VOH) x IOH} + ∑(VOL x IOL)
Note 2: Voltage spikes below Vss at the MCLR pin, inducing currents greater than 80 mA may cause latch-up. Thus,
a series resistor of 50 to 100W should be used when applying a low level to the MCLR pin rather than pulling
this pin directly to Vss.
†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.
1. TppS2ppS
2. TppS
T
F Frequency T Time
Lowercase subscripts (pp) and their meanings:
pp
2 to mc MCLR
ck CLKOUT osc oscillator
cy cycle time os OSC1
drt device reset timer t0 T0CKI
io I/O port wdt watchdog timer
Uppercase letters and their meanings:
S
F Fall P Period
H High R Rise
I Invalid (Hi-impedance) V Valid
L Low Z Hi-impedance
Q4 Q1 Q2 Q3 Q4 Q1
OSC1
1 3 3
4 4
2
Parameter
No.
Sym Characteristic Min Typ(1) Max Units Conditions
Q4 Q1 Q2 Q3
OSC1
I/O Pin
(input)
17 19 18
20, 21
Note: All tests must be done with specified capacitive loads (see data sheet) 50 pF on I/O pins and CLKOUT.
Parameter
No. Sym Characteristic Min Typ(1) Max Units
VDD
MCLR
30
Internal
POR
32 32
32
DRT
Timeout
(Note 2)
Internal
RESET
Watchdog
Timer
RESET
31
34 34
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 and LP modes.
TABLE 10-3: RESET, WATCHDOG TIMER, AND DEVICE RESET TIMER - PIC12C5XX
Parameter
No. Sym Characteristic Min Typ(1) Max Units Conditions
T0CKI
40 41
42
4.5
Frequency (MHz)
4.0
3.5
-40 25 85
Temperature (°C)
FIGURE 10-7: CALIBRATED INTERNAL RC FREQUENCY RANGE VS. TEMPERATURE (VDD = 2.5V)
4.5
Frequency (MHz)
4.0 TYPICAL
3.5
-40 25 85
Temperature (°C)
4.5
Frequency (MHz)
4.0
3.5
2.5 3.5 4.5 5.5
VDD
Note: Altering calibration value by 1 is approximately a 4ns change.
4.5
Frequency (MHz)
4.0
3.5
2.5 3.5 4.5 5.5
VDD
Note: Altering calibration value by 1 is approximately a 4ns change.
4.5
Frequency (MHz)
4.0
3.5
2.5 3.5 4.5 5.5
VDD
Note: Altering calibration value by 1 is approximately a 4ns change.
TO BE DETERMINED
TO BE DETERMINED
α
E1 E C
eA
Pin No. 1
Indicator eB
Area
D
S S1
Base
Plane
Seating
Plane L
B1 A1 A2 A
B e1
D1
e h x 45°
B
Index
Area α C
E H
Chamfer L
h x 45°
1 2 3
CP Base
Seating Plane
Plane
A1 A
io (x1 odu in
r at y M SA m
pe or M , U m
O 2C ) a
of
em s) W r ts gr
y M te /P I/I rt rte els s V ol ro ip
c m y ) r e P o e ( P
en ra (b (s p a (S P n v nn r ce e a l s et -ch
u g y e ) v e o a g r i e n
eq o or ul om t(s la C Ch ou an R O
Fr Pr od /C or R Se ut al s s
m M em M e P e lS A /D s)
e p tS s
e u it - o
u O M r u r a l l l e - r r u i n g r c n t i on ure a ge
im R ta e pt ri ra r P lt a i di at
ax m -C ow ck
M EP Da Ti Ca Se Pa
op gh Inte
Sl (hi I/O Vo In Br Ad Fe Pa
Internal Oscillator,
Bandgap Reference,
APPENDIX A:PIC16/17 MICROCONTROLLERS
Temperature Sensor,
Calibration Factors,
TMR0 I2C/ 28-pin DIP, SOIC, SSOP
PIC14000 20 4K 192 — — 14 11 22 2.7-6.0 Yes — Low Voltage Detector,
ADTMR SMD (.300 mil)
Advance Information
SLEEP, HIBERNATE,
Comparators with
Programmable References
(2)
DS40139A-page 69
PIC12C5XX
TABLE A-2:
DS40139A-page 70
PIC12C5XX
)
Hz
( M
n
tio
s) y
ra
rd or
e
o
p
w em
s)
te
fO
12 M
s
o
og
)
r
(x ram
(b
on
cy
lts
ti
y
o
en
uc
or
)
(V
tr
qu
(s
e
em
e
ns
le
I
M
ng
s
Fr
of
ta
od
ge
Ra
r
PIC16C5X FAMILY OF DEVICES
um
M
M
ns
Da
be
ge
ck
im
Pi
er
M
m
RO
lta
ax
m
Pa
AM
Nu
EP
RO
M
I/O
Ti
R
PIC16C52 4 384 — 25 TMR0 12 Vo
2.5-6.25 33 18-pin DIP, SOIC
PIC16C54 20 512 — 25 TMR0 12 2.5-6.25 33 18-pin DIP, SOIC; 20-pin SSOP
PIC16C54A 20 512 — 25 TMR0 12 2.0-6.25 33 18-pin DIP, SOIC; 20-pin SSOP
Advance Information
PIC16CR54A 20 — 512 25 TMR0 12 2.0-6.25 33 18-pin DIP, SOIC; 20-pin SSOP
PIC16C55 20 512 — 24 TMR0 20 2.5-6.25 33 28-pin DIP, SOIC, SSOP
PIC16C56 20 1K — 25 TMR0 12 2.5-6.25 33 18-pin DIP, SOIC; 20-pin SSOP
PIC16C57 20 2K — 72 TMR0 20 2.5-6.25 33 28-pin DIP, SOIC, SSOP
PIC16CR57B 20 — 2K 72 TMR0 20 2.5-6.25 33 28-pin DIP, SOIC, SSOP
PIC16C58A 20 2K — 73 TMR0 12 2.0-6.25 33 18-pin DIP, SOIC; 20-pin SSOP
PIC16CR58A 20 — 2K 73 TMR0 12 2.5-6.25 33 18-pin DIP, SOIC; 20-pin SSOP
All PIC16/17 Family devices have Power-On Reset, selectable Watchdog Timer, selectable code protect and high I/O current capability.
Advance Information
PIC16C621 20 1K 80 TMR0 2 Yes 4 13 2.5-6.0 Yes 18-pin DIP, SOIC; 20-pin SSOP
PIC16C622 20 2K 128 TMR0 2 Yes 4 13 2.5-6.0 Yes 18-pin DIP, SOIC; 20-pin SSOP
All PIC16/17 Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O
current capability.
All PIC16C6XXX Family devices use serial programming with clock pin RB6 and data pin RB7.
DS40139A-page 71
PIC12C5XX
Clock Memory Peripherals Features
TABLE A-4:
H z) y s) (
(M or le T)
on e m )
s o du g
DS40139A-page 72
t i M d AR in
r a o r M S m
p e m
a w M , U ) m
O gr 4 ) W 2C
a
of
ts gr
y ro (x1 t es e /P I /I r t V ol ro
nc
P y ) r P o e s ( l P et
(b (s pa S P rc
q ue r y le m s )( v e u n ge eria es
e o u o la a R
Fr od /C rt( So R tS ut es
PIC12C5XX
M em M re Po e lS e ui -o
um O M r t u a l l l r u pt ins
a g i r c n k ag
i m R M t a e p r i r a r P l t C o w c
ax m te -
M EP RO Da Ti Ca Se Pa In I/O Vo In Br Pa
PIC16C62 20 2K — 128 TMR0, 1 SPI/I2C — 7 22 2.5-6.0 Yes — 28-pin SDIP, SOIC, SSOP
TMR1, TMR2
PIC16C62A(1) 20 2K — 128 TMR0, 1 SPI/I2C — 7 22 2.5-6.0 Yes Yes 28-pin SDIP, SOIC, SSOP
TMR1, TMR2
PIC16CR62(1) 20 — 2K 128 TMR0, 1 SPI/I2C — 7 22 2.5-6.0 Yes Yes 28-pin SDIP, SOIC, SSOP
TMR1, TMR2
PIC16C6X FAMILY OF DEVICES
PIC16C63 20 4K — 192 TMR0, 2 SPI/I2C, — 10 22 2.5-6.0 Yes Yes 28-pin SDIP, SOIC
TMR1, TMR2 USART
PIC16CR63(1) 20 — 4K 192 TMR0, 2 SPI/I2C, — 10 22 2.5-6.0 Yes Yes 28-pin SDIP, SOIC
TMR1, TMR2 USART
PIC16C64 20 2K — 128 TMR0, 1 SPI/I2C Yes 8 33 2.5-6.0 Yes — 40-pin DIP;
TMR1, TMR2 44-pin PLCC, MQFP
PIC16C64A(1) 20 2K — 128 TMR0, 1 SPI/I2C Yes 8 33 2.5-6.0 Yes Yes 40-pin DIP;
Advance Information
TMR1, TMR2 44-pin PLCC, MQFP, TQFP
PIC16CR64(1) 20 — 2K 128 TMR0, 1 SPI/I2C Yes 8 33 2.5-6.0 Yes Yes 40-pin DIP;
TMR1, TMR2 44-pin PLCC, MQFP, TQFP
PIC16C65 20 4K — 192 TMR0, 2 SPI/I2C, Yes 11 33 2.5-6.0 Yes — 40-pin DIP;
TMR1, TMR2 USART 44-pin PLCC, MQFP
PIC16C65A(1) 20 4K — 192 TMR0, 2 SPI/I2C, Yes 11 33 2.5-6.0 Yes Yes 40-pin DIP;
TMR1, TMR2 USART 44-pin PLCC, MQFP, TQFP
PIC16CR65(1) 20 — 4K 192 TMR0, 2 SPI/I2C, Yes 11 33 2.5-6.0 Yes Yes 40-pin DIP;
TMR1, TMR2 USART 44-pin PLCC, MQFP, TQFP
All PIC16/17 family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect, and high I/O current capability.
All PIC16C6X family devices use serial programming with clock pin RB6 and data pin RB7.
Note 1: Please contact your local sales office for availability of these devices.
Advance Information
PIC16C73A(1) 20 4K 192 TMR0, 2 SPI/I2C, — 5 11 22 2.5-6.0 Yes Yes 28-pin SDIP, SOIC
TMR1, TMR2 USART
PIC16C74 20 4K 192 TMR0, 2 SPI/I2C, Yes 8 12 33 2.5-6.0 Yes — 40-pin DIP;
TMR1, TMR2 USART 44-pin PLCC, MQFP
PIC16C74A(1) 20 4K 192 TMR0, 2 SPI/I2C, Yes 8 12 33 2.5-6.0 Yes Yes 40-pin DIP;
TMR1, TMR2 USART 44-pin PLCC, MQFP, TQFP
All PIC16/17 Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O current
capability.
All PIC16C7X Family devices use serial programming with clock pin RB6 and data pin RB7.
Note 1: Please contact your local sales office for availability of these devices.
DS40139A-page 73
PIC12C5XX
TABLE A-6:
DS40139A-page 74
PIC12C5XX
ag
h
M ta ta er r ru P t a k
xim PR l c
as
a m te
Fl
M EE RO Da Da Ti In I/O Vo Pa
PIC16C84 10 — 1K — 36 64 TMR0 4 13 2.0-6.0 18-pin DIP, SOIC
PIC16F84(1) 10 1K — — 68 64 TMR0 4 13 2.0-6.0 18-pin DIP, SOIC
PIC16CR84(1) 10 — — 1K 68 64 TMR0 4 13 2.0-6.0 18-pin DIP, SOIC
PIC16F83(1) 10 512 — — 36 64 TMR0 4 13 2.0-6.0 18-pin DIP, SOIC
Advance Information
PIC16CR83(1) 10 — — 512 36 64 TMR0 4 13 2.0-6.0 18-pin DIP, SOIC
All PIC16/17 family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect, and
high I/O current capability.
All PIC16C8X family devices use serial programming with clock pin RB6 and data pin RB7.
Note 1: Please contact your local sales office for availability of these devices.
um O M r u re al P l l C M r u pt ins
t Pi g r c n k a
im R ta e pt ri ra D r P lta i c
ax m D te pu -C ow
M EP Da Ti Ca Se Pa A/ LC In I/O In Vo In Br Pa
PIC16C923 8 4K 176 TMR0, 1 SPI/I2C — — 4 Com 8 25 27 3.0-6.0 Yes — 64-pin SDIP(1), TQFP,
TMR1, TMR2 32 Seg 68-pin PLCC, DIE
PIC16C924 8 4K 176 TMR0, 1 SPI/I2C — 5 4 Com 9 25 27 3.0-6.0 Yes —
64-pin SDIP(1), TQFP,
TMR1, TMR2 32 Seg
Advance Information
68-pin PLCC, DIE
All PIC16/17 Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O current capability.
All PIC16CXX Family devices use serial programming with clock pin RB6 and data pin RB7.
Note 1: Please contact your local Microchip representative for availability of this package.
DS40139A-page 75
PIC12C5XX
TABLE A-8:
DS40139A-page 76
Clock Memory Peripherals Features
)
PIC12C5XX
ds
Hz
or
(M
(W
n
y
io
)
or
rat
es
t
em
pe
M
)
by
T)
O
(
ns
R
ts
of
y
io
am
s
t
r
ol
y
ly
or
SA
c
pt
og
es
uc
(V
U
tip
en
tr
(s
ru
rc
Pr
e
em
r
u
ul
)(
u
le
ns
M
s
te
I
eq
ng
u
M
So
In
rt(
Fr
ta
of
od
re
o
Ra
es
M
r
pt
a
al
Da
um
ns
lP
s
ag
ru
ge
M
be
RO
k
dw
im
er
Pi
er
ia
M s
r
p
lta
te
AM
m
xt
ax
RO
ac
er
EP
um
a
W
In
Ha
E
M
I/O
P
Ti
N
C
P tur
Vo
Advance Information
PIC17C43 25 4K — 454 TMR0,TMR1, 2 2 Yes Yes Yes 11 33 2.5-6.0 58 40-pin DIP;
TMR2,TMR3 44-pin PLCC, TQFP, MQFP
PIC17CR43 25 — 4K 454 TMR0,TMR1, 2 2 Yes Yes Yes 11 33 2.5-6.0 58 40-pin DIP;
TMR2,TMR3 44-pin PLCC, TQFP, MQFP
PIC17C44 25 8K 454 TMR0,TMR1, 2 2 Yes Yes Yes 11 33 2.5-6.0 58 40-pin DIP;
TMR2,TMR3 44-pin PLCC, TQFP, MQFP
All PIC16/17 Family devices have Power-on Reset, selectable Watchdog Timer, selectable code protect and high I/O current capability.
PIC16C55, 28-pin
PIC16C57, PIC16CR57B
From: Name
Company
Address
City / State / ZIP / Country
Telephone: (_______) _________ - _________ FAX: (______) _________ - _________
Application (optional):
Would you like a reply? Y N
Questions:
2. How does this document meet your hardware and software development needs?
3. Do you find the organization of this data sheet easy to follow? If not, why?
4. What additions to the data sheet do you think would enhance the structure and subject?
5. What deletions from the data sheet could be made without affecting the overall usefulness?
8. How would you improve our software, systems, and silicon products?
Please contact your local sales office for exact ordering procedures.
Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. No representation or warranty
is given and no liability is assumed by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property
rights arising from such use or otherwise. Use of Microchip’s products as critical components in life support systems is not authorized except with express written approval by Microchip.
No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. The Microchip logo and name are registered trademarks of Microchip Technology Inc. All rights
reserved. All other trademarks mentioned herein are the property of their respective companies.