PIC16C64-04/P Microchip Technology, PIC16C64-04/P Datasheet - Page 322
![MICRO CTRL 2K X 14 OTP 40 DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC16C64-04/P
Manufacturer Part Number
PIC16C64-04/P
Description
MICRO CTRL 2K X 14 OTP 40 DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C64-04/P
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Eeprom Size
-
Data Converters
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C64-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16C6X
Resets ............................................................................... 128
ROM...................................................................................... 7
RP0 bit .......................................................................... 20, 35
RP1 ..................................................................................... 35
RX9 ................................................................................... 106
RX9D................................................................................. 106
S
S.................................................................................... 84, 89
SCI - See Universal Synchronous Asynchronous Receiver
Transmitter (USART)
SCK..................................................................................... 86
SCL ................................................................................... 100
SDI ...................................................................................... 86
SDO .................................................................................... 86
Serial Port Enable bit, SPEN............................................. 106
Serial Programming .......................................................... 142
Serial Programming, Block Diagram ................................. 142
Serialized Quick-Turnaround-Production .............................. 7
Single Receive Enable bit, SREN ..................................... 106
Slave Mode
SLEEP Mode............................................................. 123, 141
SMP .................................................................................... 89
Software Simulator (MPSIM)............................................. 161
SPBRG.................................................. 25, 27, 29, 31, 33, 34
Special Features, Section ................................................. 123
SPEN ................................................................................ 106
SPI
SPI Clock Edge Select bit, CKE.......................................... 89
SPI Data Input Sample Phase Select bit, SMP................... 89
SPI Mode ............................................................................ 86
SREN ................................................................................ 106
SS ....................................................................................... 86
SSP
DS30234D-page 322
TXSTA
W................................................................................... 9
Special Function Registers, Initialization
Conditions ................................................................. 132
Special Function Registers, Reset Conditions.......... 131
Special Function Register Summary... 24, 26, 28, 30, 32
File Maps .................................................................... 21
SCL ........................................................................... 100
SDA........................................................................... 100
Block Diagram....................................................... 86, 91
Master Mode ............................................................... 92
Master Mode Timing ................................................... 93
Mode ........................................................................... 86
Serial Clock................................................................. 91
Serial Data In .............................................................. 91
Serial Data Out ........................................................... 91
Slave Mode Timing ..................................................... 94
Slave Mode Timing Diagram....................................... 93
Slave Select ................................................................ 91
SPI clock ..................................................................... 92
SPI Mode .................................................................... 91
SSPCON..................................................................... 90
SSPSTAT.................................................................... 89
Module Overview ........................................................ 83
Section ........................................................................ 83
SSPBUF...................................................................... 92
SSPCON..................................................................... 90
SSPSR........................................................................ 92
SSPSTAT.................................................................... 89
Diagram ............................................................ 105
Section .............................................................. 105
Summary....................................................... 31, 33
SSP in I
SSPADD ......................................... 25, 27, 29, 31, 33, 34, 99
SSPBUF ......................................... 24, 26, 28, 30, 32, 34, 99
SSPCON................................... 24, 26, 28, 30, 32, 34, 85, 90
SSPEN.......................................................................... 85, 90
SSPIE ................................................................................. 38
SSPIF ................................................................................. 41
SSPM3:SSPM0 ............................................................ 85, 90
SSPOV ................................................................. 85, 90, 100
SSPSTAT ................................. 25, 27, 29, 31, 33, 34, 84, 99
SSPSTAT Register ............................................................. 89
Stack................................................................................... 48
Start bit, S ..................................................................... 84, 89
STATUS.................. 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34
Status bits ................................................................. 130, 131
Status Bits During Various Resets.................................... 131
Stop bit, P ..................................................................... 84, 89
Switching Prescalers .......................................................... 69
SYNC,USART Mode Select bit, SYNC............................. 105
Synchronizing Clocks, TMR0.............................................. 67
Synchronous Serial Port (SSP)
Synchronous Serial Port Enable bit, SSPEN................ 85, 90
Synchronous Serial Port Interrupt Enable bit, SSPIE ......... 38
Synchronous Serial Port Interrupt Flag bit, SSPIF ............. 41
Synchronous Serial Port Mode Select bits,
SSPM3:SSPM0 ............................................................ 85, 90
Synchronous Serial Port Module ........................................ 83
Synchronous Serial Port Status Register ........................... 89
T
T0CS................................................................................... 36
T0IE .................................................................................... 37
T0IF .................................................................................... 37
T0SE................................................................................... 36
T1CKPS1:T1CKPS0........................................................... 71
T1CON.................................................. 24, 26, 28, 30, 32, 34
T1OSCEN........................................................................... 71
T1SYNC.............................................................................. 71
T2CKPS1:T2CKPS0........................................................... 75
T2CON............................................ 24, 26, 28, 30, 32, 34, 75
TIme-out ........................................................................... 130
Time-out bit......................................................................... 35
Time-out Sequence .......................................................... 130
Timer Modules
Block Diagram, SPI Mode .......................................... 86
SPI Master/Slave Diagram ......................................... 87
SPI Mode.................................................................... 86
Overview, all ............................................................... 63
Timer0
Timer1
2
C Mode - See I
Block Diagram .................................................... 65
Counter Mode..................................................... 65
External Clock .................................................... 67
Interrupt .............................................................. 65
Overview............................................................. 63
Prescaler ............................................................ 68
Section................................................................ 65
Timer Mode ........................................................ 65
Timing DiagramTiiming Diagrams
Timer0 ................................................................ 65
TMR0 register..................................................... 65
Block Diagram .................................................... 72
Capacitor Selection ............................................ 73
Counter Mode, Asynchronous ............................ 73
Counter Mode, Synchronous.............................. 72
External Clock .................................................... 73
Oscillator............................................................. 73
2
C
1997 Microchip Technology Inc.