PIC18F46K22-I/MV Microchip Technology, PIC18F46K22-I/MV Datasheet - Page 186

64KB, Flash, 3968bytes-RAM,8-bit Family,nanoWatt XLP 40 UQFN 5x5x0.5mm TUBE

PIC18F46K22-I/MV

Manufacturer Part Number
PIC18F46K22-I/MV
Description
64KB, Flash, 3968bytes-RAM,8-bit Family,nanoWatt XLP 40 UQFN 5x5x0.5mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F46K22-I/MV

Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 30x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-UFQFN Exposed Pad
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
4 KB
Number Of Programmable I/os
36
Number Of Timers
3 x 8-bit. 4 x 16-bit
Operating Supply Voltage
1.8 V to 5.5 V
Mounting Style
SMD/SMT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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 PIC18F46K22-I/MV