DSP56309EVM Freescale Semiconductor, DSP56309EVM Datasheet - Page 231

KIT EVALUATION FOR XC56309

DSP56309EVM

Manufacturer Part Number
DSP56309EVM
Description
KIT EVALUATION FOR XC56309
Manufacturer
Freescale Semiconductor
Type
DSPr
Datasheets

Specifications of DSP56309EVM

Contents
Module Board, Installation Guide, Power Supply, Cable, Software and more
Description/function
Audio DSPs
Product
Audio Modules
For Use With/related Products
DSP56309
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
;;
;;---------------------------------------------------------
Freescale Semiconductor
if
else
endif
if
;; get PATTERN pointer
clr b
move
;; configure SCK0 as gpio output. PRRC register is cleared at reset.
movep
bset
do #9,burn1
;;----------------------------
;; test RAM
;;
;;----------------------------
move
move
move
;; write pattern to all memory locations
(EQUALDATA)
;; write x and y memory
clr a
move
rep
mac x0,x1,a x,l:(r0)+
;; write x memory
clr a
move
rep
mac x0,y0,a x1,x:(r0)+
;; write y memory
clr a
move
rep
mac x1,y0,a x0,y:(r1)+
;; write p memory
clr a
move
rep
move
;; check memory contents
(EQUALDATA)
;; check dram
each pass checks 1 pattern
#PATTERNS,r6
#<(NUM_PATTERNS-1),m6
b,x:M_PDRC
#SCK0,x:M_PRRC
p:(r6)+,x1
p:(r6)+,x0
p:(r6)+,y0
#start_dram,r0
#>length_dram,n0
n0
#start_xram,r0
#>length_xram,n0
n0
#start_yram,r1
#>length_yram,n1
n1
#start_pram,r2
#>length_pram,n2
n2
y0,p:(r2)+
DSP56309 User’s Manual, Rev. 1
;; b is the error accumulator
;; program runs forever in
;; cyclic form
;; clear GPIO data register
;; Define SCK0 as output GPIO pin
;; SCK0 toggles means test pass
;; pattern for x memory
;; pattern for y memory
;; pattern for p memory
;; x/y ram symmetrical
;; start of x/y ram
;; length of x/y ram
;; exercise mac, write x/y ram
;; x/y ram not symmetrical
;; start of xram
;; length of xram
;; exercise mac, write xram
;; start of yram
;; length of yram
;; exercise mac, write yram
;; start of pram
;; length of pram
;; write pram
;; x/y ram symmetrical
Bootstrap Code
A-9

Related parts for DSP56309EVM