PIC16C64A-10/PQ Microchip Technology, PIC16C64A-10/PQ Datasheet - Page 326
![IC MCU OTP 2KX14 PWM 44-MQFP](/photos/6/59/65984/150-44-pqfp_sml.jpg)
PIC16C64A-10/PQ
Manufacturer Part Number
PIC16C64A-10/PQ
Description
IC MCU OTP 2KX14 PWM 44-MQFP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F818-ISO.pdf
(6 pages)
3.PIC16LC62A-04SP.pdf
(337 pages)
4.PIC16C64A-04P.pdf
(8 pages)
Specifications of PIC16C64A-10/PQ
Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, 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
44-MQFP, 44-PQFP
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C, SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
33
Number Of Timers
3 bit
Operating Supply Voltage
4 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
0 C
For Use With
309-1002 - ADAPTER 44-PQFP TO 40-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16C64A-10/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16C6X
LIST OF EQUATION AND EXAMPLES
Example 3-1: Instruction Pipeline Flow............................. 18
Example 4-1: Call of a Subroutine in Page 1
Example 4-2: Indirect Addressing ..................................... 49
Example 5-1: Initializing PORTA....................................... 51
Example 5-2: Initializing PORTB....................................... 53
Example 5-3: Initializing PORTC ...................................... 55
Example 5-4: Read-Modify-Write Instructions on an
Example 7-1: Changing Prescaler (Timer0 WDT) .......... 69
Example 7-2: Changing Prescaler (WDT Timer0) .......... 69
Example 8-1: Reading a 16-bit
Example 10-1: Changing Between
Example 10-2: PWM Period and Duty
Example 11-1: Loading the SSPBUF
Example 11-2: Loading the SSPBUF
Example 12-1: Calculating Baud Rate Error ..................... 107
Example 13-1: Saving Status and W
Example 13-2: Saving Status, W, and
LIST OF FIGURES
Figure 3-1:
Figure 3-2:
Figure 3-3:
Figure 3-4:
Figure 3-5:
Figure 4-1:
Figure 4-2:
Figure 4-3:
Figure 4-4:
Figure 4-5:
Figure 4-6:
Figure 4-7:
Figure 4-8:
Figure 4-9:
Figure 4-10:
Figure 4-11:
Figure 4-12:
Figure 4-13:
Figure 4-14:
DS30234D-page 326
from Page 0 ................................................ 49
I/O Port ....................................................... 60
Free-running Timer ..................................... 73
Capture Prescalers ..................................... 79
Cycle Calculation ........................................ 81
(SSPSR) Register....................................... 86
(SSPSR) Register (PIC16C66/67).............. 91
Registers in RAM...................................... 139
PCLATH Registers in RAM
(All other PIC16C6X devices) ................... 139
PIC16C61 Block Diagram........................... 10
PIC16C62/62A/R62/64/64A/R64
Block Diagram ............................................ 11
PIC16C63/R63/65/65A/R65
Block Diagram ............................................ 12
PIC16C66/67 Block Diagram...................... 13
Clock/Instruction Cycle ............................... 18
PIC16C61 Program Memory Map
and Stack.................................................... 19
PIC16C62/62A/R62/64/64A/
R64 Program Memory Map and Stack ....... 19
PIC16C63/R63/65/65A/R65 Program
Memory Map and Stack.............................. 19
PIC16C66/67 Program Memory
Map and Stack............................................ 20
PIC16C61 Register File Map ...................... 20
PIC16C62/62A/R62/64/64A/
R64 Register File Map ................................ 21
PIC16C63/R63/65/65A/R65
Register File Map........................................ 21
PIC16C66/67 Data Memory Map................ 22
STATUS Register
(Address 03h, 83h, 103h, 183h) ................. 35
OPTION Register
(Address 81h, 181h) ................................... 36
INTCON Register
(Address 0Bh, 8Bh, 10Bh 18Bh)................. 37
PIE1 Register for PIC16C62/62A/R62
(Address 8Ch)............................................. 38
PIE1 Register for PIC16C63/R63/66
(Address 8Ch)............................................. 39
PIE1 Register for PIC16C64/64A/R64
(Address 8Ch)............................................. 39
Figure 4-15:
Figure 4-16:
Figure 4-17:
Figure 4-18:
Figure 4-19:
Figure 4-20:
Figure 4-21:
Figure 4-22:
Figure 4-23:
Figure 4-24:
Figure 4-25:
Figure 5-1:
Figure 5-2:
Figure 5-3:
Figure 5-4:
Figure 5-5:
Figure 5-6:
Figure 5-7:
Figure 5-8:
Figure 5-9:
Figure 5-10:
Figure 5-11:
Figure 5-12:
Figure 5-13:
Figure 7-1:
Figure 7-2:
Figure 7-3:
Figure 7-4:
Figure 7-5:
Figure 7-6:
Figure 8-1:
Figure 8-2:
Figure 9-1:
Figure 9-2:
Figure 10-1:
Figure 10-2:
Figure 10-3:
Figure 10-4:
Figure 10-5:
Figure 11-1:
PIE1 Register for PIC16C65/65A/R65/67
(Address 8Ch) ............................................ 40
PIR1 Register for PIC16C62/62A/R62
(Address 0Ch) ............................................ 41
PIR1 Register for PIC16C63/R63/66
Address 0Ch) ............................................. 42
PIR1 Register for PIC16C64/64A/R64
(Address 0Ch) ............................................ 43
PIR1 Register for PIC16C65/65A/R65/67
(Address 0Ch) ............................................ 44
PIE2 Register (Address 8Dh) ..................... 45
PIR2 Register (Address 0Dh)..................... 46
(Address 8Eh) ............................................ 47
PCON Register for PIC16C62A/R62/63/
R63/64A/R64/65A/R65/66/67
(Address 8Eh) ............................................ 47
Loading of PC in Different Situations ......... 48
Direct/Indirect Addressing .......................... 49
Block Diagram of the
RA3:RA0 Pins and the RA5 Pin ................. 51
Block Diagram of the RA4/T0CKI Pin......... 51
Block Diagram of the
RB7:RB4 Pins for PIC16C61/62/64/65....... 53
Block Diagram of the
RB7:RB4 Pins for PIC16C62A/63/R63/
64A/65A/R65/66/67 .................................... 54
Block Diagram of the
RB3:RB0 Pins ............................................ 54
PORTC Block Diagram .............................. 55
PORTD Block Diagram
(In I/O Port Mode)....................................... 57
PORTE Block Diagram
TRISE Register (Address 89h)................... 58
Successive I/O Operation........................... 60
PORTD and PORTE as a Parallel
Slave Port................................................... 61
Parallel Slave Port Write Waveforms ......... 62
Parallel Slave Port Read Waveforms ......... 62
Timer0 Block Diagram................................ 65
Timer0 Timing: Internal Clock/No
Prescaler .................................................... 65
Timer0 Timing: Internal
Clock/Prescale 1:2 ..................................... 66
TMR0 Interrupt Timing ............................... 66
Timer0 Timing With External Clock ............ 67
Block Diagram of the Timer0/WDT
Prescaler .................................................... 68
T1CON: Timer1 Control Register
(Address 10h)............................................. 71
Timer1 Block Diagram................................ 72
Timer2 Block Diagram................................ 75
T2CON: Timer2 Control Register
(Address 12h)............................................. 75
CCP1CON Register (Address 17h) /
CCP2CON Register (Address 1Dh) ........... 78
Capture Mode Operation
Block Diagram ............................................ 78
Compare Mode Operation
Block Diagram ............................................ 79
Simplified PWM Block Diagram.................. 80
PWM Output............................................... 80
SSPSTAT: Sync Serial Port Status
Register (Address 94h) .............................. 84
PCON Register for PIC16C62/64/65
(In I/O Port Mode)...................................... 58
1997 Microchip Technology Inc.