I/O Ports - Renesas M3A-HS64 User Manual

Renesas 32-bit risc microcomputer superhtm risc engine family/sh7260 series
Table of Contents

Advertisement

4

4.12 I/O Ports

SH7264 I/O ports are connected to switches and LEDs on the M3A-HS64G02.
To use ports PH3 to PH0 as key input switches (4 switches x 4 inputs) via an A/D converter (ADC), sets the ports as analog input
pins (AN3 to AN0). Port A can be used as a user interface by setting PB22 pin to high output. The figure below shows the I/O
ports block diagram. Table 4.12.1 lists the jumper setting (JP14 on the M3A-HS64). Table 4.12.2 lists the port A function
switching.
Expansion connector
AVcc
4.7 K
AN0
14 K
4.7 K
1.58 K
0
AVcc
4.7 K
AN1
14 K
4.7 K
1.58 K
0
AVcc
4.7 K
AN2
14 K
4.7 K
1.58 K
0
AVcc
4.7 K
AN3
14 K
4.7 K
1.58 K
0
Number
Uses PH[0:3] as an input port (default)
JP14
Note 1: When using the PH [0:3] as the input port, mount R10 to R13.
Number
Uses Port A as a user interface
PB22
Rev. 1.00 Apr 30, 2009
REJ11J0034-0100
3.3 V
JP14
SH7264
AVcc
AN0
PH0/AN0
AVcc
AN1
PH1/AN1
AVcc
AN2
PH2/AN2
AVcc
AN3
PH3/AN3
3.3 V x 14.0 KR / (14.0 KR + 4.7 KR) = 2.47 V
3.3 V x 4.70 KR / (4.70 KR + 4.7 KR) = 1.65 V
3.3 V x 1.58 KR / (1.58 KR + 4.7 KR) = 0.83 V
3.3 V x 0.00 KR / (0.00 KR + 4.7 KR) = 0V
Figure 4.12.1 I/O Ports Block Diagram
Table 4.12.1 Jumper Setting (JP14 on the M3A-HS64)
1-2
Table 4.12.2 Port A Function Switching
High output
MUX
S1A
D1
PA0/MD_BOOT1
S1B
S2A
D2
PA1/MD_BOOT0
S2B
S3A
D3
PA2/MD_CLK1
S3B
S4A
D4
PA3/MD_CLK0
S4B
MUX
EN#
IN
PB22/A22
NOR flash memory
Note: Pin names
in red
indicate the function used.
(1)
Uses PH[0:3] as an analog input pin
Mode sampling (At power-up)
M3A-HS64G02 Functions
4.12 I/O Ports
3.3 V
3.3 V
1.5 K
1.5 K
BT1
BT0
3.3 V
User DIP switches
CK1
3.3 V
5
CK0
3.3 V
6
3.3 V
System setting DIP switches
CK1
3.3 V
CK0
1
3.3 V
BT1
3
BT0
2
None (Open)
Low output
(SW6)
(SW5)
4-25

Advertisement

Table of Contents
loading

Table of Contents