DSPIC30F2011T-20E/ML Microchip Technology, DSPIC30F2011T-20E/ML Datasheet - Page 89

IC DSPIC MCU/DSP 12K 28QFN

DSPIC30F2011T-20E/ML

Manufacturer Part Number
DSPIC30F2011T-20E/ML
Description
IC DSPIC MCU/DSP 12K 28QFN
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F2011T-20E/ML

Core Processor
dsPIC
Core Size
16-Bit
Speed
20 MIPS
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Program Memory Size
12KB (4K x 24)
Program Memory Type
FLASH
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 8x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
For Use With
DAF30-4 - DEVICE ATP FOR ICE4000
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
12.4.2
The PWM period is specified by writing to the PRx
register. The PWM period can be calculated using
Equation
EQUATION 12-1:
PWM frequency is defined as 1/[PWM period].
FIGURE 12-2:
© 2010 Microchip Technology Inc.
PWM period = [(PRx) + 1] • 4 • Tosc •
12-1.
PWM PERIOD
OCxR = OCxRS
(Interrupt Flag)
TMR3 = PR3
T3IF = 1
(TMRx prescale value)
PWM OUTPUT TIMING
Duty Cycle
dsPIC30F2011/2012/3012/3013
Period
TMR3 = Duty Cycle
(OCxR)
OCxR = OCxRS
(Interrupt Flag)
TMR3 = PR3
T3IF = 1
When the selected TMRx is equal to its respective
period register, PRx, the following four events occur on
the next increment cycle:
• TMRx is cleared.
• The OCx pin is set.
• The PWM duty cycle is latched from OCxRS into
• The corresponding timer interrupt flag is set.
See
Timer3 is referred to in
- Exception 1: If PWM duty cycle is 0x0000,
- Exception 2: If duty cycle is greater than PRx,
OCxR.
TMR3 = Duty Cycle
the OCx pin remains low.
the pin remains high.
Figure 12-2
(OCxR)
for key PWM period comparisons.
Figure 12-2
for clarity.
DS70139G-page 89

Related parts for DSPIC30F2011T-20E/ML