DSPIC30F2020-30I/MMB32 Microchip Technology, DSPIC30F2020-30I/MMB32 Datasheet - Page 135
![IC DSPIC MCU/DSP 12K 28QFN](/photos/6/81/68120/150-28-qfn_sml.jpg)
DSPIC30F2020-30I/MMB32
Manufacturer Part Number
DSPIC30F2020-30I/MMB32
Description
IC DSPIC MCU/DSP 12K 28QFN
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr
Datasheets
1.AC164335.pdf
(286 pages)
2.DSPIC30F2011-20IP.pdf
(26 pages)
3.DSPIC30F1010-30ISO.pdf
(26 pages)
4.DSPIC30F1010-30ISO.pdf
(50 pages)
Specifications of DSPIC30F2020-30I/MMB32
Core Processor
dsPIC
Core Size
16-Bit
Speed
30 MIPs
Connectivity
I²C, IrDA, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
21
Program Memory Size
12KB (4K x 24)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-QFN
For Use With
DM300023 - KIT DEMO DSPICDEM SMPS BUCK
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Other names
Q4035438A
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DSPIC30F2020-30I/MMB32
Manufacturer:
Microchip Technology
Quantity:
135
- AC164335 PDF datasheet
- DSPIC30F2011-20IP PDF datasheet #2
- DSPIC30F1010-30ISO PDF datasheet #3
- DSPIC30F1010-30ISO PDF datasheet #4
- Current page: 135 of 286
- Download datasheet (5Mb)
12.23.1
The FLTIENx bits in the PWMCONx registers deter-
mine if an interrupt will be generated when the FLTx
input is asserted high. The FLTMOD bits in the
FCLCONx register determines how the PWM genera-
tor and its outputs respond to the selected Fault input
pin. The FLTDAT<1:0> bits in the IOCONx registers
supply the data values to be assigned to the PWMxH,L
pins in the advent of a Fault.
The Fault pin logic can operate separately from the
PWM logic as an external interrupt pin. If the faults are
disabled from affecting the PWM generators in the
FCLCONx register, then the Fault pin can be used as a
general purpose interrupt pin.
12.23.2
The IOCONx register has two bits that determine the
state of each PWMx I/O pin when they are overridden
by a Fault input. When these bits are cleared, the
PWM I/O pin is driven to the inactive state. If the bit is
set, the PWM I/O pin is driven to the active state. The
active and inactive states are referenced to the polarity
defined for each PWM I/O pin (HPOL and LPOL
polarity control bits).
12.23.3
The Fault input pin has two modes of operation:
• Latched Mode: When the Fault pin is asserted,
• Cycle-by-Cycle Mode: When the Fault input pin
The operating mode for each Fault input pin is selected
using the FLTMOD<1:0> control bits in the FCLCONx
register.
© 2006 Microchip Technology Inc.
the PWM outputs go to the states defined in the
FLTDAT bits in the IOCONx registers. The PWM
outputs remain in this state until the Fault pin is
deasserted AND the corresponding interrupt flag
has been cleared in software. When both of these
actions have occurred, the PWM outputs return to
normal operation at the beginning of the next
PWM cycle boundary. If the FLTSTAT bit is
cleared before the Fault condition ends, the PWM
module waits until the Fault pin is no longer
asserted to restore the outputs. Software can
clear the FLTSTAT bit by writing a zero to the
FLTIEN bit.
is asserted, the PWM outputs remain in the deas-
serted PWM state for as long as the Fault pin is
asserted. For Complementary Output modes,
PWMH is low (deasserted) and PWML is high
(asserted). After the Fault pin is driven high, the
PWM outputs return to normal operation at the
beginning of the following PWM cycle.
FAULT INTERRUPTS
FAULT STATES
FAULT INPUT MODES
Preliminary
12.23.4
The response of the PWM pins to the Fault input pins
is always asynchronous with respect to the device
clock signals. That is, the PWM outputs should imme-
diately go to the states defined in the FLTDAT register
bits without any interaction from the dsPIC DSC device
or software.
Refer to Section 12.28 “Fault and Current-Limit
Override Issues with Dead-Time Logic” for informa-
tion regarding data sensitivity and behavior in response
to current-limit or Fault events.
12.23.5
The restoration of the PWM signals after a Fault condi-
tion has ended must occur at a PWM cycle boundary to
ensure proper synchronization of PWM signal edges
and manual signal overrides. The next PWM cycle
begins when the PTMRx value is zero.
12.23.6
There is a special case for exiting a Fault condition
when the PWM time base is disabled (PTEN = 0).
When a Fault input is programmed for Cycle-by-Cycle
mode, the PWM outputs are immediately restored to
normal operation when the Fault input pin is deas-
serted. The PWM outputs should return to their default
programmed values. (The time base is disabled, so
there is no reason to wait for the beginning of the next
PWM cycle.)
When a Fault input is programmed for Latched mode,
the PWM outputs are restored immediately when the
Fault input pin is deasserted AND the FSTAT bit has
been cleared in software.
12.23.7
The Fault pin can be controlled manually in software.
Since the Fault input is shared with a PORT I/O pin, the
PORT pin can be configured as an output by clearing
the corresponding TRIS bit. When the PORT bit for the
pin is cleared, the Fault input will be activated.
Note:
dsPIC30F1010/202X
FAULT ENTRY
FAULT EXIT
FAULT EXIT WITH PTMR DISABLED
FAULT PIN SOFTWARE CONTROL
The user should use caution when control-
ling the Fault inputs in software. If the
TRIS bit for the Fault pin is cleared and the
PORT bit is set high, then the Fault input
cannot be driven externally.
DS70178C-page 133
Related parts for DSPIC30F2020-30I/MMB32
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![DSPIC30F2020-30I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2020-30I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2020-20E/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2020-30I/MM](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2020-20E/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, DSC, 16BIT, 12KB 40MHZ, 5.5V, SOIC28
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2020-20E/MM](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
12KB, Flash, 512bytes-RAM, 30MIPS, 21I/O, 16-bit Family,nanoWatt 28 QFN-S 6x6mm
Manufacturer:
Microchip Technology
Datasheet:
![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: