dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 424

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
B.1.13
The following two sine-wave generation benchmarks are provided:
B.1.13.1
Figure B-11 gives a graphical overview of the double integration technique.
B-28
EndDO1_13_1:
;
;
a = Stored initial value which is the
desired tone amplitude
opt
CLR
MOVE
MOVE
MOVE
MOVE
MOVE
DO
MAC
MAC
MOVE
Double integration technique
Second order oscillator
Double Integration Technique
Sine-Wave Generation
cc
B
#$4000,A
#0,N
#$4532,Y1
#$1,R1
Y1,Y0
X0,EndDO1_13_1
Y1,B1,A
-Y0,A1,B
Figure B-11. Sine Wave Generator — Double Integration Technique
T
a
B,X:(R1)+N
B,X:(R1)
DSP56800 Family Manual
y1 = 2*sin(πFs/F0)
F0 = Oscillation Frequency
Fs = Sampling Frequency
Total: 13
x0
; 1
; 2
; 1
; 2
; 1
; 1
; 2
; 1
; 1
; 1
_________
1
2
1
2
1
1
3
1
1
1
2N+12
integration initial value
initial value, tone amplitude
set for no post-increment
2*sin(pi*Fs/Fo)
arbitrary location for store
copy for 2nd integ component
repeat x0 times
accumulate 1st integration
2nd integration
final value stored
sin(w
T
0
t)
Freescale Semiconductor
AA0089

Related parts for dsp56800