PIC18F45K22-I/P Microchip Technology Inc., PIC18F45K22-I/P Datasheet - Page 186

no-image

PIC18F45K22-I/P

Manufacturer Part Number
PIC18F45K22-I/P
Description
40 PDIP .600in TUBE, 32KB, Flash, 1536bytes-RAM, 8-bit Family, nanoWatt XLP
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F45K22-I/P

A/d Inputs
28-Channel, 10-Bit
Comparators
2
Cpu Speed
16 MIPS
Eeprom Memory
256 Bytes
Input Output
35
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
40-pin PDIP
Programmable Memory
32K Bytes
Ram Size
1.5K Bytes
Speed
64 MHz
Temperature Range
–40 to 125 °C
Timers
3-8-bit, 4-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F45K22-I/P
Manufacturer:
MICROCHIP
Quantity:
3 400
Part Number:
PIC18F45K22-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F45K22-I/PT
Manufacturer:
SST
Quantity:
3 400
Part Number:
PIC18F45K22-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F45K22-I/PT
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC18F45K22-I/PT
0
Company:
Part Number:
PIC18F45K22-I/PT
Quantity:
20 400
PIC18(L)F2X/4XK22
14.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 14-7:
TABLE 14-8:
TABLE 14-9:
14.3.7
In Sleep mode, the TMRx 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, TMRx will continue from its
previous state.
14.3.8
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 2.0 “Oscillator Module (With Fail-Safe
Clock Monitor)”
DS41412D-page 186
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
OPERATION IN SLEEP MODE
CHANGES IN SYSTEM CLOCK
FREQUENCY
for additional details.
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS (F
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS (F
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS (F
Equation
14-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
Preliminary
0x65
10
10
4
4
4
8
31.25 kHz
19.53 kHz
19.61 kHz
EQUATION 14-4:
14.3.9
Any Reset will force all ports to Input mode and the
CCP registers to their Reset states.
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.
EFFECTS OF RESET
78.12 kHz
76.92 kHz
125 kHz
0x3F
0x3F
0x19
1
8
1
8
1
6
OSC
OSC
OSC
=
PWM RESOLUTION
log
----------------------------------------- - bits
 2010 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 PIC18F45K22-I/P