CONNECTION WITH EXTERNAL DEVICES
7902 Group User’s Manual
3-30
3.2.3 Setting method
Figure 3.2.16 shows an initial setting example of registers related to CSWC.
Fig. 3.2.16 Initial setting example of registers related to CSWC
b7
b0
CS0 control register L (Address 8016)
Area CS0 bus cycle select bit 0
See Table 3.2.2.
RDY control bit (Note 1)
0 : RDY control is valid.
1 : RDY control is invalid.
Recovery cycle insert select bit
0 : No recovery cycle is inserted.
1 : Recovery cycles are inserted.
CS0 output select bit
0 : CS0 output is disabled.
1 : CS0 output is enabled.
b7
b0
CS1 control register L (Address 8216)
CS2 control register L (Address 8416)
CS3 control register L (Address 8616)
Area CSj bus cycle select bit 0 (j = 1 to 3)
See Table 3.2.2.
Notes 1: Valid when the RDY input
select bit (bit 2 at address
5F16) = “1.”
2: Normal access is selected
when the external data bus
width = 8 bits, regardless of
this bit’s contents.
3: Fixed to “1” (8-bit width) while
VCC-level voltage is applied to
pin BYTE.
Burst ROM access select bit (Note 2)
0 : Normal access
1 : Burst ROM access
RDY control bit (Note 1)
0 : RDY control is valid.
1 : RDY control is invalid.
External data bus width select bit (Note 3)
0 : 16-bit width
1 : 8-bit width
Recovery cycle insert select bit
0 : No recovery cycle is inserted.
1 : Recovery cycles are inserted.
CSj output select bit
0 : CSj output is disabled.
1 : CSj output is enabled.
Burst ROM access select bit (Note 2)
0 : Normal access
1 : Burst ROM access
b7
b0
CS0 control register H (Address 8116)
b2 b1 b0
Setting of block size
b7
b0
CS1 control register H (Address 8316)
Area CS1 block size select bits
(mode 0)
0 0 1 : 128 Kbytes
0 1 0 : 256 Kbytes
0 1 1 : 512 Kbytes
1 0 0 : 1 Mbytes
1 0 1 : 2 Mbytes
1 1 0 : 4 Mbytes
1 1 1 : 8 Mbytes
b2 b1 b0
(mode 1)
1 0 0 : 4 Mbytes
1 0 1 : 8 Mbytes
b2 b1 b0
b7
b0
CS3 control register H (Address 8716)
Area CS3 block size select bits
0 0 1 : 128 Kbytes
0 1 0 : 256 Kbytes
0 1 1 : 512 Kbytes
1 0 0 : 1 Mbytes
1 0 1 : 2 Mbytes
1 1 0 : 4 Mbytes
1 1 1 : 8 Mbytes
b2 b1 b0
CSWC operation is started
Area CSj setting mode select bit
0 : Mode 0
1 : Mode 1
b7
b0
Area CS0 start address register (Address 8A16)
Setting of start address
b7
b0
Area CS1 start address register (Address 8C16)
Area CS2 start address register (Address 8E16)
See Figures 3.2.10 and 3.2.12.
b7
b0
Area CS3 start address register (Address 9016)
See Figure 3.2.10.
See Figures 3.2.10 and 3.2.11.
Area CS0 block size select bits
0 0 1 : 128 Kbytes
0 1 0 : 256 Kbytes
0 1 1 : 512 Kbytes
1 0 0 : 1 Mbytes
1 0 1 : 2 Mbytes
1 1 0 : 4 Mbytes
1 1 1 : 8 Mbytes
Area CS0 setting mode select bit
0 : Mode 0
1 : Mode 1
b7
b0
CS2 control register H (Address 8516)
Area CS2 block size select bits
(mode 0)
0 0 1 : 128 Kbytes
0 1 0 : 256 Kbytes
0 1 1 : 512 Kbytes
1 0 0 : 1 Mbytes
1 0 1 : 2 Mbytes
1 1 0 : 4 Mbytes
1 1 1 : 8 Mbytes
b2 b1 b0
(mode 1)
1 0 0 : 4 Mbytes
1 0 1 : 8 Mbytes
b2 b1 b0
Area CS2 setting mode select bit
0 : Mode 0
1 : Mode 1
Multiplexed bus select bit
0 : Separate bus
1 : Multiplexed bus
b7
b0
CS0 control register H (Address 8116)
Area CS0 bus cycle select bit 1
See Table 3.2.2.
b7
b0
CS1 control register H (Address 8316)
Area CS1 bus cycle select bit 1
See Table 3.2.2.
b7
b0
CS2 control register H (Address 8516)
Area CS2 bus cycle select bit 1
See Table 3.2.2.
b7
b0
CS3 control register H (Address 8716)
Area CS3 bus cycle select bit 1
See Table 3.2.2.
0
3.2 Chip select wait controller