DSPIC30F3014-20I/P Microchip Technology, DSPIC30F3014-20I/P Datasheet
![IC DSPIC MCU/DSP 24K 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
DSPIC30F3014-20I/P
Specifications of DSPIC30F3014-20I/P
Available stocks
Related parts for DSPIC30F3014-20I/P
DSPIC30F3014-20I/P Summary of contents
Page 1
... Family Silicon Errata and Data Sheet Clarification The dsPIC30F3014/4013 family devices that you have received conform functionally to the current Device Data Sheet (DS70138F), 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 ...
Page 2
... TABLE 2: SILICON ISSUE SUMMARY Item Module Feature Number CPU MAC Class 1. Instructions with ±4 Address Modification CPU 2. DAW.b Instruction PSV — 3. Operations Interrupt — 4. Controller CPU 5. DISI Instruction CPU Nested DO 6. Loops 32 kHz Sleep Mode 7. Low- Power (LP) Oscillator DCI Port Pins 8 ...
Page 3
... CAN receive filters 3, 4 and 5 may not work for a given combination of instruction cycle speed and CAN bit time quanta. If the ADC module enabled state when the device enters Sleep Mode, the power-down current (I exceed the device data sheet specifications. dsPIC30F3014/4013 Affected Revisions A1 A2 ...
Page 4
... Silicon Errata Issues Note: This document summarizes all silicon errata issues from all revisions of silicon, previous as well as current. Only the issues indicated by the shaded column in the following tables apply to the current silicon revision (A2). 1. Module: CPU Sequential MAC class instructions, which prefetch data from Y data space using ± ...
Page 5
... 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. Also, always use Work around 2 if the C compiler is used to generate code for dsPIC30F3014/4013 devices. (1) (2) Examples of Incorrect Operation ADDC W0, [W1++], W2 ; SUBB.b W0, [++W1 ...
Page 6
... Module: Interrupt Controller The following sequence of events will lead to an address error trap. The “Interrupt 1” is used to represent any enabled dsPIC30F interrupt. 1. User software performs one of the following operations: - CPU IPL is raised to Interrupt 1 IPL level or higher Interrupt 1 IPL is lowered to CPU IPL ...
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
... Module: CPU When a user executes a DISI #7, for example, this will disable interrupts from cycles (7 + the DISI instruction itself). In this case, the DISI instruction uses a counter which counts down from The counter is loaded with 7 at the end of the DISI instruction. If the user code executes another DISI on the ...
Page 9
... 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 the glitch, the OC pin does not go high other words, it misses the next compare for any value written on OCxRS ...
Page 10
... Module: I/O The I/O Port register values can be changed by writing to the following address locations, which are located in unimplemented memory space. A write to these unimplemented addresses could cause an I/O pin configured as an output to change states. This state change could be confirmed by reading either the PORT or LAT register associated with the pin ...
Page 11
... GotoSleep( ) function call. This ensures that the device continues executing the correct code sequence after waking up from Sleep mode. Example 9 described above. dsPIC30F3014/4013 the function call would following the _GotoSleep ...
Page 12
... EXAMPLE 9: ; ---------------------------------------------------------------------------------------------- .global __reset .global _main .global _GotoSleep .global __AddressError .global __INT1Interrupt ; ---------------------------------------------------------------------------------------------- .section *, code _main: BSET INTCON2, #INT1EP ; Set up INT pins to detect falling edge BCLR IFS1, #INT1IF ; Clear interrupt pin interrupt flag bits BSET IEC1, #INT1IE ; Enable ISR processing for INT pins ...
Page 13
... 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 the RBF and the I2COV flags in the I2CSTAT ...
Page 14
... Module: I/O If the user application enables the auto-baud feature in the UART module, the I/O pin multiplexed with the IC1 (Input Capture) pin cannot be used as a digital input. However, the external interrupt function (INT1) can be used. Work around None. Affected Silicon Revisions ...
Page 15
... 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
... Module: ADC If the ADC module enabled state when the device enters Sleep mode as a result of executing a PWRSAV #0 instruction, the device power-down current (I ) may exceed the specifications listed PD in the device data sheet. This may happen even if the ADC module is disabled by clearing the ADON bit prior to entering Sleep mode ...
Page 17
... 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
... C). This document replaces the following errata documents: • DS80228, “dsPIC30F3014/4013 Rev. A1 Silicon Errata” • DS80397, “dsPIC30F3014/4013 Rev. A2 Silicon Errata” Rev B Document (8/2009) Updated silicon issue 4 (Interrupt Controller). Rev C Document (2/2010) Added silicon issue 27 (CAN). Updated silicon issue 4 (Interrupt Controller). ...
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 ...