PIC18F4431-E/PT Microchip Technology, PIC18F4431-E/PT Datasheet - Page 195

IC MCU FLASH 8KX16 44TQFP

PIC18F4431-E/PT

Manufacturer Part Number
PIC18F4431-E/PT
Description
IC MCU FLASH 8KX16 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4431-E/PT

Core Size
8-Bit
Program Memory Size
16KB (8K x 16)
Oscillator Type
Internal
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, Power Control PWM, QEI, POR, PWM, WDT
Number Of I /o
36
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 9x10b
Operating Temperature
-40°C ~ 125°C
Package / Case
44-TQFP, 44-VQFP
Controller Family/series
PIC18
No. Of I/o's
36
Eeprom Memory Size
256Byte
Ram Memory Size
768Byte
Cpu Speed
40MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F4431-E/PT
Manufacturer:
JOHANSON
Quantity:
24 000
Part Number:
PIC18F4431-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
17.5
The PWM period is defined by the PTPER register pair
(PTPERL and PTPERH). The PWM period has 12-bit
resolution by combining 4 LSBs of PTPERH and 8-bits
of PTPERL. PTPER is a double-buffered register used
to set the counting period for the PWM time base.
The PTPER buffer contents are loaded into the PTPER
register at the following times:
• Free Running and Single-shot modes: when the
• Up/Down Counting modes: When the PTMR
The PWM period can be calculated from the following
formulas:
EQUATION 17-1:
EQUATION 17-2:
The PWM frequency is the inverse of period; or
 2003 Microchip Technology Inc.
PTMR register is reset to zero after a match with
the PTPER register.
register is zero. The value held in the PTPER
buffer is automatically loaded into the PTPER
register when the PWM time base is disabled
(PTEN = 0). Figure 17-9 and Figure 17-10
indicate the times when the contents of the
PTPER buffer are loaded into the actual PTPER
register.
PWM Period
PWM frequency
TPWM =
TPWM =
TPWM =
(PTPER + 1) x PTMRPS
Fosc/(PTMRPS/4)
Fosc/(PTMRPS/4)
PWM PERIOD FOR FREE
RUNNING MODE
PWM PERIOD FOR
UP/DOWN COUNTING
MODE
(2 x PTPER)
(PTPER + 1)
=
or
Fosc/4
------------------------------ -
PWM period
1
PIC18F2331/2431/4331/4431
Preliminary
The maximum resolution (in bits) for a given device
oscillator and PWM frequency can be determined from
the following formula:
EQUATION 17-3:
The PWM resolutions and frequencies are shown for a
selection of execution speeds and PTPER values in
Table 17-2. The PWM frequencies in Table 17-2 are
calculated
Center-aligned mode, the PWM frequencies will be
approximately one-half the values indicated in this
table.
TABLE 17-2:
Note: For center-aligned operation, PWM frequencies will
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
40 MHz
25 MHz
25 MHz
25 MHz
10 MHz
10 MHz
10 MHz
5 MHz
5 MHz
5 MHz
4 MHz
4 MHz
4 MHz
Fosc
be approximately 1/2 the value indicated in the table.
MIPS
for
PWM Frequency = 1/TPWM
6.25
6.25
6.25
1.25
1.25
1.25
2.5
2.5
2.5
10
10
10
10
10
10
10
10
10
1
1
1
Resolution =
Edge-aligned
EXAMPLE PWM
FREQUENCIES AND
RESOLUTIONS
PTPER
Value
0FFFh
07FFh
03FFh
01FFh
0FFFh
03FFh
0FFFh
03FFh
0FFFh
0FFFh
03FFh
03FFh
FFh
7Fh
3Fh
1Fh
0Fh
FFh
FFh
FFh
FFh
PWM RESOLUTION
log
Resolution
log(2)
14 bits
13 bits
12 bits
10 bits
14 bits
12 bits
10 bits
14 bits
12 bits
10 bits
14 bits
12 bits
10 bits
14 bits
12 bits
10 bits
11 bits
PWM
9 bits
8 bits
7 bits
6 bits
Fpwm
Fosc/4
PWM
DS39616B-page 193
mode.
Frequency
156.2 kHz
312.5 kHz
19.5 kHz
39.0 kHz
78.1 kHz
24.4 kHz
625 kHz
2.4 kHz
4.9 kHz
9.8 kHz
1.5 kHz
6.1 kHz
2.4 kHz
9.8 kHz
1.2 kHz
4.9 kHz
3.9 kHz
610 Hz
305 Hz
244 Hz
976 Hz
PWM
For

Related parts for PIC18F4431-E/PT