Motorola DSP56301 User Manual
Page 135
DSP-Side Operating Modes
Host Interface (HI32)
6
-17
never changed. Therefore the upper 16 bits of the base address are written to every register
location, in this example.
Example 6-3. Self-Configuration Procedure for PCI Mode
Example 6-4. Self-Configuration Procedure for Universal Bus Mode
M_DCTR equ DCTR_ADDR ; HI32 via programmed address :$5
M_DPMC equ DPMC_ADDR ; HI32 via programmed address :$6
M_DPAR equ DPAR_ADDR ; HI32 via programmed address :$8
movep #$500000,x:M_DCTR ; enter self configuration mode
movep #BASE_ADDRESS,x:M_DPMC ; CBMA Data (location $10)
movep #CCMR_DATA,x:M_DPAR ; write CSTR & CCMR (location $04)
movep #$0,x:M_DPAR ; dummy write to location $08
movep #CLAT_DATA,x:M_DPAR ; write CLAT (location $0C)
movep #$0,x:M_DPAR ; write CBMA (location $10)
movep #>$012345,x:M_DPMC ; set SIDR value to $2345
movep #>$6789ab,x:M_DPAR ; set SVID value to $89ab and write
;
M_DCTR equ DCTR_ADDR ; HI32 via programmed address :$5
M_DPMC equ DPMC_ADDR ; HI32 via programmed address :$6
M_DPAR equ DPAR_ADDR ; HI32 via programmed address :$8
movep #$500000,x:M_DCTR ; enter self configuration mode
movep #BASE_ADDRESS,x:M_DPMC ; CBMA Data (location $10)
movep #$0,x:M_DPAR ; dummy write to location $04
movep #$0,x:M_DPAR ; dummy write to location $08
movep #HIRQ__DURATION,x:M_DPAR ; write CLAT (location $0C)
movep #$0,x:M_DPAR ; write CBMA (location $10)