DSPIC30F2010-30I/SPG Microchip Technology, DSPIC30F2010-30I/SPG Datasheet - Page 45
![16BIT 30MIPS DSPIC, 30F2010, DIP28](/photos/19/0/190081/42268255_sml.jpg)
DSPIC30F2010-30I/SPG
Manufacturer Part Number
DSPIC30F2010-30I/SPG
Description
16BIT 30MIPS DSPIC, 30F2010, DIP28
Manufacturer
Microchip Technology
Series
DsPIC30Fr
Datasheet
1.DSPIC30F2010-30ISPG.pdf
(244 pages)
Specifications of DSPIC30F2010-30I/SPG
Core Frequency
30MHz
Embedded Interface Type
I2C, SPI, UART
No. Of I/o's
20
Flash Memory Size
12KB
Supply Voltage Range
2.5V To 5.5V
Operating Temperature Range
-40°C To
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 45 of 244
- Download datasheet (7Mb)
4.3
4.3.1
In order to maximize data space, EA calculation and
operand fetch time, the X data space read and write
accesses are partially pipelined. The latter half of the
read phase overlaps the first half of the write phase of
an instruction, as shown in Section 2.
Address register data dependencies, also known as
‘Read After Write’ (RAW) dependencies, may therefore
arise between successive read and write operations
using common registers. They occur across instruction
boundaries and are detected by the hardware.
An example of a RAW dependency is a write operation
(in the current instruction) that modifies W5, followed
by a read operation (in the next instruction) that uses
W5 as a source address pointer. W5 will not be valid for
the read operation until the earlier write completes.
This problem is resolved by stalling the instruction exe-
cution for one instruction cycle, thereby allowing the
write to complete before the next read is started.
TABLE 4-2:
2004 Microchip Technology Inc.
Direct
Direct
Direct
Indirect
Indirect
Indirect
Indirect
Indirect
Indirect with Pre- or
Post-Modification
Indirect with Pre- or
Post-Modification
Indirect with Pre- or
Post-Modification
Addressing Mode
Destination
Using Wn
Instruction Stalls
INTRODUCTION
RAW DEPENDENCY RULES (DETECTION BY HARDWARE)
Direct
Indirect
Indirect with Pre- or
Post-Modification
Direct
Indirect
Indirect
Indirect with Pre- or
Post-Modification
Indirect with Pre- or
Post-Modification
Direct
Indirect
Indirect with Pre- or
Post-Modification
Source Addressing
Mode Using Wn
Advance Information
No Stall ADD.w
No Stall ADD.w
No Stall ADD.w
No Stall ADD.w
No Stall ADD.w
Status
Stall
Stall
Stall
Stall
Stall
Stall
MOV.w
ADD.w
MOV.w
ADD.w
MOV.w
MOV.w
MOV.w
ADD.w
MOV.w
MOV.w
ADD.w
MOV.w
MOV.w
ADD.w
MOV.w
ADD.w
MOV.w
4.3.2
During the instruction pre-decode, the core determines
if any address register dependency is imminent across
an instruction boundary. The stall detection logic com-
pares the W register (if any) used for the destination EA
of the instruction currently being executed, with the W
register to be used by the source EA (if any) of the pre-
fetched instruction. As the W registers are also memory
mapped, the stall detection logic also derives an SFR
address from the W register being used by the destina-
tion EA, and determines whether this address is being
issued during the write phase of the instruction cur-
rently being executed.
When it observes a match between the destination and
source registers, a set of rules are applied to decide
whether or not to stall the instruction by one cycle.
Table 4-2 lists out the various RAW conditions which
cause an instruction execution stall.
[W2++], W3
[W2], W3
W0, W1, [W2] ; W2=0x0004 (mapped W2)
W0, W1, [W2] ; W2=0x0004 (mapped W2)
W0, W1, W2
W2, W3
W0, W1, W2
[W2], W3
W0, W1, W2
[W2++], W3
W0, W1, [W2]
W2, W3
W0, W1, [W2]
[W2], W3
W0, W1, [W2]
[W2++], W3
W0, W1, [W2++]
W2, W3
W0, W1, [W2++]
[W2], W3
W0, W1, [W2++]
[W2++], W3
RAW DEPENDENCY DETECTION
; (i.e., if W2 = addr. of W2)
; (i.e., if W2 = addr. of W2)
(Wn = W2)
Examples
dsPIC30F
DS70082E-page 43
Related parts for DSPIC30F2010-30I/SPG
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![DSPIC30F2010-30I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-30I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-20E/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,DSP,16-BIT,CMOS,SOP,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-20I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-20I/MM](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-30I/MM](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-20I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-30I/SOG](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-20E/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-20E/SOG](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28SOIC
Manufacturer:
Microchip Technology
![DSPIC30F2010-20E/MMG](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28QFN
Manufacturer:
Microchip Technology
![DSPIC30F2010-20E/SPG](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 12K 28DIP
Manufacturer:
Microchip Technology
![DSPIC30F2010-20E/MM](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC,DSP,16-BIT,CMOS,LLCC,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F2010-20ISP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC
Manufacturer:
Microchip Technology
![DSPIC30F2010-20I/MMG](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 16 Bit MCU/DSP 28LD 20M 12KB FL
Manufacturer:
Microchip Technology