欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16C65B-04/L 参数 Datasheet PDF下载

PIC16C65B-04/L图片预览
型号: PIC16C65B-04/L
PDF下载: 下载PDF文件 查看货源
内容描述: 40分之28引脚8位CMOS微控制器 [28/40-Pin 8-Bit CMOS Microcontrollers]
分类和应用: 微控制器和处理器外围集成电路PC可编程只读存储器时钟
文件页数/大小: 184 页 / 2121 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC16C65B-04/L的Datasheet PDF文件第164页浏览型号PIC16C65B-04/L的Datasheet PDF文件第165页浏览型号PIC16C65B-04/L的Datasheet PDF文件第166页浏览型号PIC16C65B-04/L的Datasheet PDF文件第167页浏览型号PIC16C65B-04/L的Datasheet PDF文件第169页浏览型号PIC16C65B-04/L的Datasheet PDF文件第170页浏览型号PIC16C65B-04/L的Datasheet PDF文件第171页浏览型号PIC16C65B-04/L的Datasheet PDF文件第172页  
PIC16C63A/65B/73B/74B
APPENDIX D:
MIGRATION FROM BASELINE TO MID-RANGE DEVICES
To convert code written for PIC16C5X to PIC16CXX,
the user should take the following steps:
1.
2.
Remove any program memory page select
operations (PA2, PA1, PA0 bits) for
CALL, GOTO.
Revisit any computed jump operations (write to
PC or add to PC, etc.) to make sure page bits
are set properly under the new scheme.
Eliminate any data memory page switching.
Redefine data variables to reallocate them.
Verify all writes to STATUS, OPTION and FSR
registers since these have changed.
Change RESET vector to 0000h.
This section discusses how to migrate from a baseline
device (i.e., PIC16C5X) to a mid-range device (i.e.,
PIC16CXXX).
The following are the list of modifications over the
PIC16C5X microcontroller family:
1.
Instruction word length is increased to 14-bits.
This allows larger page sizes, both in program
memory (2 K now as opposed to 512 before)
and register file (128 bytes now versus 32 bytes
before).
A PC high latch register (PCLATH) is added to
handle program memory paging. Bits PA2, PA1
and PA0 are removed from STATUS register.
Data memory paging is redefined slightly.
STATUS register is modified.
Four new instructions have been added:
RETURN, RETFIE, ADDLW
and
SUBLW.
Two instructions,
TRIS
and
OPTION,
are being
phased out, although they are kept for compati-
bility with PIC16C5X.
OPTION and TRIS registers are made address-
able.
Interrupt capability is added. Interrupt vector is
at 0004h.
Stack size is increased to 8-deep.
RESET vector is changed to 0000h.
RESET of all registers is revisited. Five different
RESET (and wake-up) types are recognized.
Registers are reset differently.
Wake up from SLEEP through interrupt is
added.
Two separate timers, Oscillator Start-up Timer
(OST) and Power-up Timer (PWRT) are
included for more reliable power-up. These tim-
ers are invoked selectively to avoid unneces-
sary delays on power-up and wake-up.
PORTB
has
weak
pull-ups
and
interrupt-on-change feature.
T0CKI pin is also a port pin (RA4) now.
FSR is made a full 8-bit register.
“In-Circuit Serial Programming” (ICSP) is made
possible. The user can program PIC16CXX
devices using only five pins: V
DD
, V
SS
,
MCLR/V
PP
, RB6 (clock) and RB7 (data in/out).
PCON status register is added with a Power-on
Reset status bit (POR).
Code protection scheme is enhanced, such that
portions of the program memory can be pro-
tected, while the remainder is unprotected.
Brown-out protection circuitry has been added.
Controlled by configuration word bit BODEN.
Brown-out Reset ensures the device is placed in
a RESET condition if V
DD
dips below a fixed
setpoint.
3.
4.
5.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
DS30605C-page 168
2000 Microchip Technology Inc.