DSPIC30F2020-20E/SP Microchip Technology, DSPIC30F2020-20E/SP Datasheet
DSPIC30F2020-20E/SP
Specifications of DSPIC30F2020-20E/SP
Related parts for DSPIC30F2020-20E/SP
DSPIC30F2020-20E/SP 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 ...