English
Language : 

SH7047 Datasheet, PDF (185/764 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTMRISC engine Family/SH7000 Series
9.7 Waits between Access Cycles
When a read from a slow device is completed, data buffers may not go off in time, causing conflict
with the next access data. If there is a data conflict during memory access, the problem can be
solved by inserting a wait in the access cycle.
To enable detection of bus cycle starts, waits can be inserted between access cycles during
continuous accesses of the same CS0 space by negating the CS0 signal once.
9.7.1 Prevention of Data Bus Conflicts
Waits are inserted so that the number of write cycles after read cycle and the number of cycles
specified by IW01 or IW00 bits of BCR can be inserted. When idle cycles already exist between
access cycles, only the number of empty cycles remaining beyond the specified number of idle
cycles are inserted.
9.7.2 Simplification of Bus Cycle Start Detection
For consecutive accesses to the same CS0 space, waits are inserted to provide the number of idle
cycles designated by bit CW0 in BCR2. However, in the case of a write cycle after a read, the
number of idle cycles inserted will be the larger of the two values designated by the IW and CW
bits. When idle cycles already exist between access cycles, waits are not inserted.
Figure 9.7 shows an example. A continuous access idle is specified for CS0 space, and CS0 space
is consecutively write-accessed.
CK
Address
CS0
RD
WRL
Data
T1
T2
Tidle
T1
T2
CS0 space access Idle cycle CS0 space access
Figure 9.7 Example of Idle Cycle Insertion at Same Space Consecutive Access
Rev. 2.00, 09/04, page 145 of 720