PIC16C717-I/SS Microchip Technology, PIC16C717-I/SS Datasheet - Page 66
![IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SSOP,20PIN,PLASTIC](/photos/6/58/65895/150-20-ssop_sml.jpg)
PIC16C717-I/SS
Manufacturer Part Number
PIC16C717-I/SS
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SSOP,20PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16F818-ISO.pdf
(6 pages)
2.PIC16C770-ISO.pdf
(220 pages)
3.PIC16C770-ISO.pdf
(6 pages)
4.PIC16C770-ISO.pdf
(8 pages)
Specifications of PIC16C717-I/SS
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
309-1016 - ADAPTER 20-SSOP TO 18-DIP
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16C717I/SS
- PIC16F818-ISO PDF datasheet
- PIC16C770-ISO PDF datasheet #2
- PIC16C770-ISO PDF datasheet #3
- PIC16C770-ISO PDF datasheet #4
- Current page: 66 of 220
- Download datasheet (4Mb)
PIC16C717/770/771
8.3.7
When the ECCP module is used in the PWM mode, the
application hardware must use the proper external pull-
up and/or pull-down resistors on the PWM output pins.
When the microcontroller powers up, all of the I/O pins
are in the high-impedance state. The external pull-up
and pull-down resistors must keep the power switch
devices in the off state until the microcontroller drives
the I/O pins with the proper signal levels, or activates
the PWM output(s).
8.3.8
Prior to enabling the PWM outputs, the P1A, P1B, P1C
and P1D latches may not be in the proper states.
Enabling the TRISB bits for output at the same time
with the CCP module may cause damage to the power
switch devices. The CCP1 module must be enabled in
the proper Output mode with the TRISB bits enabled as
inputs. Once the CCP1 completes a full PWM cycle,
the P1A, P1B, P1C and P1D output latches are prop-
erly initialized. At this time, the TRISB bits can be
enabled for outputs to start driving the power switch
devices. The completion of a full PWM cycle is indi-
cated by the TMR2IF bit going from a ’0’ to a ’1’.
TABLE 8-3:
DS41120B-page 64
0Bh, 8Bh,
10Bh, 18Bh
0Ch
8Ch
86h, 186h
11h
92h
12h
15h
17h
97h
Legend:
Address
INTCON
PIR1
PIE1
TRISB
TMR2
PR2
T2CON
CCPR1L
CCP1CON PWM1M1
P1DEL
x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by ECCP module in PWM mode.
SYSTEM IMPLEMENTATION
START-UP CONSIDERATIONS
Name
REGISTERS ASSOCIATED WITH PWM
PORTB Data Direction Register
Timer2 register
Timer2 period register
Capture/Compare/PWM register1 (LSB)
PWM1 Delay value
Bit 7
GIE
—
—
—
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0
PWM1M0
ADIE
Bit 6
PEIE
ADIF
DC1B1
Bit 5
T0IE
—
—
DC1B0
INTE
Bit 4
—
—
CCP1M3
SSPIF
SSPIE
RBIE
Bit 3
8.3.9
The following steps should be taken when configuring
the ECCP module for PWM operation:
1.
2.
3.
Configure the PWM module:
a)
b)
c)
d)
e)
Configure and start TMR2:
a)
b)
c)
Enable PWM outputs after a new cycle has
started:
a)
b)
TMR2ON
CCP1M2
CCP1IE
CCP1IF
Bit 2
T0IF
Disable the CCP1/P1A, P1B, P1C and/or
P1D outputs by setting the respective
TRISB bits.
Set the PWM period by loading the PR2
register.
Set the PWM duty cycle by loading the
CCPR1L register and CCP1CON<5:4>
bits.
Configure the ECCP module for the desired
PWM operation by loading the CCP1CON
register. With the CCP1M<3:0> bits select
the active high/low levels for each PWM
output. With the PWM1M<1:0> bits select
one of the available Output modes: Single,
Half-Bridge, Full-Bridge, Forward or Full-
Bridge Reverse.
For Half-Bridge Output mode, set the dead-
band delay by loading the P1DEL register.
Clear the TMR2 interrupt flag bit by clearing
the TMR2IF bit in the PIR1 register.
Set the TMR2 prescale value by loading the
T2CKPS<1:0> bits in the T2CON register.
Enable Timer2 by setting the TMR2ON bit
in the T2CON register.
Wait until TMR2 overflows (TMR2IF bit
becomes a ’1’). The new PWM cycle begins
here.
Enable the CCP1/P1A, P1B, P1C and/or
P1D pin outputs by clearing the respective
TRISB bits.
SET UP FOR PWM OPERATION
T2CKPS1
CCP1M1
TMR2IE
TMR2IF
Bit 1
INTF
T2CKPS0 -000 0000 -000 0000
CCP1M0
TMR1IF
TMR1IE
2002 Microchip Technology Inc.
RBIF
Bit 0
0000 000x 0000 000u
-0-- 0000 -0-- 0000
-0-- 0000 -0-- 0000
1111 1111 1111 1111
0000 0000 0000 0000
1111 1111 1111 1111
xxxx xxxx uuuu uuuu
0000 0000 0000 0000
0000 0000 0000 0000
Value on
POR,
BOR
Value on
RESETS
all other
Related parts for PIC16C717-I/SS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C717/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU CMOS A/D 2K 20MHZ 18-DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C717-I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU CMOS A/D 2K 20MHZ 18-DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C717-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D PWM 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C717-E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D PWM 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C717-E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX14 A/D PWM 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C717/JW](/photos/12/13/121351/150-18-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM2KX14 A/D PWM 18CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C717-E/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU CMOS A/D 2K 20MHZ 18-DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C717/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C717/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SSOP,20PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C717-20/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
18/20-Pin/ 8-Bit CMOS Microcontrollers with 10/12-Bit A/D
Manufacturer:
Microchip Technology
![PIC16C717-20/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
18/20-Pin/ 8-Bit CMOS Microcontrollers with 10/12-Bit A/D
Manufacturer:
Microchip Technology
![PIC16C71/JW](/photos/12/13/121351/150-18-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 1KX14 A/D 18CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C71-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 A/D 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C71-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 1KX14 A/D 18SOIC
Manufacturer:
Microchip Technology
Datasheet: