PIC18LF24K22-I/ML Microchip Technology Inc., PIC18LF24K22-I/ML Datasheet - Page 186

no-image

PIC18LF24K22-I/ML

Manufacturer Part Number
PIC18LF24K22-I/ML
Description
16KB, FLASH, 768BYTES-RAM, 8-BIT FAMILY, NANOWATT XLP, 28 QFN 6X6MM TUBE
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18LF24K22-I/ML

A/d Inputs
17-Channel, 10-Bit
Comparators
2
Cpu Speed
16 MIPS
Eeprom Memory
0 Bytes
Input Output
24
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin QFN
Programmable Memory
16K Bytes
Ram Size
768 Bytes
Speed
48 MHz
Temperature Range
–40 to 125 °C
Timers
1-8-bit, 3-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
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 PIC18LF24K22-I/ML