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 family devices that you have
received conform functionally to the current Device Data
Sheet (DS70178C), except for the anomalies described
in this document.
The silicon issues discussed in the following pages are
for silicon revisions with the Device and Revision IDs
listed in Table 1. The silicon issues are summarized in
Table 2.
The errata described in this document will be addressed
in future revisions of the dsPIC30F1010/202X silicon.
Data Sheet clarifications and corrections start on page
23, following the discussion of silicon issues.
The silicon revision level can be identified using the
current version of MPLAB
programmers, debuggers and emulation tools, which
are available at the Microchip corporate web site
(www.microchip.com).
TABLE 1:
© 2010 Microchip Technology Inc.
dsPIC30F1010
dsPIC30F2020
dsPIC30F2023
Note 1:
Note:
2:
The Device and Revision IDs (DEVID and DEVREV) are located at the last two implemented addresses in
program memory.
Refer to the “dsPIC30F SMPS Flash Programming Specification” (DS70284) for detailed information on
Device and Revision IDs for your specific device.
This document summarizes all silicon
errata issues from all revisions of silicon,
previous as well as current. Only the
issues indicated in the last column of
Table 2 apply to the current silicon revision
(A3).
Part Number
SILICON DEVREV VALUES
Silicon Errata and Data Sheet Clarification
®
dsPIC30F1010/202X Family
IDE and Microchip’s
dsPIC30F1010/202X
Device ID
0x0404
0x0400
0x0403
(1)
For example, to identify the silicon revision level using
MPLAB IDE in conjunction with MPLAB ICD 2 or
PICkit™ 3:
1.
2.
3.
4.
The Device and Revision ID values for the various
dsPIC30F1010/202X silicon revisions are shown in
Table 1.
Note:
Using the appropriate interface, connect the device
to the MPLAB ICD 2 programmer/debugger or
PICkit 3.
From the main menu in MPLAB IDE, select
Configure>Select Device, and then select the
target part number in the dialog box.
Select
(Debugger>Select Tool).
Perform a “Connect” operation to the device
(Debugger>Connect). Depending on the devel-
opment tool used, the part number and Device
Revision ID value appear in the Output window.
If you are unable to extract the silicon
revision level, please contact your local
Microchip sales office for assistance.
the
Revision ID for Silicon Revision
0x1000
A1
MPLAB
0x1002
A2
hardware
DS80445D-page 1
0x1003
A3
tool
(2)

Related parts for DSPIC30F2020-30I/MM

DSPIC30F2020-30I/MM Summary of contents

Page 1

... Microchip corporate web site (www.microchip.com). TABLE 1: SILICON DEVREV VALUES Part Number dsPIC30F1010 dsPIC30F2020 dsPIC30F2023 Note 1: The Device and Revision IDs (DEVID and DEVREV) are located at the last two implemented addresses in program memory. 2: Refer to the “dsPIC30F SMPS Flash Programming Specification” (DS70284) for detailed information on Device and Revision IDs for your specific device. © ...

Page 2

... Individual ADC Interrupts for the ADC pin pairs do not work. The maximum conversion rate for the ADC module is 1.5 Msps. Depending on conversion configuration, ADC inputs that do not have dedicated sample-and-hold circuits may produce inaccurate conversion results. Affected (1) Revisions © 2010 Microchip Technology Inc. ...

Page 3

... C™ Bus Collision 35. Note 1: Only those issues indicated in the last column apply to the current silicon revision. © 2010 Microchip Technology Inc. dsPIC30F1010/202X Issue Summary The output compare module produces a glitch on the output when an I/O pin is initially set high and the module is configured to drive the pin low at a specified time ...

Page 4

... ADC conversion is triggered that coincides with two PWM edges in Independent Time Base mode. If the ADC module enabled state when the device enters Sleep Mode, the power-down current ( the device may exceed the device data sheet PD specifications. Affected (1) Revisions slave © 2010 Microchip Technology Inc. ...

Page 5

... Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F1010/202X 3. Module: PWM Each PWM generator can be configured to generate a trigger for the ADC module or a trigger interrupt at any point during the PWM period. The point in time during the PWM period that the trigger ...

Page 6

... The above behavior applies when the Master Duty Cycle register (MDC) or Individual Duty Cycle register (PDCx) provides the duty cycle value. Work around Do not load the duty cycle register with a value less than or equal to 0x0010. Affected Silicon Revisions © 2010 Microchip Technology Inc. ...

Page 7

... CLDAT<1:0> • FLTDAT<1:0> EQUATION 1: PWMxH = (OVRDAT<1>) AND (CLDAT<1>) AND (FLTDAT<1> AND 0 AND PWMxL = (OVRDAT<0>) AND (CLDAT<0>) AND (FLTDAT<0> AND 1 AND © 2010 Microchip Technology Inc. dsPIC30F1010/202X If all three overrides occur simultaneously, the following operations shown in Equation 1 will Data Sheet” ...

Page 8

... 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. Affected Silicon Revisions Maximum Jitter on PWM Output 8.4 ns 12.6 ns 16.8 ns 252 = -------- - – x programmed observed ± ⋅ -------------------------------------------------------------- - 100 x programmed is the programmed value © 2010 Microchip Technology Inc. ...

Page 9

... Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F1010/202X 12. Module: ADC In order to perform multiple analog-to-digital conversions using the global software trigger, the PxRDY bits in the ADSTAT register must be cleared. The data sheet indicates that the user can configure the ADC pin pairs to perform a conversion when the GSWTRG bit in the ADCON register is set ...

Page 10

... CY Work around None. However, the user may use a timer inter- rupt, and write to the associated PORT register to control the pin manually. Affected Silicon Revisions silicon has after the module is enabled © 2010 Microchip Technology Inc. ...

Page 11

... Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F1010/202X 20. Module: SPI The SPI module slave select functionality (enabled by setting SSEN = 1) will not function correctly. Whether the SSx pin ( high or low, the SPI data transfer will be completed and an interrupt will be generated. This applies to the dsPIC30F2023 device only ...

Page 12

... If a UTXISEL0 value of ‘1’ is needed, avoid using read-modify-write instructions on the UxSTA register. Copy the UxSTA register to a temporary variable and set UxSTA<13> prior to performing read- modify-write operations. Copy the new value back to the UxSTA register. Affected Silicon Revisions © 2010 Microchip Technology Inc. ...

Page 13

... Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F1010/202X 30. Module: UART The UART module can be used to transmit and ® receive IrDA signals, with the use of an IrDA transceiver, by setting the IREN bit in the UxMODE register. In this mode, the operation of the RXINV bit enables reception of signals with an Idle state of either ‘ ...

Page 14

... Work around After transmitting a byte, the slave should poll the SDA line (subject to a time-out period that is dependent on the application) to determine whether an ACK (‘0’ NACK (‘1’) was received. Affected Silicon Revisions © 2010 Microchip Technology Inc. for master ...

Page 15

... C devices, the addresses, as well as bits A10 and A9, should be different. Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F1010/202X 2 41. Module 10-bit Addressing mode, some address matches do not set the RBF flag or load the receive register, I2CxRCV, if the lower address byte matches ...

Page 16

... ClockSwitch … … • For C programming, add the following instruction at the beginning of the program: int main(void +5V U1 U2* R* External MCLR BOR Circuit V SS ClockSwitch; … … © 2010 Microchip Technology Inc. ...

Page 17

... Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F1010/202X 45. Module: 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 ...

Page 18

... IFS1, #INT1IF RETFIE ; ---------------------------------------------------------------------------------------------- .section *, code, address (0x1FC0) _GotoSleep: ; fill remainder of the last row with NOP instructions .rept 31 NOP .endr ; Place SLEEP instruction in the last word of program memory PWRSAV #0 DS80445D-page 18 ; Ensure flag is reset ; Return from Interrupt Service Routine © 2010 Microchip Technology Inc. ...

Page 19

... Note: The above work around is recommended for users for whom application hardware changes are not possible. © 2010 Microchip Technology Inc. dsPIC30F1010/202X Work around 3: Instead of executing a PWRSAV #0 instruction to put the device into Sleep mode, perform a clock switch to the 32 kHz Low-Power (LP) Oscillator with a 64:1 postscaler mode ...

Page 20

... None of the functions multiplexed on this pin yields correct results. TABLE 5: THE AFFECTED PINS ON THE dsPIC Device 28-pin SDIP dsPIC30F1010 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 21

... Microchip Technology Inc. dsPIC30F1010/202X Work around If the EXTREF pin is used in any of the configurations recommended that a 100 ohms 1/8W resistor be on any I/O pin is added in series with the EXTREF pin (see Figure 2). dsPIC30F2020 RE6 RE6 N/A N/A EXTREF EXTREF N/A N/A ...

Page 22

... ADC module by setting the ADC Module Disable bit in the corresponding Peripheral Module Disable register (PMDx), prior to executing a PWRSAV instruction. Affected Silicon Revisions DS80445D-page 22 specifications #0 © 2010 Microchip Technology Inc. ...

Page 23

... Symbol Characteristic No Input Low Voltage DI19 SDA, SCL V Input High Voltage IH DI29 SDA, SCL © 2010 Microchip Technology Inc. dsPIC30F1010/202X specifica- IL Standard Operating Conditions: 3.3V and 5.0V (±10%) (unless otherwise stated) -40°C ≤ T Operating temperature -40°C ≤ T Min Typ Max V — ...

Page 24

... DS80391, “dsPIC30F1010/202X Rev. A3 Silicon Errata” Rev B Document (7/2009) Added silicon issue 49 (Analog Comparator). Rev C Document (1/2010) Updated silicon issue 6 (PWM). Rev D Document (6/2010) Added silicon issue 50 (ADC) and data sheet clarification 1 (DC Characteristics: I/O Pin Input Specifications). DS80445D-page 24 © 2010 Microchip Technology Inc. ...

Page 25

... PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, 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 26

... 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-6578-300 Fax: 886-3-6578-370 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 © 2010 Microchip Technology Inc. 01/05/10 ...

Related keywords