DSPIC30F4013-20I/PT Microchip Technology, DSPIC30F4013-20I/PT Datasheet
DSPIC30F4013-20I/PT
Specifications of DSPIC30F4013-20I/PT
Available stocks
Related parts for DSPIC30F4013-20I/PT
DSPIC30F4013-20I/PT Summary of contents
Page 1
... Microchip corporate web site (www.microchip.com). TABLE 1: SILICON DEVREV VALUES Part Number dsPIC30F3014 dsPIC30F4013 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 Flash Programming Specification” (DS70102) for detailed information on Device and Revision IDs for your specific device. © ...
Page 2
... ADC event triggers from the INT0 pin will not wake-up the device from Sleep mode if the SMPI bits are non-zero PLL mode is used, the input frequency range is 5 MHz-10 MHz instead of 4 MHz-10 MHz. Affected (1) Revisions © 2010 Microchip Technology Inc. ...
Page 3
... Consumption in Sleep Mode Note 1: Only those issues indicated in the last column apply to the current silicon revision. © 2010 Microchip Technology Inc. Issue Summary The external Low-Voltage Detect (LVD) module is not connected to the AN2 Pad. Execution of the Sleep instruction (PWRSAV #0) may cause incorrect program operation after the device wakes up from Sleep ...
Page 4
... BCD number MOV.b #0x80, w1 ;Second BCD number ADD.b w0, w1, w2 ;Perform addition BRA NC, L0 ;If C set DAW.b w2 ;If not,do DAW and BSET.b SR, #C ;set the carry bit BRA L1 ;and exit L0:DAW.b w2 L1: .... Affected Silicon Revisions © 2010 Microchip Technology Inc. ...
Page 5
... RAM register prior to performing the operations listed in Table 3. The work around for Example 2 is demonstrated in Example 3. © 2010 Microchip Technology Inc. dsPIC30F3014/4013 These instructions are identified in Table 3. Example 2 demonstrates one scenario where this occurs ...
Page 6
... There is one level of DISI, so this macro saves and restores the DISI state. For temporarily modifying and restoring the CPU IPL, the mac- ros RESTORE_CPU_IPL can be used, as shown in Example 6. These macros also make use of the SET_CPU_IPL macro. USING SET_CPU_IPL MACRO \ \ and SET_AND_SAVE_CPU_IPL © 2010 Microchip Technology Inc. ...
Page 7
... SET_AND_SAVE_CPU_IPL (save_sr, 7);\ x; \ RESTORE_CPU_IPL (save_sr); } (void INTERRUPT_PROTECT (IEC0bits.U1TXIE=0); Note: If you are using a MPLAB C30 compiler version earlier than version 1.32, you may still use the macros by adding them to your application. Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F3014/4013 DS80455D-page 7 ...
Page 8
... LOOP1: MOV W1, W5 ;Inner loop ends POP DCOUNT ;Restore DCOUNT ... LOOP0: MOV W5, W8 ;Outer loop ends Note: For details on the functionality of EDT bit, see section 2.9.2.4 in the dsPIC30F Family Reference Manual. Affected Silicon Revisions © 2010 Microchip Technology Inc. ...
Page 9
... RB10, RB11 and RB12) may now be used. Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F3014/4013 9. Module: Output Compare If the desire duty cycle is ‘0’ (OCxRS = 0), the module will generate a high level glitch The second problem is that on the next cycle after ...
Page 10
... Module: PLL If 8x PLL mode is used, the input frequency range is 5 MHz-10 MHz instead of 4 MHz-10 MHz. Work around None PLL is used, make sure the input crystal or clock frequency is 5 MHz or greater. Affected Silicon Revisions © 2010 Microchip Technology Inc module ...
Page 11
... The LVD module works as an internal reference source only. Affected Silicon Revisions © 2010 Microchip Technology Inc. 17. Module: Sleep Mode Execution of the Sleep instruction (PWRSAV #0) are generated 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 12
... Note: The above work around is recommended for users for whom application hardware changes are possible, and also for users whose includes a 32 kHz LP Oscillator crystal. Affected Silicon Revisions Section 29. “Oscillator” application hardware already © 2010 Microchip Technology Inc. ...
Page 13
... This will also clear the RBF flag Clear the I C receiver interrupt flag SI2CF back to step 1 to continue receiving incoming data bytes. © 2010 Microchip Technology Inc. dsPIC30F3014/4013 Work around 2: Use this work around for applications in which the receiver interrupt is required. Assuming that ...
Page 14
... 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 tool suite for further details. Affected Silicon Revisions the secondary © 2010 Microchip Technology Inc. ...
Page 15
... Start” condition. Work arounds To avoid this issue, either of the following two work arounds can be implemented, depending on the application requirements. © 2010 Microchip Technology Inc. dsPIC30F3014/4013 Work around single-master environment, add a delay between enabling the I transmission. The delay should be equal to or greater than the time it takes to transmit two data addresses ...
Page 16
... ADC module by setting the ADC Module Disable bit in the corresponding Peripheral Module (PMDx) register, prior to executing a PWRSAV #0 instruction. Affected Silicon Revisions DS80455D-page 16 specifications Disable © 2010 Microchip Technology Inc. ...
Page 17
... Param Symbol Characteristic No. V Input Low Voltage IL DI19 SDA, SCL V Input High Voltage IH DI29 SDA, SCL © 2010 Microchip Technology Inc. dsPIC30F3014/4013 specifica- IL Standard Operating Conditions: 3.3V and 5.0V (±10%) (unless otherwise stated) Operating temperature Min Typ Max V — 0.8 SS 2.1 — ...
Page 18
... Updated silicon issue 4 (Interrupt Controller). Rev C Document (2/2010) Added silicon issue 27 (CAN). Updated silicon issue 4 (Interrupt Controller). Rev D Document (6/2010) Added silicon issue 28 (ADC) and data sheet clarification 1 (DC Characteristics: I/O Pin Input Specifications). DS80455D-page 18 2 C), 21 © 2010 Microchip Technology Inc. ...
Page 19
... 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 20
... 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 ...