DSPIC30F2020-30I/MM Microchip Technology, DSPIC30F2020-30I/MM Datasheet
DSPIC30F2020-30I/MM
Specifications of DSPIC30F2020-30I/MM
Available stocks
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 ...