Freescale Semiconductor DSP56374 User Manual page 178

24-bit digital signal
Table of Contents

Advertisement

Using The Serial EEPROM Boot Mode
brclr
#15,x:HCSR,*
movep
#$0,x:HTX
brclr
#19,x:HCSR,*
movep
x:HRX,a1
brclr
#15,x:HCSR,*
movep
#$0,x:HTX
brclr
#19,x:HCSR,*
movep
x:HRX,a1
brclr
#15,x:HCSR,*
movep
#$0,x:HTX
jsr
GetWordSPI
move
a1,r0
jsr
GetWordSPI
move
a1,r1
jsr
GetWordSPI
move
a1,r2
jsr
GetWordSPI
move
a1,y0
jsr
GetWordSPI
move
a1,x1
jsr
GetWordSPI
move
a1,y1
;*** Get Data of P Memory ***
do
y0,_endofP
jsr
GetWordSPI
move
a1,p:(r0)+
nop
nop
nop
_endofP
;*** Get Data of X Memory ***
do
x1,_endofX
jsr
GetWordSPI
move
a1,x:(r1)+
nop
nop
nop
_endofX
;*** Get Data of Y Memory ***
do
y1,_endofY
jsr
GetWordSPI
move
a1,y:(r2)+
nop
nop
nop
_endofY
jsr
GetWordSPI
move
a1,r0
jmp
r0
GLOBAL
GetWordSPI
GetWordSPI:
brclr
#19,x:HCSR,*
move
x:HRX,a1
A-8
; 0
; LSB: 0
; 0: Start Address of P Memory
; 1: Start Address of X Memory
; 2: Start Address of Y Memory
; 3: P Data length
; 4: X Data length
; 5: Y Data length
DSP56374 Users Guide, Rev. 1.2
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents