CHAPTER 4 BUS CONTROL FUNCTION
124
User’s Manual U14492EJ3V0UD
4.6
Wait Function
4.6.1 Programmable wait function
(1) Data wait control registers 0, 1 (DWC0, DWC1)
To facilitate interfacing with low-speed memory or with I/Os, it is possible to insert up to 7 data wait states in
the starting bus cycle for each CS space.
The number of wait states can be specified by program using data wait control registers 0 and 1 (DWC0,
DWC1). Just after system reset, all blocks have 3 data wait states inserted.
These registers can be read/written in 16-bit units.
Cautions 1. The internal ROM area and internal RAM area are not subject to programmable waits
and ordinarily no wait access is carried out. The on-chip peripheral I/O area is also
not subject to programmable wait states, with wait control performed by each
peripheral function only.
2. Write to the DWC0 and DWC1 registers after reset, and then do not change the set
values. Also, do not access an external memory area other than the one for this
initialization routine until the initial setting of the DWC0 and DWC1 registers is
complete. However, it is possible to access external memory areas whose initial
settings are complete.
15
DWC0
CSn signal
Address
FFFFF484H
Initial value
3333H
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
DW32 DW31 DW30
0
DW22 DW21 DW20
0
DW12 DW11 DW10
0
DW02 DW01 DW00
0
DW72 DW71 DW70
0
DW62 DW61 DW60
0
DW52 DW51 DW50
0
DW42 DW41 DW40
CS3
CS2
CS1
CS0
CS7
CS6
CS5
CS4
15
DWC1
CSn signal
Address
FFFFF486H
Initial value
3333H
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Bit Position
Bit Name
Function
Specifies the number of wait states inserted in the CSn space.
DWn2
DWn1
DWn0
Number of Wait States Inserted in CSn Space
0
0
0
Not inserted
0
0
1
1
0
1
0
2
0
1
1
3
1
0
0
4
1
0
1
5
1
1
0
6
1
1
1
7
14 to 12,
10 to 8,
6 to 4,
2 to 0
DWn2 to
DWn0
(n = 0 to 7)
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...