B-142
DSP96002 USER’S MANUAL
MOTOROLA
page 132,60,1,1
fs equ 8000.0 ;sampling frequency
f0 equ 320.0 ;center frequency
scale equ 2.0*@cos(2.0*3.14159*f0/fs)
mag equ 1.0*@sin(2.0*3.14159*f0/fs)
output equ $ffff
org p:$100
move #scale,d7.s ;init scale factor
fclr d6 #mag,d5.s ;init magnitudes
do #200,_gen ;generate 200 points
fmpy.s d6,d7,d6 d6.s,d4.s 1 1
fsub.s d5,d6 d4.s,d5.s 1 1
move d5.s,y:output
_gen --- ---
Totals: 2 2
B.1.59
DTMF Generation
Program Icycles
DTMF Generation Words
page 132,60,1,1
fs equ 8000.0 ;sampling frequency
f0 equ 697.0 ;frequency 0
scale0 equ 2.0*@cos(2.0*3.14159*f0/fs)
mag0 equ 1.0*@sin(2.0*3.14159*f0/fs)
f1 equ 1209.0 ;frequency 1
scale1 equ 2.0*@cos(2.0*3.14159*f1/fs)
mag1 equ 1.0*@sin(2.0*3.14159*f1/fs)
output equ $ffff
org p:$100
move #scale0,d7.s ;init scale0 factor
fclr d6 #mag0,d5.s ;init magnitude0
move #scale1,d3.s ;init scale1
fclr d2 #mag1,d1.s ;init magnitude1
do #4096,_gen
fmpy.s d6,d7,d6 d6.s,d4.s 1 1
fsub.s d5,d6 d4.s,d5.s 1 1
fmpy.s d2,d3,d2 d2.s,d0.s 1 1
fsub.s d1,d2 d0.s,d1.s 1 1
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......