External Wait Function; Relations Between Programmable Wait And External Wait - NEC V854 UPD703006 User Manual

32/16-bit single-chip microcontroller hardware
Table of Contents

Advertisement

4.5.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 sampling the external wait pin (WAIT) to synchronize with the external device.
The external WAIT signal does not affect the access times of the internal ROM, internal RAM, and peripheral I/
O areas. Input of the external WAIT signal can be done asynchronously to CLKOUT and is sampled at the falling
edge of the clock in the T2 and TW states of a bus cycle. If the set up and hold time of the WAIT input are not satisfied,
the wait state may or may not be inserted in the next state.

4.5.3 Relations between programmable wait and external wait

A wait cycle is inserted as a result of an OR operation between the wait cycle specified by the set value of
programmable wait and the wait cycle controlled by the WAIT pin. In other words, the number of wait cycles is
determined by the programmable wait value or the length of evaluation at the WAIT input pin.
Programmable wait
Wait by WAIT pin
For example, if the number of programmable wait states is 2 and the timing of the WAIT pin input signal is as
illustrated below, three wait states will be inserted in the bus cycle.
CLKOUT
WAIT pin
Wait by WAIT pin
Programmable wait
Wait control
Remark
: valid sampling timing
CHAPTER 4 BUS CONTROL FUNCTION
Figure 4-1. Example of Inserting Wait States
T1
T2
TW
User's Manual U11969EJ3V0UM00
Wait control
TW
TW
T3
87

Advertisement

Table of Contents
loading

Table of Contents