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

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.6
PWM duty cycle is defined by PDCx (PDCxL and
PDCxH) registers. There are a total of 4 PWM Duty
Cycle registers for 4 pairs of PWM channels. The Duty
Cycle registers have 14-bit resolution by combining
6 LSbs of PDCxH with the 8 bits of PDCxL. PDCx is a
double-buffered register used to set the counting
period for the PWM time base.
17.6.1
There are four 14-bit special function registers used to
specify duty cycle values for the PWM module:
• PDC0 (PDC0L and PDC0H)
• PDC1 (PDC1L and PDC1H)
• PDC2 (PDC2L and PDC2H)
• PDC3 (PDC3L and PDC3H)
FIGURE 17-11:
 2003 Microchip Technology Inc.
PTMR<11:0>
PDCn<13:0>
Note 1: This value is decoded from the Q-Clocks:
PWM Duty Cycle
PWM DUTY CYCLE REGISTERS
00 = duty cycle match occurs on Q1
01 = duty cycle match occurs on Q2
10 = duty cycle match occurs on Q3
11 = duty cycle match occurs on Q4
DUTY CYCLE COMPARISON
UNUSED
UNUSED
PTMRH<7:0>
PDCnH<7:0>
PTMRH<3:0>
PIC18F2331/2431/4331/4431
PDCnH<5:0>
Preliminary
COMPARATOR
The value in each Duty Cycle register determines the
amount of time that the PWM output is in the active
state. The upper 12 bits of PDCn hold the actual duty
cycle value from PTMRH/L<11:0>, while the lower 2
bits control which internal Q-clock the duty cycle match
occurs. This 2-bit value is decoded from the Q-clocks
as shown in Figure 17-11 (when the prescaler is 1:1
(PTCKPS = 00)).
In Edge-aligned mode, the PWM period starts at Q1
and ends when the Duty Cycle register matches the
PTMR register as follows. The duty cycle match is con-
sidered when the upper 12 bits of the PDC is equal to
the PTMR and the lower 2 bits are equal to Q1, Q2, Q3
or Q4, depending on the lower two bits of the PDC
(when the prescaler is 1:1, or PTCKPS = 00)
Each compare unit has logic that allows override of the
PWM signals. This logic also ensures that the PWM
signals will complement each other (with dead time
insertion) in Complementary mode (see Section 17.7
“Dead Time Generators”).
Note:
PTMRL<7:0>
PTMRL<7:0>
When prescaler is not 1:1 (PTCKPS
~00), the duty cycle match occurs at Q1
clock of the instruction cycle when the
PTMR and PDC match occurs.
PDCnL<7:0>
PDCnL<7:0>
DS39616B-page 195
Q-CLOCKS
<1:0>
.
(1)

Related parts for PIC18F4431-E/PT