Académique Documents
Professionnel Documents
Culture Documents
What is DSP ?
Digital Signal Processing (DSP) is used in a wide variety of
applications, and it is hard to find a good definition that is
general.
TMS320C25 DSP
DSP Algorithm
Example : Digital Filters (e.g. Digital FIR Filters ,...)
TMS320C25 DSP
TMS320C25 DSP
TMS320C25 DSP
TMS320C25 DSP
TMS320C1x,
TMS320C1x,
TMS320C2x,
TMS320C2x,
TMS320C3x,
TMS320C3x,
TMS320C4x,
TMS320C4x,
and
and
TMS320C5x
TMS320C5x
TMS320C25 DSP
Architectural overview
Harvard architecture
On-chip memory
ALU
Multiplier
Memory interface
Serial ports
Multiprocessing applications
Direct Memory Access
TMS320C25 DSP
TMS320C25 DSP
Memory Organization
Total of 544 16-bit words of
on-chip data RAM,
Program
Programand
andData
DataMemory
Memory
memory.
memory.This
This
ROM
is
ROM is
enabled
enabledwhen
when
MP/MC
is
MP/MC isset
set
to
a
logic
low.
to a logic low.
TMS320C25 DSP
ARAU is useful
for address
manipulation
it may also serve
as an additional
general-purpose
arithmetic unit
TMS320C25 DSP
When
Whenan
animmediate
immediateoperand
operandisisused,
used,ititisiscontained
contained
either
within
the
instruction
word
itself
or
in
either within the instruction word itself or inthe
theword
word
following
the
instruction
opcode
.
following the instruction opcode .
In
Inthe
theindirect
indirect
addressing
addressingmode,
mode,
the
currently
the currently
selected
selected16-bit
16-bit
auxiliary
auxiliaryregister
register
AR(ARP)
AR(ARP)
addresses
addressesthe
thedata
data
memory
through
memory through
the
theauxiliary
auxiliary
register
registerfile
file
bus(AFB).
bus(AFB).
TMS320C25 DSP
CALU
A typical ALU instruction:
Scaling Shifter
1) Data is fetched from the RAM on the data bus,
2) Data is passed through the scaling shifter and the ALU
ALU and accumulator
3) The result is moved into the accumulator.
Multiplier;T and P registers
TMS320C25 DSP
System Control
16-bit program counter
(PC)
hardware stack of
eight locations
TMS320C25 DSP
TMS320C25 DSP
TMS320C25 DSP
Interrupts
three external maskable user interrupts (INT2INT0),
Internal interrupts are generated by the serial port (RINT and XINT), by
the timer (TINT), and by the software interrupt (TRAP) instruction.
TMS320C25 DSP
Serial Ports
IfIfthe
theserial
serialport
port
isisnot
notbeing
being
used,
used,the
theDXR
DXR
and
DRR
and DRR
registers
registerscan
canbe
be
used
used
as
asgeneralgeneralpurpose
purpose
registers.
registers.
TMS320C25 DSP