PIC16F1827-E/P Microchip Technology Inc., PIC16F1827-E/P Datasheet - Page 210

no-image

PIC16F1827-E/P

Manufacturer Part Number
PIC16F1827-E/P
Description
7 KB Flash, 384 bytes RAM, 32 MHz Int. Osc, 16 I/0, Enhanced Mid Range Core
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F1827-E/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
8 MIPS
Eeprom Memory
256 Bytes
Input Output
16
Interface
CAN/I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin PDIP
Programmable Memory
7K Bytes
Ram Size
384 Bytes
Speed
32 MHz
Timers
4-8-bit, 1-16-bit
Voltage, Range
1.8-5.5 V
Standby Current (pic16lf182x)
30 nA @ 1.8 V, Typical
PIC16(L)F1826/27
24.3.6
The resolution determines the number of available duty
cycles for a given period. For example, a 10-bit resolution
will result in 1024 discrete duty cycles, whereas an 8-bit
resolution will result in 256 discrete duty cycles.
The maximum PWM resolution is 10 bits when PRx is
255. The resolution is a function of the PRx register
value as shown by
TABLE 24-5:
TABLE 24-6:
TABLE 24-7:
DS41391D-page 210
Timer Prescale (1, 4, 16)
PRx Value
Maximum Resolution (bits)
Timer Prescale (1, 4, 16)
PRx Value
Maximum Resolution (bits)
Timer Prescale (1, 4, 16)
PRx Value
Maximum Resolution (bits)
PWM Frequency
PWM Frequency
PWM Frequency
PWM RESOLUTION
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS (F
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS (F
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS (F
Equation
24-4.
1.95 kHz
1.22 kHz
1.22 kHz
0xFF
0xFF
0x65
16
10
16
10
16
8
7.81 kHz
4.88 kHz
4.90 kHz
0xFF
0xFF
0x65
10
10
4
4
4
8
31.25 kHz
19.53 kHz
19.61 kHz
EQUATION 24-4:
0xFF
0xFF
Note:
0x65
10
10
1
1
1
8
Resolution
If the pulse width value is greater than the
period the assigned PWM pin(s) will
remain unchanged.
78.12 kHz
76.92 kHz
125 kHz
0x3F
0x3F
0x19
1
8
1
8
1
6
OSC
OSC
OSC
=
PWM RESOLUTION
log
----------------------------------------- - bits
 2011 Microchip Technology Inc.
= 32 MHz)
= 20 MHz)
= 8 MHz)
4 PRx
153.85 kHz
log
156.3 kHz
250 kHz
0x0C
0x1F
0x1F
2  
1
7
1
7
1
5
+
1
333.3 kHz
208.3 kHz
200.0 kHz
0x17
0x17
0x09
6.6
6.6
1
1
1
5

Related parts for PIC16F1827-E/P