PIC16C712-04/P Microchip Technology, PIC16C712-04/P Datasheet - Page 102
![IC MCU OTP 1KX14 A/D PWM 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16C712-04/P
Manufacturer Part Number
PIC16C712-04/P
Description
IC MCU OTP 1KX14 A/D PWM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16C716-04P.pdf
(106 pages)
2.PIC16C716-04P.pdf
(14 pages)
3.PIC16C712-04P.pdf
(109 pages)
Specifications of PIC16C712-04/P
Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
4MHz
Number Of I /o
13
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
13
Ram Memory Size
128Byte
Cpu Speed
4MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C712-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16C712/716
Interrupts, Flag Bits
K
KeeLoq
M
Master Clear (MCLR)
Memory Organization
MPLAB Integrated Development Environment Software ... 71
O
OPCODE Field Descriptions .............................................. 67
OPTION_REG Register ............................................... 12, 14
Oscillator Configuration ................................................ 51, 53
Oscillator, Timer1 ......................................................... 31, 34
Oscillator, WDT .................................................................. 63
P
Packaging .......................................................................... 93
Paging, Program Memory .............................................. 9, 19
PCON Register ............................................................ 18, 57
PICDEM-1 Low-Cost PICmicro Demo Board ..................... 70
PICDEM-2 Low-Cost PIC16CXX Demo Board .................. 70
PICDEM-3 Low-Cost PIC16CXXX Demo Board ................ 70
PICSTART
PIE1 Register ............................................................... 12, 16
DS41106A-page 102
A/D Converter Enable (ADIE Bit) ............................... 16
CCP1 Enable (CCP1IE Bit) .................................. 16, 40
Global Interrupt Enable (GIE Bit) ......................... 15, 61
Interrupt on Change (RB7:RB4)
Enable (RBIE Bit) ................................................. 15, 62
Peripheral Interrupt Enable (PEIE Bit) ....................... 15
RB0/INT Enable (INTE Bit) ........................................ 15
TMR0 Overflow Enable (T0IE Bit) .............................. 15
TMR1 Overflow Enable (TMR1IE Bit) ........................ 16
TMR2 to PR2 Match Enable (TMR2IE Bit) ................ 16
A/D Converter Flag (ADIF Bit) ............................. 17, 47
CCP1 Flag (CCP1IF Bit) ................................ 17, 40, 41
Interrupt on Change (RB7:RB4)
Flag (RBIF Bit) ............................................... 15, 24, 62
RB0/INT Flag (INTF Bit) ............................................. 15
TMR0 Overflow Flag (T0IF Bit) ............................ 15, 62
TMR1 Overflow Flag (TMR1IF Bit) ............................ 17
TMR2 to PR2 Match Flag (TMR2IF Bit) ..................... 17
MCLR Reset, Normal Operation .................... 54, 58, 59
MCLR Reset, SLEEP ..................................... 54, 58, 59
Data Memory ............................................................. 10
Program Memory ......................................................... 9
INTEDG Bit ................................................................ 14
PS2:PS0 Bits ....................................................... 14, 29
PSA Bit ................................................................. 14, 29
RBPU Bit .................................................................... 14
T0CS Bit ............................................................... 14, 29
T0SE Bit ............................................................... 14, 29
HS ........................................................................ 53, 58
LP ......................................................................... 53, 58
RC .................................................................. 53, 54, 58
Selection (FOSC1:FOSC0 Bits) ................................. 52
XT ........................................................................ 53, 58
BOR Bit ...................................................................... 18
POR Bit ...................................................................... 18
ADIE Bit ..................................................................... 16
CCP1IE Bit ................................................................. 16
TMR1IE Bit ................................................................. 16
TMR2IE Bit ................................................................. 16
Evaluation and Programming Tools ................... 72
Plus Entry Level Development System ........ 69
Preliminary
Pin Functions
Pinout Descriptions
PIR1 Register .............................................................. 11, 17
Pointer, FSR ...................................................................... 20
PORTA
PORTB
PORTC
Postscaler, Timer2
Postscaler, WDT ................................................................ 29
Power-on Reset (POR) .............................. 51, 54, 55, 58, 59
MCLR/Vpp ................................................................... 6
RA0/AN0 ...................................................................... 6
RA1/AN1 ...................................................................... 6
RA2/AN2 ...................................................................... 6
RA3/AN3/Vref .............................................................. 6
RA4/T0CKI .................................................................. 6
RB0/INT ....................................................................... 7
RB1 .............................................................................. 7
RB2 .............................................................................. 7
RB3 .............................................................................. 7
RB4 .............................................................................. 7
RB5 .............................................................................. 7
RB6 .............................................................................. 7
RB7 .............................................................................. 7
Vdd .............................................................................. 7
Vss ............................................................................... 7
PIC16C62B/PIC16C72A .............................................. 6
ADIF Bit ..................................................................... 17
CCP1IF Bit ................................................................. 17
TMR1IF Bit ................................................................. 17
TMR2IF Bit ................................................................. 17
Initialization ................................................................ 21
PORTA Register .................................................. 11, 21
RA3:RA0 and RA5 Port Pins ..................................... 21
RA4/T0CKI Pin .......................................................... 22
TRISA Register .................................................... 12, 21
Initialization ................................................................ 23
PORTB Register .................................................. 11, 23
Pull-up Enable (RBPU Bit) ......................................... 14
RB0/INT Edge Select (INTEDG Bit) .......................... 14
RB0/INT Pin, External ................................................ 62
RB3:RB0 Port Pins .................................................... 23
RB7:RB4 Interrupt on Change ................................... 62
RB7:RB4 Interrupt on Change Enable (RBIE Bit) 15, 62
RB7:RB4 Interrupt on Change
Flag (RBIF Bit) ............................................... 15, 24, 62
RB7:RB4 Port Pins .................................................... 26
TRISB Register .................................................... 12, 23
Block Diagram ..................................................... 24, 25
TRISC Register .......................................................... 12
Select (TOUTPS3:TOUTPS0 Bits) ............................ 36
Assignment (PSA Bit) .......................................... 14, 29
Block Diagram ........................................................... 30
Rate Select (PS2:PS0 Bits) ................................. 14, 29
Switching Between Timer0 and WDT ........................ 30
Oscillator Start-up Timer (OST) ........................... 51, 55
POR Status (POR Bit) ............................................... 18
Power Control (PCON) Register ................................ 57
Power-down (PD Bit) ........................................... 13, 54
Power-on Reset Circuit, External ............................... 55
Power-up Timer (PWRT) ..................................... 51, 55
PWRT Enable (PWRTE Bit) ...................................... 52
Time-out (TO Bit) ................................................. 13, 54
Time-out Sequence ................................................... 57
Time-out Sequence on Power-up .............................. 60
Timing Diagram ......................................................... 85
1999 Microchip Technology Inc.