Utilities
DSP Software
These
functions are often used in program development. Click on "asm code"#
or "C code" of the desired function to view a data sheet (#
shorthand for TMS320C5000 DSP assembler code). Some further building block
routines are listed after the table.
Function |
Code
type
(click for data sheet) |
Processor
MIPS1 |
Processor
Data Mem (words) |
Processor
Prog Mem1 |
Features |
Sample
rate (kHz) |
FFT
time to frequency |
asm
code |
87972
cycles |
768 |
0.29kwords |
Programmable
span |
Any |
C
code |
247752
cycles |
768 |
1.0kbytes |
Gaussian
Noise Generator |
asm
code |
0.45 |
2xN |
0.15kwords |
6x
sigma excursion
|
Any |
C
code |
0.71 |
2xN |
0.4kbytes |
TI
C5000 DSP Code Converter |
asm
code |
- |
- |
- |
'C2x/'C2xx/'C5x
-> 'C54x
|
- |
1
with asm code, MIPS and ProgMem (in 16-bit words) values are from
TMS320C54x DSP assembling
1
with C code, MIPS and ProgMem (in 8-bit bytes) values are from TMS320C55x
DSP compiling
1
MIPS at 8.0kHz sample rate
2
for 256-point FFT with real-only samples & pre-stored twiddle factors
- "MIPS" figures are actually cycles
Other
routines available in C5000 assembler or in C include:
- Call
progress & AT command routines
- phase-to-cos,sin
conversion
- 8.0kHz<->9.6kHz
sample rate conversion
- dBs<->linear
conversion
- x,y
to magnitude
- square-root
(32bits -> 16bits)
- IIR
biquad
- random
number generation
- PCM
A-/µ-law encode/decode
- RMS
measurement
- frequency
measurement
- dBs-to-linear
and linear-to-dBs conversion
Please
enquire if interested.
|