133
Chapter 4
Bus Control Function
Preliminary User’s Manual U15839EE1V0UM00
4.8.2 External wait function
When an extremely slow device, I/O, or asynchronous system is connected, any number of wait states
can be inserted in a bus cycle by the external wait pin (WAIT) to synchronize with the external device.
Just as with programmable waits, access to internal ROM, internal RAM, and internal peripheral I/O
areas cannot be controlled by external waits.
Input of the external WAIT signal can be done asynchronously to the system clock and is sampled at
the rising edge of the clock in the T1 and TW states of a bus cycle. If the setup/hold time at sampling
timing is not satisfied, the wait state may or may not be inserted in the next state.
4.8.3 Relationship between programmable wait and external wait
A wait cycle is inserted as the result of an OR operation between the wait cycle specified by the set
value of the programmable wait and the wait cycle controlled by the WAIT pin. In other words, the
number of wait cycles is determined by the side with the greatest number of cycles.
For example, if the programmable wait and the timing of the WAIT pin signal are as illustrated below,
three wait states will be inserted in the bus cycle.
Figure 4-7:
Example of Wait Insertion
Remark:
The circle
❍
indicates the sampling timing.
Wait control
Programmable wait
Wait by WAIT pin
T1
TW
TW
TW
T2
CLKOUT
WAIT pin
Wait by WAIT pin
Programmable wait
Wait control
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......