Datasheet

10-10 MCF5307 User’s Manual
Chip-Select Registers
move.w D0,CSAR2
move.w #0x0538,D0 ;CSCR2 = 1 wait state, AA=1, PS=32-bit, BEM=1,
move.w D0,CSCR2 ;BSTR=1, BSTW=1
move.l #0x001F0001,D0 ;Address range from 0x00200000 to 0x003FFFFF
move.l D0,CSMR2 ;WP,EM,C/I,SC,SD,UC,UD=0; V=1
; Program Chip Select 1 Registers
move.w #0x0000,D0 ;CSAR1 base addresses 0x00000000 (to 0x001FFFFF)
move.w D0,CSAR1 ;and 0x80000000 (to 0x801FFFFF)
move.w #0x09B0,D0 ;CSCR1 = 2 wait states, AA=1, PS=16-bit, BEM=1,
move.w D0,CSCR1 ;BSTR=1, BSTW=0
move.l #0x801F0001,D0 ;Address range from 0x00000000 to 0x001FFFFF and
move.l D0,CSMR1 ;0x80000000 to 0x801FFFFF
;WP, EM, C/I, SC, SD, UC, UD=0, V=1
; Program Chip Select 0 Registers
move.w #0x0080,D0 ;CSAR0 base address 0x00800000 (to 0x009FFFFF)
move.w D0,CSAR0
move.w #0x0D80,D0 ;CSCR0 = three wait states, AA=1, PS=16-bit, BEM=0,
move.w D0,CSCR0 ;BSTR=0, BSTW=0
; Program Chip Select 0 Mask Register (validate chip selects)
move.l #0x001F0001,D0 ;Address range from 0x00800000 to 0x009FFFFF
move.l D0,CSMR0 ;WP,EM,C/I,SC,SD,UC,UD=0; V=1
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...