MCF548x Reference Manual, Rev. 3
17-10 Freescale Semiconductor

17.5.2.3 Chip-Select Control Registers (CSCR0–CSCR5)

Each CSCRn, Figure 17-5, controls the auto acknowledge, address setup and hold times, port size, burst

capability, and activation of each chip-select. Note that to support the global chip-select, FBCS0, the

CSCR0 reset values differ from the other CSCRs. FBCS0 allows address decoding for boot ROM before

system initialization.

Table 17-9 describes CSCRn fields.

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
RSWS 00SWS
EN
— ASET RDAH WRAH
W
Reset: CSCR0000000000011 1 111
Reset: CSCRs000000000000 0 000
151413121110987654 3 210
RWS 0AA PS BEM BSTR BSTW000
W
Reset: CSCR01111110AD2AD[1:0]AD30 0 000
Reset: CSCRs000000000000 0 000
Reg
Addr
MBAR + 0x508 (CSCR0); 0x514 (CSCR1); 0x520 (CSCR2);
0x52C (CSCR3); 0x538 (CSCR4); 0x544 (CSCR5)

Figure 17-5. Chip-Select Control Registers (CSCRn)

Table 17-9. CSCRn Field Descriptions

Bits Name Description
31–26 SWS Secondary wait states. The number of wait states inserted before an internal transfer acknowledge
is generated for burst transfer except for the first termination, which is controlled by the wait state
count. The secondary wait state is only used if the secondary wait state enable is set, otherwise the
wait state value is used for all burst transfers.
25–24 Reserved, should be cleared
23 SWSEN Secondary wait state enable. If set (SWSEN = 1), then the secondary wait state value is used to
insert wait states before an internal transfer acknowledge is generated for burst transfer secondary
terminations. If cleared (SWSEN = 0), then the wait state value is used to insert wait states before
an internal transfer acknowledge is generated for all transfers.
22 Reserved, should be cleared
21–20 ASET Address setup. This field controls the asserting of chip-select with respect to assertion of a valid
address and attributes. Note that the address and attributes are considered valid at the same time
ALE asserts.
00 Assert chip-select on rising clock edge after address is asserted. (Default FBCSn)
01 Assert chip-select on second rising clock edge after address is asserted.
10 Assert chip-select on third rising clock edge after address is asserted.
11 Assert chip-select on fourth rising clock edge after address is asserted.(Reset FBCS0)