![Renesas M16C/62P Group Скачать руководство пользователя страница 81](http://html1.mh-extra.com/html/renesas/m16c-62p-group/m16c-62p-group_hardware-manual_1440174081.webp)
M16C/62P Group (M16C/62P, M16C/62PT)
8. Bus
Rev.2.41
Jan 10, 2006
Page 66 of 390
REJ09B0185-0241
I/O ports : Function as I/O ports or peripheral function I/O pins.
NOTES:
1. To set the PM01 to PM00 bits are set to “01b” and the PM05 to PM04 bits are set to “11b” (multiplexed bus
assigned to the entire CS space), apply “H” to the BYTE pin (external data bus 8 bits wide). While the CNVSS
pin is held “H” (= VCC1), do not rewrite the PM05 to PM04 bits to “11b” after reset. If the PM05 to PM04 bits are
set to “11b” during memory expansion mode, P3_1 to P3_7 and P4_0 to P4_3 become I/O ports, in which case
the accessible area for each CS is 256 bytes.
2. In separate bus mode, these pins serve as the address bus.
3. If the data bus is 8 bits wide, make sure the PM02 bit is set to “0” (RD, BHE, WR).
4. When accessing the area that uses a multiplexed bus, these pins output an indeterminate value during a write.
Table 8.6
Pin Functions for Each Processor Mode
Processor Mode
Memory Expansion Mode or Microprocessor Mode
Memory
Expansion Mode
PM05 to PM04 bits
00b(separate bus) bits
01b(CS2 is for multiplexed bus and
others are for separate bus)
10b(CS1 is for multiplexed bus and
others are for separate bus)
11b (multiplexed
bus for the entire
space)
(1)
Data Bus Width BYTE
Pin
8 bits
“H”
16 bits
“L”
8 bits
“H”
16 bits
“L”
8 bits
“H”
P0_0 to P0_7
D0 to D7
D0 to D7
D0 to D7
(4)
D0 to D7
(4)
I/O ports
P1_0 to P1_7
I/O ports
D8 to D15
I/O ports
D8 to D15
(4)
I/O ports
P2_0
A0
A0
A0/D0
(2)
A0
A0/D0
P2_1 to P2_7
A1 to A7
A1 to A7
A1 to A7
/D1 to D7
(2)
A1 to A7
/D0 to D6
(2)
A1 to A7
/D1 to D7
P3_0
A8
A8
A8
A8/D7
(2)
A8
P3_1 to P3_3
A9 to A11
I/O ports
P3_4 to
P3_7
PM11=0
A12 to A15
I/O ports
PM11=1
I/O ports
P4_0 to
P4_3
PM06=0
A16 to A19
I/O ports
PM06=1
I/O ports
P4_4
CS0=0
I/O ports
CS0=1
CS0
P4_5
CS1=0
I/O ports
CS1=1
CS1
P4_6
CS2=0
I/O ports
CS2=1
CS2
P4_7
CS3=0
I/O ports
CS3=1
CS3
P5_0
PM02=0
WR
PM02=1
−
(3)
WRL
−
(3)
WRL
−
(3)
P5_1
PM02=0
BHE
PM02=1
−
(3)
WRH
−
(3)
WRH
−
(3)
P5_2
RD
P5_3
BCLK
P5_4
HLDA
P5_5
HOLD
P5_6
ALE
P5_7
RDY
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655