PIC16F1827-E/P Microchip Technology, PIC16F1827-E/P Datasheet - Page 211

MCU PIC 8BIT 4K FLASH 18-DIP

PIC16F1827-E/P

Manufacturer Part Number
PIC16F1827-E/P
Description
MCU PIC 8BIT 4K FLASH 18-DIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr

Specifications of PIC16F1827-E/P

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Core Processor
PIC
Speed
32MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
384 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16F
No. Of I/o's
16
Eeprom Memory Size
256Byte
Ram Memory Size
384Byte
Cpu Speed
32MHz
No. Of Timers
5
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
384 B
Interface Type
I2C, EUSART (SCI), SPI, USB
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
15
Number Of Timers
4 x 8 bit, 1 x 16 bit
Operating Supply Voltage
5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
On-chip Dac
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
23.5
The PWM mode generates a Pulse-Width Modulated
signal on the CCPx pin. The duty cycle, period and
resolution are determined by the following registers:
• PRx
• TxCON
• CCPRxL
• CCPxCON
The ECCP modules have the following additional
registers:
• ECCPxAS
• PSTRxCON
• PWMxCON
In Pulse-Width Modulation (PWM) mode, the CCPx
module produces up to a 10-bit resolution PWM output
on the CCPx pin. Since the CCPx pin is multiplexed
with the PORT data latch, the TRIS for that pin must be
cleared to enable the CCPx pin output driver.
The CCPx module in PWM mode can have the PWM
based off of either Timer2, Timer4 or TImer6. This is
controlled by the CCPTMRS0 and CCPTMRS1
registers. Reference Section 23.2 “CCP Clock
Selection” for more information.
Figure 23-3 shows a simplified block diagram of PWM
operation.
Figure 23-4 shows a typical waveform of the PWM
signal.
For a step-by-step procedure on how to set up the CCP
module for PWM operation, see Section 23.5.7
“Setup for PWM Operation”.
© 2009 Microchip Technology Inc.
Note:
PWM Mode
Clearing the CCPxCON register will
relinquish CCPx control of the CCPx pin.
Preliminary
FIGURE 23-3:
The PWM output (Figure 23-4) has a time base
(period) and a time that the output stays high (duty
cycle).
FIGURE 23-4:
Note 1:
CCPRxH
Duty Cycle Registers
Comparator
PIC16F/LF1826/27
2:
Pulse Width
CCPRxL
TMRX = 0
PRx
TMRx
Comparator
The 8-bit timer TMR2 register is concatenated
with the 2-bit internal system clock (F
2 bits of the prescaler, to create the 10-bit time
base.
In PWM mode, CCPRxH is a read-only register.
(2)
Period
(Slave)
(1)
SIMPLIFIED PWM BLOCK
DIAGRAM
Clear Timerx,
toggle CCPx pin and
latch duty cycle
CCP PWM OUTPUT
TMRx = CCPRxH:CCPxCON<5:4>
CCPxCON<5:4>
TMRx = PRx
S
R
DS41391B-page 211
Q
TRIS
OSC
CCPx
), or

Related parts for PIC16F1827-E/P