PIC24FJ64GA104-I/PT Microchip Technology, PIC24FJ64GA104-I/PT Datasheet - Page 157

IC PIC MCU FLASH 64KB 44-TQFP

PIC24FJ64GA104-I/PT

Manufacturer Part Number
PIC24FJ64GA104-I/PT
Description
IC PIC MCU FLASH 64KB 44-TQFP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 24Fr

Specifications of PIC24FJ64GA104-I/PT

Core Size
16-Bit
Program Memory Size
64KB (22K x 24)
Core Processor
PIC
Speed
32MHz
Connectivity
I²C, IrDA, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
35
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Controller Family/series
PIC24
Ram Memory Size
8KB
Cpu Speed
32MHz
No. Of Timers
5
Interface
I2C, LIN, SPI, USART
No. Of Pwm Channels
5
Embedded Interface Type
I2C, LIN, SPI, USART
Rohs Compliant
Yes
Processor Series
PIC24FJ
Core
PIC
Data Bus Width
16 bit
Data Ram Size
8 KB
Interface Type
I2C, IrDA, SPI, UART
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
35
Number Of Timers
5
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, DM240001, MA240020, DM240002, DM240011, DV164033
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 13 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
876-1004 - PIC24 BREAKOUT BOARD
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24FJ64GA104-I/PT
Manufacturer:
AD
Quantity:
1 296
Part Number:
PIC24FJ64GA104-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ64GA104-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
14.3.1
The PWM period is specified by writing to PRy, the
Timer Period register. The PWM period can be
calculated using Equation 14-1.
EQUATION 14-1:
EQUATION 14-2:
EXAMPLE 14-1:
© 2009 Microchip Technology Inc.
1. Find the Timer Period register value for a desired PWM frequency of 52.08 kHz, where F
2.
PWM Period = [(PRy) + 1] • T
where:
Note 1:
Note 1:
Note:
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:
T
PWM Period = 1/PWM Frequency = 1/52.08 kHz = 19.2 μs
PWM Period = (PR2 + 1) • T
19.2 μs
PR2
PWM Resolution = log
PWM Frequency = 1/[PWM Period]
CY
PWM PERIOD
A PRy value of N will produce a PWM
period of N + 1 time base count cycles. For
example, a value of 7 written into the PRy
register will yield a period consisting of
8 time base cycles.
Based on T
and PLL are disabled.
Based on T
= 2 * T
OSC
Maximum PWM Resolution (bits) =
Note 1: Based on F
= (PR2 + 1) • 62.5 ns • 1
= 306
CALCULATING THE PWM
PERIOD
CALCULATION FOR MAXIMUM PWM RESOLUTION
PWM PERIOD AND DUTY CYCLE CALCULATIONS
CY
= 62.5 ns
CY
= (log
= 8.3 bits
= T
= 2 * T
CY
OSC
• (Timer Prescale Value)
10
(1)
10
OSC
(F
* 2, Doze mode
(16 MHz/52.08 kHz)/log
CY
CY
, Doze mode and PLL are disabled.
/F
• (Timer2 Prescale Value)
PWM
CY
)/log
= F
OSC
10
PIC24FJ64GA104 FAMILY
Preliminary
2) bits
/2, Doze mode and PLL are disabled.
log
10
10
2) bits
(
F
PWM
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:
• 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
frequencies and resolutions for a device operating at
4 MIPS and 10 MIPS, respectively.
0000h, the OCx pin will remain low (0% duty
cycle).
high (100% duty cycle).
• (Timer Prescale Value)
log
10
F
(2)
CY
PWM DUTY CYCLE
(1)
(1)
OSC
)
= 8 MHz with PLL (32 MHz
bits
DS39951B-page 155

Related parts for PIC24FJ64GA104-I/PT