PIC16C66-04I/SP Microchip Technology, PIC16C66-04I/SP Datasheet - Page 168
![IC MCU OTP 8KX14 PWM 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC16C66-04I/SP
Manufacturer Part Number
PIC16C66-04I/SP
Description
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F818-ISO.pdf
(6 pages)
3.PIC16C63A-04SP.pdf
(184 pages)
4.PIC16LC62A-04SP.pdf
(337 pages)
5.PIC16C66-04SO.pdf
(6 pages)
Specifications of PIC16C66-04I/SP
Core Size
8-Bit
Program Memory Size
14KB (8K x 14)
Core Processor
PIC
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
OTP
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
22
Ram Memory Size
368Byte
Cpu Speed
4MHz
No. Of Timers
3
No. Of Pwm Channels
2
Embedded Interface Type
I2C, SPI, UART
Rohs Compliant
Yes
Package
28SPDIP
Device Core
PIC
Family Name
PIC16
Maximum Speed
4 MHz
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
22
Interface Type
I2C/SPI/USART
Number Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PIC16C63A/65B/73B/74B
APPENDIX D:
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.
2.
3.
4.
5.
6.
7.
8.
9.
10. Wake up from SLEEP through interrupt is
11. Two separate timers, Oscillator Start-up Timer
12. PORTB
13. T0CKI pin is also a port pin (RA4) now.
14. FSR is made a full 8-bit register.
15. “In-Circuit Serial Programming” (ICSP) is made
16. PCON status register is added with a Power-on
17. Code protection scheme is enhanced, such that
18. Brown-out protection circuitry has been added.
DS30605C-page 168
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.
added.
(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.
interrupt-on-change feature.
possible. The user can program PIC16CXX
devices using only five pins: V
MCLR/V
Reset status bit (POR).
portions of the program memory can be pro-
tected, while the remainder is unprotected.
Controlled by configuration word bit BODEN.
Brown-out Reset ensures the device is placed in
a RESET condition if V
setpoint.
PP
, RB6 (clock) and RB7 (data in/out).
has
MIGRATION FROM BASELINE TO MID-RANGE DEVICES
weak
DD
dips below a fixed
pull-ups
DD
, V
and
SS
,
To convert code written for PIC16C5X to PIC16CXX,
the user should take the following steps:
1.
2.
3.
4.
5.
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.
2000 Microchip Technology Inc.