![Renesas M16C/62P Group Hardware Manual Download Page 83](http://html1.mh-extra.com/html/renesas/m16c-62p-group/m16c-62p-group_hardware-manual_1440174083.webp)
M16C/62P Group (M16C/62P, M16C/62PT)
8. Bus
Rev.2.41
Jan 10, 2006
Page 68 of 390
REJ09B0185-0241
8.2.10
Software Wait
Software wait states can be inserted by using the PM17 bit in the PM1 register, the CS0W to CS3W bits in the
CSR register, and the CSE register. The SFR area is unaffected by these control bits. This area is always
accessed in 2 BCLK or 3 BCLK cycles as determined by the PM20 bit in the PM2 register. See
Table 8.8 Bit
and Bus Cycle Related to Software Wait
for details.
To use the RDY signal, set the corresponding CS3W to CS0W bit to “0” (with wait state). Figure 8.6 shows the
CSE Register. Table 8.8 shows the Bit and Bus Cycle Related to Software Wait. Figure 8.7 and 8.8 show the
Typical Bus Timings Using Software Wait.
Figure 8.6
CSE Register
Chip Select Expansion Control Register
Address
After Reset
001Bh
00h
Bit Symbol
Function
RW
NOTES :
1.
b3 b2
0 0 : 1 w ait
0 1 : 2 w aits
1 0 : 3 w aits
1 1 : Do not set
b7 b6
0 0 : 1 w ait
0 1 : 2 w aits
1 0 : 3 w aits
1 1 : Do not set
CS2
_____
Wait Expansion Bit
(1)
CS1
_____
Wait Expansion Bit
(1)
RW
RW
RW
RW
RW
RW
Bit Name
CSE
RW
CSE00W
CS0
_____
Wait Expansion Bit
(1)
b1 b0
0 0 : 1 w ait
0 1 : 2 w aits
1 0 : 3 w aits
1 1 : Do not set
RW
Symbol
b3 b2 b1 b0
b7 b6 b5 b4
CSE01W
CSE10W
CSE11W
CSE20W
Set the CSiW bit (i = 0 to 3) in the CSR register to “0” (w ith w ait state) before w riting to the CSEi1W to CSEi0W bits.
If the CSiW bit needs to be set to “1” (w ithout w ait state), set the CSEi1W to CSEi0W bits to “00b” before setting it.
CSE31W
CS3
_____
Wait Expansion Bit
(1)
CSE30W
CSE21W
b5 b4
0 0 : 1 w ait
0 1 : 2 w aits
1 0 : 3 w aits
1 1 : Do not set
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655