DSPIC30F2020-30I/MM Microchip Technology, DSPIC30F2020-30I/MM Datasheet

IC DSPIC MCU/DSP 12K 28QFN

DSPIC30F2020-30I/MM

Manufacturer Part Number
DSPIC30F2020-30I/MM
Description
IC DSPIC MCU/DSP 12K 28QFN
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F2020-30I/MM

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
Core Frequency
15MHz
Core Supply Voltage
3.3V
Embedded Interface Type
I2C, SPI, UART
No. Of I/o's
21
Flash Memory Size
12KB
Supply Voltage Range
3V To 3.6V
Package
28QFN-S EP
Device Core
dsPIC
Family Name
dsPIC30
Maximum Speed
30 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
16 Bit
Number Of Programmable I/os
21
Interface Type
I2C/SPI/UART
On-chip Adc
8-chx10-bit
Number Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM300023 - KIT DEMO DSPICDEM SMPS BUCKAC164322 - MODULE SOCKET MPLAB PM3 28/44QFNDV164005 - KIT ICD2 SIMPLE SUIT W/USB CABLE
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F2020-30I/MMB32
Manufacturer:
Microchip Technology
Quantity:
135
The dsPIC30F1010/202X (Rev. A1) devices that you
received were found to conform to the specifications
and functionality described in the following documents:
• DS70178 – “dsPIC30F1010/202X Family Data
• DS70157 – “dsPIC30F/33F Programmer’s
• DS70046 – “dsPIC30F Family Reference Manual”
The exceptions to the specifications in the documents
listed above are described in this section. These
exceptions are described for the specific devices listed
below:
• dsPIC30F1010
• dsPIC30F2020
• dsPIC33F2023
The dsPIC30F1010/202X Rev. A1 silicon is identified
by performing a “Reset and Connect” operation to the
device using MPLAB
or later. The output window will show a successful
connection to the device specified in Configure>Select
Device.
The errata described in this section will be addressed
in future revisions of silicon.
© 2008 Microchip Technology Inc.
Sheet”
Reference Manual”
dsPIC30F1010/202X Rev. A1 Silicon Errata
®
ICD 2 with MPLAB IDE v7.41.03
dsPIC30F1010/202X
Silicon Errata Summary
The following list summarizes the errata described in
this document:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10. Current Reset Mode
PWM Dead Time
If a value less than 0x0010 is written to the DTRx
and ALTDTRx registers, either or both of the
PWMxH and PWMxL outputs will not function.
PWM Duty Cycle
Duty cycle resolution is not 1.1 ns over the entire
duty cycle range.
PWM Triggers
The PWM Special Event Trigger and PWM
Individual Trigger do not function near the
beginning of the PWM period.
ADC Sample and Hold Timing
The resolution of the PWM to ADC sample and
hold trigger timing is 41.6 ns instead of the 8 ns
specified in the device data sheet.
ADC Interrupts
Individual ADC Interrupts for the ADC pin pairs do
not work.
ADC Shared Sample and Hold Circuit
Depending on conversion configuration, ADC
inputs that do not have dedicated sample and hold
circuits may produce inaccurate conversion results.
ADC Global Software Trigger
The Global Software Trigger bit (GSWTRG in the
ADCON register) is not reset unless the PxRDY
bits in the ADSTAT register are reset.
RB7 Pin and All Multiplexed Functions
The RB7 pin does not work. This pertains to all
multiplexed functions on RB7 as well.
ADC Conversion Rate
The maximum conversion rate for the ADC module
is 1.5 Msps.
Setting the XPRES bit in the PWMCONx register
should enable a current-limit source to reset the
PWM period when the PWM generated is
configured in Independent Time Base mode. This
functionality is not working correctly.
DS80290J-page 1

Related parts for DSPIC30F2020-30I/MM

DSPIC30F2020-30I/MM Summary of contents

Page 1

... The exceptions to the specifications in the documents listed above are described in this section. These exceptions are described for the specific devices listed below: • dsPIC30F1010 • dsPIC30F2020 • dsPIC33F2023 The dsPIC30F1010/202X Rev. A1 silicon is identified by performing a “Reset and Connect” operation to the ® ...

Page 2

... Carry bit, C (SR<0>). 36. Sleep Mode Execution of the Sleep instruction (PWRSAV #0) may cause incorrect program operation after the device wakes up from Sleep. The current consumption during Sleep may also increase beyond the specifications listed in the device data sheet. © 2008 Microchip Technology Inc. ...

Page 3

... The SPIxCON1 DISSCK bit does not influence port functionality Module The BCL bit in I2CSTAT can be cleared only with 16-bit operation and can be corrupted with 1-bit or 8-bit operations on I2CSTAT. © 2008 Microchip Technology Inc. dsPIC30F1010/202X 2 44 Module: 10-bit addressing mode operate at When the I ...

Page 4

... PWM-ADC sample and hold trigger timing is 8 ns. The existing implementation has a 41.6 ns resolution. In other words, when the PWM-ADC trigger is fired, an ADC sample may occur 41.6 ns later. Work around None. © 2008 Microchip Technology Inc. ...

Page 5

... The exception to this is the RB7 pin and all multiplexed functions (see Module 8). © 2008 Microchip Technology Inc. dsPIC30F1010/202X 7. Module: ADC Module: Global Software Trigger In order to perform multiple analog-to-digital ...

Page 6

... None of the functions multiplexed on this pin yield correct results. TABLE 1: THE AFFECTED PINS ON THE dsPIC Device dsPIC30F1010 28-pin SDIP 28-pin SOIC dsPIC30F2020 28-pin SDIP 28-pin SOIC dsPIC30F2023 44-pin TQFP As a result of this erratum, the following issues exist: • ADC channel AN7 does not produce the correct conversion results (dsPIC30F202X only) • ...

Page 7

... PWMxH/L output pin. The GPIO module must be set up in advance for the desired override output states, and the pins must be configured as digital outputs. This includes setting the PORTx and TRISx registers correctly, which correspond to the PWMxH and PWMxL pins. © 2008 Microchip Technology Inc. dsPIC30F1010/202X DS80290J-page 7 ...

Page 8

... The voltage seen at the EXTREF pin is given by Equation 1. DS80290J-page 8 Work around If the EXTREF pin is used in any of the configurations recommended that a 100 ohms 1/8W resistor be added in series with the EXTREF pin (see Figure 1). dsPIC30F2020 RE6 RE6 N/A N/A EXTREF EXTREF N/A N/A ...

Page 9

... OCxRS. Instead, write a value of 0x0002; however, in this case the duty cycle will be slightly different from the desired value. © 2008 Microchip Technology Inc. dsPIC30F1010/202X 15. Module: SPI Module in Frame Master Mode The SPI module will fail to generate frame ...

Page 10

... The Bus Collision Status bit (BCL) does not get set when a bus collision occurs during a Restart or Stop event. However, the BCL bit gets set when a bus collision occurs during a Start event. Work around None. bits in the 2 C Module © 2008 Microchip Technology Inc. ...

Page 11

... NOSC value for FRC+PLL */ _builtin_write_OSCCONL(1); /* Set OSWEN bit */ /* Continue original program here */ ... } © 2008 Microchip Technology Inc. dsPIC30F1010/202X switch after the device is reset (refer to Section 29. “Oscillator” (DS70268) in the “dsPIC30F drops below DD Family Reference Manual” (DS70046) for details on clock switching) ...

Page 12

... FIFO as data. Work around To prevent the sync break character from being loaded into the FIFO, load the UxBRG register with either 0x0000 or 0xFFFF prior to enabling the auto-baud feature (ABAUD = 1). © 2008 Microchip Technology Inc. to performing ...

Page 13

... I2CxTRN. Work around Use the D_A Status bit only for determining slave reception status and not slave transmission status. © 2008 Microchip Technology Inc. dsPIC30F1010/202X 29. Module: UART Module The UART module can be used to transmit and ® ...

Page 14

... Duty Cycle or Phase). Work around Operate the Power Supply PWM module so that the percentage error in the parameter of interest (from Equation 3) is within permissible limits of the application. © 2008 Microchip Technology Inc. 252 = -------- - ⋅ 100 ...

Page 15

... SR, #C ;set the carry bit bra L1 ;and exit L0:daw.b w2 L1: .... © 2008 Microchip Technology Inc. dsPIC30F1010/202X For example, the override data may be set as follows: • OVRDAT<1:0> • CLDAT<1:0> • FLTDAT<1:0> all three overrides occur simultaneously, the following operations shown in Equation 4 will determine the state of the PWMx pin ...

Page 16

... Sleep mode. Example 4 described above would apply to a dsPIC30F2023 device. ; Ensure flag is reset ; Return from Interrupt Service Routine the function call would be following the or _GotoSleep demonstrates the work around © 2008 Microchip Technology Inc. ...

Page 17

... PWM module will stop generating the ADC trigger before the module relinquishes control of the PWM pins. Work around None. © 2008 Microchip Technology Inc. dsPIC30F1010/202X 38. Module: PWM Module In Push-Pull mode, with immediate updates enabled, the PWM pins may become swapped. Work around ...

Page 18

... C language, MPLAB C30 version 3.11 or higher provides the following command-line switch that implements a work around for the erratum: -merrata=psv_trap Refer to the readme.txt file in the MPLAB C30 v3.11 toolsuite for further details Module 2 However, the I C module © 2008 Microchip Technology Inc. ...

Page 19

... Added silicon issues 37 (PWM Module), 38 (PWM Module), 39 (Power Supply PWM), Module), 41 (UART Module), 42 (SPI Module Module), and Module). Revision J (7/2008) Updated silicon issue 37 (PWM Module) and added 2 2 issues Module Module), 47 (UART (FIFO Error Flags)) and 48 (PSV Operations). © 2008 Microchip Technology Inc. dsPIC30F1010/202X 40 (UART DS80290J-page 19 ...

Page 20

... NOTES: DS80290J-page 20 © 2008 Microchip Technology Inc. ...

Page 21

... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 22

... Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Hsin Chu Tel: 886-3-572-9526 Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. 01/02/08 ...

Related keywords