Professional Documents
Culture Documents
2012EEE2188 DSP Experiment 3
2012EEE2188 DSP Experiment 3
The Pseudo-Noise sequence is mostly used to generate White Noise. The block diagram for the same is given below:
Where,
is coefficient.
CCS Code to generate Pseudo-Noise is: .mmregs .def x,y .int 0016h .int 0025h .text .def start BCLR C54CM ;BSET BRAF BCLR AR4LC BCLR AR6LC BCLR SXM AMOV #x,XAR0 AMOV #y,XAR1 MOV *AR0,AC0 MOV *AR1,AC1 mov #0000h,ac3 ;MOV *AR1>>#(-1),AC1 SFTL AC1,#-1,AC1 ;ROR TC2,AC1,TC2,AC1 MOV #15,BRC0 RPTB LOOP BCNT AC0,AC1,TC2,T1 ROL CARRY,AC3,TC2,AC3
x y start
LOOP