DSPIC30F6012-20E/PF Microchip Technology, DSPIC30F6012-20E/PF Datasheet

IC DSPIC MCU/DSP 144K 64TQFP

DSPIC30F6012-20E/PF

Manufacturer Part Number
DSPIC30F6012-20E/PF
Description
IC DSPIC MCU/DSP 144K 64TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F6012-20E/PF

Core Processor
dsPIC
Core Size
16-Bit
Speed
20 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
52
Program Memory Size
144KB (48K x 24)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
64-TQFP, 64-VQFP
For Use With
XLT64PT4 - SOCKET TRAN ICE 64MQFP/TQFPAC164313 - MODULE SKT FOR PM3 64PFAC30F002 - MODULE SOCKET DSPIC30F 64TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
DSPIC30F601220EPF

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F6012-20E/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
The dsPIC30F6011/6012/6013/6014 family devices that
you have received conform functionally to the current
Device Data Sheet (DS70117F), 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. The silicon issues are summarized in
Table 2.
The errata described in this document will be addressed
in future revisions of the dsPIC30F6011/6012/6013/
6014 silicon.
Data Sheet clarifications and corrections start on page 25,
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.
dsPIC30F6011
dsPIC30F6012
dsPIC30F6013
dsPIC30F6014
Note 1:
Note:
2:
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.
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 apply to the current silicon revision
(B2).
Part Number
SILICON DEVREV VALUES
Silicon Errata and Data Sheet Clarification
dsPIC30F6011/6012/6013/6014 Family
®
IDE and Microchip’s
dsPIC30F6011/6012/6013/6014
Device ID
0x0192
0x0193
0x0197
0x0198
(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
dsPIC30F6011/6012/6013/6014 silicon revisions are
shown in Table 1.
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.
If you are unable to extract the silicon
revision level, please contact your local
Microchip sales office for assistance.
the
Revision ID for Silicon Revision
0x1003
A3
MPLAB
0x1040
B1
hardware
DS80456D-page 1
0x1042
B2
tool
(2)

Related parts for DSPIC30F6012-20E/PF

DSPIC30F6012-20E/PF Summary of contents

Page 1

... Microchip corporate web site (www.microchip.com). TABLE 1: SILICON DEVREV VALUES Part Number dsPIC30F6011 dsPIC30F6012 dsPIC30F6013 dsPIC30F6014 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 “ ...

Page 2

... In Slave mode, the DCI module does not function correctly when data communication is configured to start one serial clock after the frame synchronization pulse. The DCI module should not be stopped when the device enters Idle mode. Affected (1) Revisions © 2010 Microchip Technology Inc. ...

Page 3

... CAN RX Filters 3, 34. 4 and 5 Note 1: Only those issues indicated in the last column apply to the current silicon revision. © 2010 Microchip Technology Inc. dsPIC30F6011/6012/6013/6014 Issue Summary Read operations performed on CAN module Special Function Registers (SFRs) may yield incorrect results at operation over 20 MIPS. ...

Page 4

... The device exhibits I PD arounds are required to achieve I in this range the ADC module enabled state when the device enters Sleep Mode, the power-down current (I exceed the device data sheet specifications. Affected Revisions the device may PD © 2010 Microchip Technology Inc. (1) X ...

Page 5

... MUL.UU. Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F6011/6012/6013/6014 3. Module: CPU Sequential MAC class instructions, which prefetch data from Y data space using +4 address modification, will cause an address error trap. The trap occurs only when all of the following conditions are true: 1 ...

Page 6

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

Page 7

... 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. dsPIC30F6011/6012/6013/6014 These instructions are identified in Table 3. Example 2 demonstrates a scenario where this occurs. ...

Page 8

... EXAMPLE 5: TRAP SERVICE ROUTINE __AddressError: bclr RCON, #TRAPR ;Clear the Trap ;Reset Flag Bit bclr INTCON1, #ADDRERR ;Clear the ;Address Error ;trap flag bit reset ;Software reset Affected Silicon Revisions © 2010 Microchip Technology Inc. ...

Page 9

... Y data memory. Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F6011/6012/6013/6014 9. Module: Interrupt Controller Catastrophic accumulator overflow traps are enabled as follows: - COVTE (INTCON1<8> SATA/SATB (CORCON <7:6> carry generated out of bit 39 in the accumulator causes a catastrophic overflow of the accumulator since the sign bit has been destroyed ...

Page 10

... DISI counter decrements to zero and the next DISI instruction. Alternatively, make sure that subsequent DISI instructions are called before the DISI counter decrements to zero. Affected Silicon Revisions © 2010 Microchip Technology Inc. ...

Page 11

... Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F6011/6012/6013/6014 14. Module: ADC Input channel scanning allows the ADC to acquire and convert signals on a selected set of “MUX A” input pins in sequence. This function is controlled by the CSCNA bit (ADCON2<10>) and the ADCSSL SFR. ...

Page 12

... W1, W1 MOV W0, TXBUF0 MOV W1, TXBUF1 MOV My2ndTxDataWord, W0 RRC W0, W0 RRC W1, W1 MOV W0, TXBUF2 MOV W1, TXBUF3 Frame Synch and first data bit sampled here LSb LSb + 1 Data from TXBUF1 channel. In order DCI SLAVE WORK AROUND Time Slot 1 © 2010 Microchip Technology Inc. ...

Page 13

... C1RXF0SIDL first SFR read mov C1RXF0SIDL second SFR read © 2010 Microchip Technology Inc. dsPIC30F6011/6012/6013/6014 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 any CAN module SFRs ...

Page 14

... POST<1:0> oscillator postscaler control bits (OSCCON<7:6>). 2. Use the EC without PLL Clock mode with a suitable equivalent 4x PLL clock rate. Affected Silicon Revisions dsPIC30FXXX-20E 20 — — 2.5V-3.0V, the 4x PLL input DD is 3.0V-3.6V, the 4x PLL input DD clock frequency to obtain the B2 X © 2010 Microchip Technology Inc. ...

Page 15

... 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. dsPIC30F6011/6012/6013/6014 Work around 2: For C Language Source Code For applications using the C language, MPLAB C30 versions 1.32 and higher provide several generic term macros for modifying the CPU IPL. The ...

Page 16

... Module: PLL If 8x PLL mode is used, the input frequency range is 5 MHz-10 MHz instead of 4 MHz-10 MHz. shown in Work around None PLL is used, ensure that the input crystal or clock frequency is 5 MHz or greater. Affected Silicon Revisions © 2010 Microchip Technology Inc. ...

Page 17

... NOP instructions .rept 31 NOP .endr ; Place SLEEP instruction in the last word of program memory PWRSAV #0 © 2010 Microchip Technology Inc. dsPIC30F6011/6012/6013/6014 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 18

... 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 B2 X © 2010 Microchip Technology Inc. ...

Page 19

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

Page 20

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

... Work around None. Affected Silicon Revisions © 2010 Microchip Technology Inc. dsPIC30F6011/6012/6013/6014 33. Module: I When the I I2CEN bit in the I2CCON register, the dsPIC DSC device generates a glitch on the SDA and SCL pins. This glitch falsely indicates “Communication Start” to all devices on the I with the a bus collision in a multi-master configuration ...

Page 22

... Auto-convert option is not chosen as the conversion trigger SSRC (ADCON1<7:5>) is not equal to ‘111’ - SAMC (ADCON3<12:8>) is equal to ‘00000’ Work around Set the value of the SAMC bits to anything other than ‘00000’. The module will now operate as specified. Affected Silicon Revisions © 2010 Microchip Technology Inc. ...

Page 23

... Results are shown here for the PWM1H and PWM1L pins only. Similar results will be observed for any other pair of complementary output pins (PWM2H/L, PWM3H/L and PWM4H/L) and any other chosen duty cycle. © 2010 Microchip Technology Inc. dsPIC30F6011/6012/6013/6014 40. Module: PWM The output override function of the PWM module, controlled by the OVDCON register and the OSYNC bit (PWMCON2< ...

Page 24

... 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 DS80456D-page 24 to values PD +/RA10 pin REF specifications #0 © 2010 Microchip Technology Inc. ...

Page 25

... Param Symbol Characteristic No. V Input Low Voltage IL DI19 SDA, SCL V Input High Voltage IH DI29 SDA, SCL © 2010 Microchip Technology Inc. dsPIC30F6011/6012/6013/6014 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 26

... Added Affected Revisions table to issue 41 (CPU). Rev C Document (2/2010) Updated silicon issue 22 (Interrupt Controller). Rev D Document (6/2010) Added silicon issue 42 (ADC) and data sheet clarification 1 (DC Characteristics: I/O Pin Input Specifications). DS80456D-page 26 2 C), 28 (Timer), 2 C), 34 (CAN), © 2010 Microchip Technology Inc. ...

Page 27

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

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

Related keywords