PIC16F636-I/P Microchip Technology Inc., PIC16F636-I/P Datasheet - Page 13

no-image

PIC16F636-I/P

Manufacturer Part Number
PIC16F636-I/P
Description
14 PIN, 3.5 KB FLASH, 128 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F636-I/P

Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
1-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
2.0
2.1
The PIC12F635/PIC16F636/639 devices have a 13-bit
program counter capable of addressing an 8K x 14
program memory space. Only the first 1K x 14
(0000h-03FFh, for the PIC12F635) and 2K x 14
(0000h-07FFh, for the PIC16F636/639) is physically
implemented. Accessing a location above these
boundaries will cause a wrap around within the first
2K x 14 space. The Reset vector is at 0000h and the
interrupt vector is at 0004h (see Figure 2-1).
2.2
The data memory (see Figure 2-2) is partitioned into
two banks, which contain the General Purpose
Registers (GPR) and the Special Function Registers
(SFR). The Special Function Registers are located in
the first 32 locations of each bank. Register locations
20h-7Fh in Bank 0 and A0h-BFh in Bank 1 are GPRs,
implemented as static RAM for the PIC16F636/639.
For the PIC12F635, register locations 40h through 7Fh
are GPRs implemented as static RAM. Register
locations F0h-FFh in Bank 1 point to addresses 70h-
7Fh in Bank 0. All other RAM is unimplemented and
returns ‘0’ when read. RP0 (STATUS<5>) is the bank
select bit.
TABLE 2-1:
© 2005 Microchip Technology Inc.
RP0
0
1
0
1
MEMORY ORGANIZATION
Program Memory Organization
Data Memory Organization
BANK SELECTION
RP1
0
0
1
1
Bank
0
1
2
3
PIC12F635/PIC16F636/639
Preliminary
FIGURE 2-1: PROGRAM MEMORY MAP AND
FIGURE 2-2: PROGRAM MEMORY MAP AND
CALL, RETURN
RETFIE, RETLW
CALL, RETURN
RETFIE, RETLW
STACK OF THE PIC12F635
STACK OF THE PIC16F636/639
On-chip Program
Stack Level 1
Stack Level 8
Reset Vector
Interrupt Vector
Access 0-7FFh
On-chip Program
Access 0-3FFh
Stack Level 1
Stack Level 8
Reset Vector
Interrupt Vector
PC<12:0>
Memory
PC<12:0>
Memory
13
13
DS41232B-page 11
0000h
0004h
0005h
07FFh
0800h
1FFFh
0000h
0004h
0005h
03FFh
0400h
1FFFh

Related parts for PIC16F636-I/P