DSPIC30F6011T-20I/PF Microchip Technology, DSPIC30F6011T-20I/PF Datasheet - Page 4
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
DSPIC30F6011T-20I/PF
Manufacturer Part Number
DSPIC30F6011T-20I/PF
Description
IC DSPIC MCU/DSP 132K 64TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr
Datasheets
1.DSPIC30F2011-20ISO.pdf
(66 pages)
2.DSPIC30F5011T-20IPT.pdf
(34 pages)
3.DSPIC30F6010T-20IPF.pdf
(6 pages)
4.DSPIC30F6011T-20IPF.pdf
(12 pages)
5.DSPIC30F6011T-20IPF.pdf
(226 pages)
Specifications of DSPIC30F6011T-20I/PF
Core Processor
dsPIC
Core Size
16-Bit
Speed
20 MIPS
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
52
Program Memory Size
132KB (44K x 24)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
6K 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
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
DSPIC30F6011T20IP
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DSPIC30F6011T-20I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
dsPIC30F6011/6012/6013/6014
5. Module: Early Termination of Nested DO
EXAMPLE 4:
6. Module: Reset during RTSP of Program
EXAMPLE 5:
DS80183D-page 4
LOOP1: MOV
LOOP0:
Note:
__AddressError:
When using two DO loops in a nested fashion,
terminating the inner-level DO loop by setting the
EDT(CORCON<11>) bit will produce unexpected
results. Specifically, the device may continue
executing code within the outer DO loop forever.
This erratum does not affect the operation of the
MPLAB C30 compiler.
Work around
The application should save the DCOUNT SFR
prior to entering the inner DO loop and restore it
upon exiting the inner DO loop. This work around
is shown in Example 4.
If a device reset occurs while an RTSP operation
is ongoing, code execution after the reset may
lead to an Address Error Trap.
Work around
The user should define an Address Error Trap
service routine as shown in Example 5 in order to
allow normal code execution to continue.
bclr
bclr
reset
.include "p30fxxxx.inc"
.......
DO #CNT1, LOOP0
....
PUSH
DO
....
BTSS
BSET
....
....
POP
...
For details on the functionality of
EDT bit, see section 2.9.2.4
in the dsPIC30F Family Reference
Manual.
MOV
RCON, #TRAPR
INTCON1, #ADDRERR
Loops
Flash Memory
DCOUNT
#CNT2, LOOP1
Flag, #0
CORCON, #EDT;Terminate inner
W1, W5
DCOUNT
W5, W8
;Outer loop start
;Save DCOUNT
;starts
;DO-loop early
;Inner loop ends
;Restore DCOUNT
;Outer loop ends
;Clear the Trap
;Software reset
;Reset Flag Bit
;Address Error
;trap flag bit
;Inner loop
;Clear the
Advance Information
7. Module: Y-Space Data Dependency
EXAMPLE 6:
EXAMPLE 7:
:Unexpected Results!
:Correct Results!
When an instruction that writes to a location in the
address range of Y-data memory (addresses
between 0x1800 and 0x27FF) is immediately
followed by a MAC-type DSP instruction that reads
a location also resident in Y-data memory, the two
operations will not be executed as specified. This
is demonstrated in Example 6.
Work around
Work around 1:
Insert a NOP between the two instructions as
shown in Example 7.
Work around 2:
If work around #1 is not feasible due to application
real-time constraints, the user may take precau-
tions to ensure that a write operation performed on
a location in Y-data memory is not immediately
followed by a DSP MAC-type instruction that
performs a read operation of a location in Y-data
memory.
MOV
MOV
MOV
MAC
MOV
MOV
MOV
NOP
MAC
#0x090A, W0
#0x09B0, W10
W2, [W0++]
W4*W5, A, [W10]+=2, W5 ;Perform
#0x090A, W0
#0x09B0, W10
W2, [W0++]
W4*W5, A, [W10]+=2, W5 ;Perform
2004 Microchip Technology Inc.
;Load address > =
;0x900 into W0
;Load address >=
;0x900 into W10
;Perform indirect
;write via W0 to
;address >= 0x900
;read operation
;using Y-AGU
;Load address > =
;0x900 into W0
;Load address >=
;0x900 into W10
;Perform indirect
;write via W0 to
;address >= 0x900
;No operation
;read operation
;using Y-AGU