DSPIC30F5013-30I/PT Microchip Technology, DSPIC30F5013-30I/PT Datasheet

no-image

DSPIC30F5013-30I/PT

Manufacturer Part Number
DSPIC30F5013-30I/PT
Description
IC DSPIC MCU/DSP 66K 80TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F5013-30I/PT

Core Processor
dsPIC
Core Size
16-Bit
Speed
30 MIPs
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
AC'97, Brown-out Detect/Reset, I²S, LVD, POR, PWM, WDT
Number Of I /o
68
Program Memory Size
66KB (22K x 24)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Core Frequency
40MHz
Core Supply Voltage
5.5V
Embedded Interface Type
CAN, I2C, SPI, UART
No. Of I/o's
68
Flash Memory Size
66KB
Supply Voltage Range
2.5V To 5.5V
Package
80TQFP
Device Core
dsPIC
Family Name
dsPIC30
Maximum Speed
30 MHz
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
16 Bit
Number Of Programmable I/os
68
Interface Type
CAN/I2C/SPI/UART
On-chip Adc
16-chx12-bit
Number Of Timers
5
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM300024 - KIT DEMO DSPICDEM 1.1XLT80PT3 - SOCKET TRAN ICE 80MQFP/TQFPAC164320 - MODULE SKT MPLAB PM3 80TQFPDM300004-2 - BOARD DEMO DSPICDEM.NET 2DM300004-1 - BOARD DEMO DSPICDEM.NET 1AC30F007 - MODULE SKT FOR DSPIC30F 80TQFPDV164005 - KIT ICD2 SIMPLE SUIT W/USB CABLE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
DSPIC30F501330IPT

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F5013-30I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
The dsPIC30F5011/5013 family devices that you have
received conform functionally to the current Device Data
Sheet (DS70116H), 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
The errata described in this document will be addressed
in future revisions of the dsPIC30F5011/5013 silicon.
Data Sheet clarifications and corrections start on
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.
dsPIC30F5011
dsPIC30F5013
Note 1:
Note:
2.
2:
3:
Table
The Device and Revision IDs (DEVID and DEVREV) are located at the last two implemented addresses in
program memory.
Refer to the “dsPIC30F Flash Programming Specification” (DS70102) for detailed information on Device
and Revision IDs for your specific device.
Contact Microchip Technical Support (http://support.microchip.com) in order to differentiate between silicon
revisions A3 and A4.
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
revision (A4).
Part Number
1. The silicon issues are summarized in
SILICON DEVREV VALUES
Silicon Errata and Data Sheet Clarification
apply to the current silicon
®
IDE and Microchip’s
dsPIC30F5011/5013 Family
page
23,
Device ID
dsPIC30F5011/5013
0x0080
0x0081
(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
dsPIC30F5011/5013 silicon revisions are shown in
Table
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.
1.
If you are unable to extract the silicon
revision level, please contact your local
Microchip sales office for assistance.
the
0x1001
Revision ID for Silicon Revision
A1
MPLAB
0x1002 0x1003 0x1003
A2
hardware
A3
DS80453E-page 1
(3)
A4
tool
(3)
(2)

Related parts for DSPIC30F5013-30I/PT

DSPIC30F5013-30I/PT Summary of contents

Page 1

... Microchip corporate web site (www.microchip.com). TABLE 1: SILICON DEVREV VALUES Part Number dsPIC30F5011 dsPIC30F5013 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. dsPIC30F5011/5013 Issue Summary 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 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 © 2010 Microchip Technology Inc. dsPIC30F5011/5013 These instructions are identified in Example 2 occurs. Also, always use Work around 2 if the C compiler is used to generate code for dsPIC30F5011/5013 devices ...

Page 6

... 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 DS80453E-page 6 Example 4. © 2010 Microchip Technology Inc. ...

Page 7

... SFR read MOV I2CCON second SFR read POP SR © 2010 Microchip Technology Inc. dsPIC30F5011/5013 Work around 2: For C Language Source Code For C programmers, the MPLAB C30 v1.20.02 toolsuite provides a built-in function that may be incorporated in the application source code. This function may be used to read the I2CCON SFR. ...

Page 8

... The special argument is the address of a 16-bit SFR (I2CTRN in this case). For example, the I2CTRN register can be written using a function call: __builtin_writesfr(&I2CTRN, reg_value); where ‘reg_value’ is the 16-bit value to be written to the SFR. Example 6. In Affected Silicon Revisions © 2010 Microchip Technology Inc. ...

Page 9

... W0 MOV W1, U1MODE ;write to U1MODE POP SR © 2010 Microchip Technology Inc. dsPIC30F5011/5013 Work around 2: For C Language Source Code For C programmers, the MPLAB C30 v1.30 toolsuite provides a built-in function that may be incorporated in the application source code. This in the DD function may be used to write to the U1MODE and ...

Page 10

... Use 8x PLL or 16x PLL mode of operation and set final device clock speed using the POST<1:0> oscillator postscaler control bits (OSCCON<7:6>). 2. Use the EC without PLL Clock mode with a suitable clock frequency to obtain the equivalent 4x PLL clock rate. Affected Silicon Revisions DS80453E-page 10 © 2010 Microchip Technology Inc. ...

Page 11

... SRbits.IPL; \ SET_CPU_IPL (ipl); } (void) 0; #define RESTORE_CPU_IPL (saved_to) SET_CPU_IPL (saved_to) #include "p30fxxxx.h" int save_to; SET_AND_SAVE_CPU_IPL (save_to RESTORE_CPU_IPL (save_to) © 2010 Microchip Technology Inc. dsPIC30F5011/5013 EXAMPLE 8: .include "p30fxxxx.inc" ... DISI #4 ; protect the disable ; of INT1 BCLR IEC1, #INT1IE ; disable interrupt 1 ... ; next instruction ;protected by DISI ...

Page 12

... 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 DS80453E-page 12 shown in © 2010 Microchip Technology Inc. ...

Page 13

... © 2010 Microchip Technology Inc. dsPIC30F5011/5013 12. Module: Output Compare If the desired 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, or, in other words, it misses the next compare for any value written on OCxRS ...

Page 14

... 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 DS80453E-page 14 © 2010 Microchip Technology Inc. ...

Page 15

... NOP instructions .rept 31 NOP .endr ; Place SLEEP instruction in the last word of program memory PWRSAV #0 © 2010 Microchip Technology Inc. dsPIC30F5011/5013 This can be accomplished by replacing all occurrences of the PWRSAV #0 instruction with a function call to a suitably aligned subroutine. The address( ) attribute provided by the MPLAB ASM30 assembler can be utilized to correctly align the instructions in the subroutine ...

Page 16

... 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 17

... 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. dsPIC30F5011/5013 Work around 2: Use this work around for applications in which the receiver interrupt is required. Assuming that ...

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 tool suite for further details. Affected Silicon Revisions © 2010 Microchip Technology Inc. ...

Page 19

... None. Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F5011/5013 25. Module: I When the I I2CEN bit in the I2CCON register, the dsPIC DSC device generates a glitch on the SDA and SCL addresses. In pins. This glitch falsely indicates “Communication Start” to all devices on the I a bus collision in a multi-master configuration. ...

Page 20

... Affected Silicon Revisions Example 13 shows ;Unused byte ;Unused byte" A4 Low Byte (Even Address) 0x7FFC00 0x7FFC02 0x7FFC04 0x7FFC06 0x7FFC08 0x7FFC0A © 2010 Microchip Technology Inc. ...

Page 21

... FRC oscillator. Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F5011/5013 28. Module: I The port pin, RC15, is multiplexed with the primary DD oscillator pin, OSC2. When pin RC15 is required for digital input/output, specific bits in the Oscillator Configuration register, FOSC, may be set up as follows: • ...

Page 22

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

Page 23

... Symbol Characteristic No. V Input Low Voltage IL DI19 SDA, SCL V Input High Voltage IH DI29 SDA, SCL © 2010 Microchip Technology Inc. dsPIC30F5011/5013 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

... Updated silicon issue 10 (Interrupt Controller). Rev D Document (6/2010) Added silicon issue 30 (ADC) and data sheet clarification 1 (DC Characteristics: I/O Pin Input Specifications). Rev E Document (10/2010) Updated the revision ID for A4 silicon in DS80453E-page 24 Operations), 12-13 (Output Mode), 17 (PSV (Flash Table 1. © 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-213-7830 Fax: 886-7-330-9305 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. 08/04/10 ...

Related keywords