English
Language : 

HD64F2149 Datasheet, PDF (188/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
6.4.5 Wait Control
When accessing external space, the MCU can extend the bus cycle by inserting one or more wait
states (TW). There are three ways of inserting wait states: program wait insertion, pin wait insertion
using the WAIT pin, and a combination of the two.
Program Wait Mode
In program wait mode, the number of TW states specified by bits WC1 and WC0 are always
inserted between the T2 and T3 states when external space is accessed.
Pin Wait Mode
In pin wait mode, the number of TW states specified by bits WC1 and WC0 are always inserted
between the T2 and T3 states when external space is accessed. If the WAIT pin is low at the fall of
ø in the last T2 or TW state, another TW state is inserted. If the WAIT pin is held low, TW states are
inserted until it goes high.
Pin wait mode is useful for inserting four or more wait states, or for changing the number of TW
states for different external devices.
Pin Auto-Wait Mode
In pin auto-wait mode, if the WAIT pin is low at the fall of ø in the T2 state, the number of TW
states specified by bits WC1 and WC0 are inserted when external space is accessed. No additional
TW states are inserted even if the WAIT pin remains low. Pin auto-wait mode can be used for an
easy interface to low-speed memory, simply by routing the chip select signal to the WAIT pin.
Figure 6.13 shows an example of wait state insertion timing.
154