AC164139 Microchip Technology, AC164139 Datasheet - Page 205
![Graphics Display Prototype Board Graphics](/photos/28/36/283699/ac164139_sml.jpg)
AC164139
Manufacturer Part Number
AC164139
Description
Graphics Display Prototype Board Graphics
Manufacturer
Microchip Technology
Specifications of AC164139
Main Purpose
LCD Development
Embedded
No
Utilized Ic / Part
PICtail™ Plus Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Secondary Attributes
-
Primary Attributes
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AC164139
Manufacturer:
Microchip Technology
Quantity:
135
- Current page: 205 of 408
- Download datasheet (4Mb)
14.3.2
The PWM duty cycle is specified by writing to the
OCxRS and OCxR registers. The OCxRS and OCxR
registers can be written to at any time, but the duty
cycle value is not latched until a match between PRy
and TMRy occurs (i.e., the period is complete). This
provides a double buffer for the PWM duty cycle and is
essential for glitchless PWM operation.
Some important boundary parameters of the PWM duty
cycle include:
EQUATION 14-2:
EXAMPLE 14-1:
TABLE 14-1:
TABLE 14-2:
2010 Microchip Technology Inc.
Timer Prescaler Ratio
Period Register Value
Resolution (bits)
Note 1:
Timer Prescaler Ratio
Period Register Value
Resolution (bits)
Note 1:
1.
2.
Note 1:
Find the Timer Period register value for a desired PWM frequency of 52.08 kHz, where F
(32 MHz device clock rate) and a Timer2 prescaler setting of 1:1.
Find the maximum resolution of the duty cycle that can be used with a 52.08 kHz frequency and a 32 MHz device
clock rate:
PWM Frequency
PWM Frequency
T
PWM Period = 1/PWM Frequency = 1/52.08 kHz = 19.2 ms
PWM Period = (PR2 + 1) • T
19.2 ms = PR2 + 1) • 62.5 ns • 1
PR2 = 306
PWM Resolution = log
= (log
= 8.3 bits
CY
Based on F
Based on F
PWM DUTY CYCLE
Note 1: Based on F
Based on T
= 2 * T
10
(16 MHz/52.08 kHz)/log
Maximum PWM Resolution (bits) =
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS AT 4 MIPS (F
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS AT 16 MIPS (F
OSC
CALCULATION FOR MAXIMUM PWM RESOLUTION
PWM PERIOD AND DUTY CYCLE CALCULATIONS
CY
CY
CY
= 62.5 ns
= F
= F
= 2 * T
OSC
OSC
10
CY
(F
OSC
30.5 Hz
FFFFh
/2; Doze mode and PLL are disabled.
FFFFh
/2; Doze mode and PLL are disabled.
7.6 Hz
CY
16
16
= F
8
8
CY
; Doze mode and PLL are disabled.
/F
OSC
PWM
• (Timer2 Prescale Value)
10
2) bits
/2; Doze mode and PLL are disabled.
)/log
244 Hz
FFFFh
FFFFh
61 Hz
PIC24FJ256DA210 FAMILY
log
16
16
10
1
1
2) bits
10
(
FPWM • (Timer Prescale Value)
122 Hz
488 Hz
7FFFh
7FFFh
15
15
1
1
• If OCxR, OCxRS, and PRy are all loaded with
• If OCxRS is greater than PRy, the pin will remain
See Example 14-1 for PWM mode timing details.
Table 14-1 and Table 14-2 show example PWM
4 MIPS and 10 MIPS, respectively.
frequencies and resolutions for a device operating at
0000h, the OCx pin will remain low (0% duty
cycle).
high (100% duty cycle).
log
F
CY
10
3.9 kHz
977 Hz
0FFFh
0FFFh
(2)
12
12
1
1
15.6 kHz
(1)
3.9 kHz
03FFh
03FFh
(1)
)
10
10
1
1
bits
OSC
31.3 kHz
125 kHz
007Fh
007Fh
= 8 MHz with PLL
CY
CY
1
7
1
7
DS39969B-page 205
= 4 MHz)
= 16 MHz)
125 kHz
500 kHz
001Fh
001Fh
(1)
1
5
1
5
(1)
Related parts for AC164139
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: