PIC16F876-04E/SP Microchip Technology, PIC16F876-04E/SP Datasheet - Page 213

no-image

PIC16F876-04E/SP

Manufacturer Part Number
PIC16F876-04E/SP
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F876-04E/SP

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16F87604E/SP
14.5.3
14.5.4
14.5.5
1997 Microchip Technology Inc.
Set-up for PWM Operation
Sleep Operation
Effects of a Reset
The following steps configure the CCP module for PWM operation:
1.
2.
3.
4.
5.
When the device is placed in sleep, Timer2 will not increment, and the state of the module will
not change. If the CCP pin is driving a value, it will continue to drive that value. When the device
wakes-up, it will continue from this state.
The CCP module is off.
Establish the PWM period by writing to the PR2 register.
Establish the PWM duty cycle by writing to the DCxB9:DCxB0 bits.
Make the CCPx pin an output by clearing the appropriate TRIS bit.
Establish the TMR2 prescale value and enable Timer2 by writing to T2CON.
Configure the CCP module for PWM operation.
Section 14. CCP
DS31014A-page 14-11
14

Related parts for PIC16F876-04E/SP