PIC16F882-I/SP Microchip Technology, PIC16F882-I/SP Datasheet - Page 133

IC PIC MCU FLASH 2KX14 28DIP

PIC16F882-I/SP

Manufacturer Part Number
PIC16F882-I/SP
Description
IC PIC MCU FLASH 2KX14 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F882-I/SP

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
24
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
EUSART/MSSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
28
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM164120-3
Minimum Operating Temperature
- 40 C
On-chip Adc
11-ch x 10-bit
A/d Bit Size
10 bit
A/d Channels Available
11
Height
3.3 mm
Length
34.67 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
7.24 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP280 - DEVICE ADAPTER 18F2220 PDIP 28LD
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F882-I/SP
Manufacturer:
IR
Quantity:
3 000
Part Number:
PIC16F882-I/SP
0
11.5.4
In Sleep mode, the TMR2 register will not increment
and the state of the module will not change. If the CCPx
pin is driving a value, it will continue to drive that value.
When the device wakes up, TMR2 will continue from its
previous state.
11.5.5
The PWM frequency is derived from the system clock
frequency. Any changes in the system clock frequency
will result in changes to the PWM frequency. See
Section 4.0 “Oscillator Module (With Fail-Safe
Clock Monitor)” for additional details.
11.5.6
Any Reset will force all ports to Input mode and the
CCP registers to their Reset states.
© 2009 Microchip Technology Inc.
OPERATION IN SLEEP MODE
CHANGES IN SYSTEM CLOCK
FREQUENCY
EFFECTS OF RESET
PIC16F882/883/884/886/887
11.5.7
The following steps should be taken when configuring
the CCP module for PWM operation:
1.
2.
3.
4.
5.
6.
Disable the PWM pin (CCPx) output drivers as
an input by setting the associated TRIS bit.
Set the PWM period by loading the PR2 register.
Configure the CCP module for the PWM mode
by loading the CCPxCON register with the
appropriate values.
Set the PWM duty cycle by loading the CCPRxL
register and DCxB<1:0> bits of the CCPxCON
register.
Configure and start Timer2:
• Clear the TMR2IF interrupt flag bit of the
• Set the Timer2 prescale value by loading the
• Enable Timer2 by setting the TMR2ON bit of
Enable PWM output after a new PWM cycle has
started:
• Wait until Timer2 overflows (TMR2IF bit of
• Enable the CCPx pin output driver by clearing
PIR1 register.
T2CKPS bits of the T2CON register.
the T2CON register.
the PIR1 register is set).
the associated TRIS bit.
SETUP FOR PWM OPERATION
DS41291F-page 131

Related parts for PIC16F882-I/SP