M16C/62P Group (M16C/62P, M16C/62PT)
8. Bus
Rev.2.41
Jan 10, 2006
Page 64 of 390
REJ09B0185-0241
8.2.6
RDY Signal
This signal is provided for accessing external devices which need to be accessed at low speed. If input on the
RDY pin is asserted low at the last falling edge of BCLK of the bus cycle, one wait state is inserted in the bus
cycle. While in a wait state, the following signals retain the state in which they were when the RDY signal was
acknowledged.
A0 to A19, D0 to D15, CS0 to CS3, RD, WRL, WRH, WR, BHE, ALE, HLDA
Then, when the input on the RDY pin is detected high at the falling edge of BCLK, the remaining bus cycle is
executed. Figure 8.4 shows Example in which the Wait State was Inserted into Read Cycle by RDY Signal. To
use the RDY signal, set the corresponding bit (CS3W to CS0W bits) in the CSR register to “0” (with wait state).
When not using the RDY signal, the RDY pin must be pulled-up.
Figure 8.4
Example in which Wait State was Inserted into Read Cycle by RDY Signal
BCLK
RD
CSi
(i=0 to 3)
RDY
tsu(RDY - BCLK)
BCLK
RD
CSi
(i=0 to 3)
RDY
tsu(RDY - BCLK)
In an instance of separate bus
In an instance of multiplexed bus
: Wait using RDY signal
: Wait using software
Shown above is the case where CSEi1W to CSEi0W (i = 0 to 3) bits in the CSE register are “ 00b” (one wait state).
Accept timing of RDY signal
Accept timing of RDY signal
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655