Including Read/Write Memory Access - Motorola DSP56305 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

13.9.3
Channel Equalization with DMA, including Read/Write
Memory Access
;#############################################################################
;
;
VCOP Equalization Test including examples of Memory Access
;
This test activates the DMA for data input and output
;
;
Revised: June '96
;
;#############################################################################
START
equ
$100
include "ioequz.asm"
include "intequz.asm"
org
P:0
jmp
START
org
P:START
move #$150,r2
move #$1a0,r3
move #$1e0,r4
move #$200,r5
movep #$0063,y:M_VCRB
movep #$0003,y:M_VCRA
;************************************
; Memory access to initialize the VP memory
;************************************
movep #$0000,y:M_VBER
rep #8
movep x:(r3)+,y:M_VMEM
;************************************
; Memory access to initialize the SP memory (not necessary)
;************************************
movep #$0040,y:M_VBER
rep #7
movep x:(r4)+,y:M_VMEM
;************************************
; Example of memory access to read the VP memory in VCOP (not necessary)
;************************************
MOTOROLA
; pointer to input data (from MF output)
; pointer to VP parameters
; pointer to SP parameters
; pointer to output data
; enable Init_State (IS) and
; hard data format in output buffer
; enable Memory Access
; VP memory address
; Load VP
; SP memory address
; Load SP
DSP56305 User's Manual
VITERBI CO-PROCESSOR
Programming Examples
End_state (ES)
13-45

Advertisement

Table of Contents
loading

Table of Contents