DSP56300 Motorola Inc, DSP56300 Datasheet - Page 18

no-image

DSP56300

Manufacturer Part Number
DSP56300
Description
DSP56301 Digital Signal Processor
Manufacturer
Motorola Inc
Datasheet
Errata
Number
ED40
DSP56301 Errata
 1996-2002, Motorola
Document Update
Description (added 11/11/99):
When an instruction with all the following conditions follows a
repeat instruction, then the last move will be corrupted.:
1. The repeated instruction is from external memory.
2. The repeated instruction is a DALU instruction that includes 2
DAL registers, one as a source, and one as destination (e.g. tfr, add).
3. The repeated instruction has a double move in parallel to the
DALU instruction: one move’s source is the destination of the
DALU instruction (causing a DALU interlock); the other move’s
destination is the source of the DALU instruction.
Example:
In this example, the second iteration before the last, the "x(r0)+,x0"
doesn’t happen. On the first iteration before the last, the X0 register
is fixed with the "x(r0)+,x0", but the "tfr x0,a" gets the wrong value
from the previous iteration’s X0. Thus, at the last iteration the A
register is fixed with "tfr x0,a", but the "a,y0" transfers the wrong
value from the previous iteration’s A register to Y0.
Workaround:
1. Use the DO instruction instead; mask any necessary interrupts
before the DO.
2. Run the REP instructions from internal memory.
3. Don’t make DALU interlocks in the repeated instruction. After
the repeat make the move. In the example above, all the "move
a,y0" are redundant so it can be done in the next instruction:
rep #number
tfr x0,a
move a,y0
If no interrupts before the move is a must, mask the interrupts
before the REP.
Pertains to: DSP56300 Family Manual, Rev. 2, Section A.3,
“Instruction Sequence Restrictions.”
tfr x0,a x(r0)+,x0 a,y0 ; This instruction is from external memory
Freescale Semiconductor, Inc.
rep #number
|__|_________|------|----------> This is condition 3 second part.
DSP56301 Digital Signal Processor
|_____________|----------> This is condition 3, first part - DALU interlock
For More Information On This Product,
301CE2K30A_0_8
Go to: www.freescale.com
x(r0)+,x0
Mask:2K30A
Chip Errata
ng 12/19/02 pg. 18
Applies
to Mask
2K30A

Related parts for DSP56300