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

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
7.3.3
The following steps should be taken when configuring
the CCP module for PWM operation:
1.
2.
3.
4.
5.
TABLE 7-3
TABLE 7-4
Address
07h
0Bh,8Bh
0Ch
11h
12h
15h
16h
17h
87h
8Ch
92h
Legend:
Timer Prescaler (1, 4, 16)
PR2 Value
Maximum Resolution (bits)
1999 Microchip Technology Inc.
Set the PWM period by writing to the PR2 regis-
ter.
Set the PWM duty cycle by writing to the
CCPR1L register and CCP1CON<5:4> bits.
Make the CCP1 pin an output by clearing the
TRISCCP<2> bit.
Set the TMR2 prescale value and enable Timer2
by writing to T2CON.
Configure the CCP1 module for PWM operation.
SET-UP FOR PWM OPERATION
x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by PWM and Timer2.
Name
DATACCP
INTCON
PIR1
TMR2
T2CON
CCPR1L
CCPR1H
CCP1CON
TRISCCP
PIE1
PR2
PWM Frequency
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS AT 20 MHz
REGISTERS ASSOCIATED WITH PWM AND TIMER2
Timer2 module’s register
Capture/Compare/PWM register1 (LSB)
Capture/Compare/PWM register1 (MSB)
Timer2 module’s period register
Bit 7
GIE
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
PEIE
ADIF
ADIE
Bit 6
DC1B1
Bit 5
T0IE
1.22 kHz 4.88 kHz 19.53 kHz 78.12 kHz 156.3 kHz 208.3 kHz
0xFF
16
10
Preliminary
DC1B0
INTE
Bit 4
0xFF
10
CCP1M3 CCP1M2 CCP1M1 CCP1M0 --00 0000 --00 0000
4
RBIE
Bit 3
CCP1IE
CCP1IF
0xFF
DCCP
TCCP
Bit 2
T0IF
10
1
PIC16C712/716
TMR2IF
TMR2IE
Bit 1
INTF
0x3F
1
8
TMR1IE -0-- -000 -0-- -000
DT1CK
TMR1IF
TT1CK
RBIF
Bit 0
0x1F
1
7
xxxx xxxx xxxx xuxu
xxxx x1x1 xxxx x1x1
0000 000x 0000 000u
-0-- -000 -0-- -000
0000 0000 0000 0000
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
DS41106A-page 43
Value on
POR,
BOR
0x17
5.5
1
Value on
all other
resets

Related parts for PIC16C712-04/SS