PIC16C712-04/SS Microchip Technology, PIC16C712-04/SS Datasheet - Page 3

IC MCU OTP 1KX14 A/D PWM 20SSOP

PIC16C712-04/SS

Manufacturer Part Number
PIC16C712-04/SS
Description
IC MCU OTP 1KX14 A/D PWM 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C712-04/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
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
20-SSOP
Controller Family/series
PIC16C
No. Of I/o's
13
Ram Memory Size
128Byte
Cpu Speed
4MHz
No. Of Timers
3
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
13
Number Of Timers
3 bit
Operating Supply Voltage
2.5 V to 5.5 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
Minimum Operating Temperature
0 C
On-chip Adc
4 bit
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
 Details
EXAMPLE 2:
(Assumes that the T2CON and CCP1CON values may change during program execution. One SRAM location is used
for temporary storage of T2CON or CCP2CON.)
Code Example 2A:
;***********************************************************************
;
;
;
;
;
;
;
;
;
;
Assembly Code To Stop PWM Once Started:
T2CONSAV equ
PWMreset
Assembly Code To Start PWM Once Stopped:
PWMrestart
 2003 Microchip Technology Inc.
Call these routines to turn the PWM off or on and ensure a Zero output on RB3
when PWM is off.
PWMreset - Saves T2CON value in RAM location. IT IS THE RESPONSIBILITY OF THE USER TO SUPPLY
PWMrestart - Enable Timer2
bcf
movf
clrf
movf
movwf
return
bcf
movf
movwf
return
movwf
RAM MEMORY SPACE TO SAVE THE T2CON VALUE.
Clears T2CON register Disabling Timer2 and clearing Timer2 Prescaler.
The TMR2 register is then filled with the CCPR1H value. This causes a Reset
or Zero value on RB3.
0x??
STATUS,RP0
T2CON,W
T2CONSAV
T2CON
CCPR1H,W
TMR2
STATUS,RP0
T2CONSAV,W
T2CON
; USER RESPONSIBLE FOR SUPPLYING RAM MEMORY SPACE
; TO SAVE T2CON VALUE.
; Select Bank 0
; Move T2CON Value to ‘w’ register
; Save T2CON register value
; Clear T2CON, Timer2-Disable & Pre/Post Scalers=1
; Load CCPR1H value in Write register
; Move CCPR1H value into TMR2 to cause Reset of RB3 pin
; Select Bank 0
; Move T2CONSAV Value to ‘w’ register
; Restore T2CON register value
PIC16C712/716
DS80072D-page 3

Related parts for PIC16C712-04/SS