PIC16C712-20/SS Microchip Technology, PIC16C712-20/SS Datasheet - Page 2
![IC MCU OTP 1KX14 A/D PWM 20SSOP](/photos/6/58/65895/150-20-ssop_sml.jpg)
PIC16C712-20/SS
Manufacturer Part Number
PIC16C712-20/SS
Description
IC MCU OTP 1KX14 A/D PWM 20SSOP
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-20/SS
Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
20MHz
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
20-SSOP
Controller Family/series
PIC16C
No. Of I/o's
13
Ram Memory Size
128Byte
Cpu Speed
20MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
309-1016 - ADAPTER 20-SSOP TO 18-DIP
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PIC16C712/716
Assembly Code To Start PWM Once Stopped:
PWMrestart
Code Example 1B:
;***********************************************************************
;
;
;
;
;
;
;
;
Assembly Code To Stop CCP Mode Once Started:
CCPstop
Assembly Code To Start CCP Mode Once Stopped:
CCPstart
DS80072D-page 2
Call these routines to turn the CCP Mode off or on and ensure RB3 is a known
CCPstop - First sets RB3 to an Input or an Output. If RB3 is an Output then it’s state is made
CCPstart
bcf
movlw
movwf
return
bsf
bcf
bcf
bcf
movlw
movwf
return
bcf
movlw
movwf
return
Input or Output value when CCP Mode is off.
VALUE FOR CCP1CON.
either High or Low. The CCP is then Disabled.
- Enable CCP Mode. IT IS THE RESPONSIBILITY OF THE USER TO DETERMINE THE CORRECT
STATUS,RP0
T2CONVAL
T2CON
STATUS,RP0
TRISB,3
STATUS,RP0
PORTB,3
0x30
CCP1CON
STATUS,RP0
CCP1CONVAL
CCP1CON
; Select Bank 0
; Load T2CON value in ‘w’ register - USER RESPONSIBLE FOR
; SUPPLYING THE CORRECT T2CON VALUE.
; Initialize T2CON enabling scalers and Timer2
; Select Bank 1
; RB3 as an Output - set bit TRISB, 3 when RB3
; as an Input is desired.
; Select Bank 0
; RB3 as a Low Level Output - Set bit TRISB,3 for
; RB3 to be a High Level
; Output.
; Load CCP1CON value in Working register
; Turn Off CCP1CON all Modes
; Select Bank 0
; Load CCP1CON value in Working register.
; THE USER IS RESPONSIBLE FOR SUPPLYING THE CORRECT CCP1CON VALUE.
; Initialize CCP1CON for desired Mode of operation.
2003 Microchip Technology Inc.