M3A-HS64G02 Functions
4.12 I/O Ports
Rev. 1.00 Apr 30, 2009
4-25
REJ11J0034-0100
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.
3.3 V
3.3 V
3.3 V
1.5 K
3.3 V
1.5 K
AVcc
4.7 K
0
1.58 K
4.7 K
SH7264
14 K
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
AVcc
4.7 K
0
1.58 K
4.7 K
14 K
AVcc
4.7 K
0
1.58 K
4.7 K
14 K
AVcc
4.7 K
0
1.58 K
4.7 K
14 K
AN0
AN1
AN2
AN3
AN0
AN1
AN2
AN3
PH0/
AN0
PH3/
AN3
PH2/
AN2
PH1/
AN1
PA0
/MD_BOOT1
PA1
/MD_BOOT0
PA2
/MD_CLK1
PA3
/MD_CLK0
Expansion connector
AVcc
AVcc
AVcc
AVcc
D1
S1A
S1B
D2
S2A
S2B
D3
S3A
S3B
D4
S4A
S4B
MUX
EN#
IN
PB22
/A22
BT1
BT0
CK1
CK0
BT1
BT0
CK1
CK0
3.3 V
3.3 V
3.3 V
User DIP switches
(SW6)
System setting DIP switches
(SW5)
NOR flash memory
3.3 V
5
6
1
3
2
3.3 V
JP14
MUX
Note: Pin names
in red
indicate the function used.
Figure 4.12.1 I/O Ports Block Diagram
Table 4.12.1 Jumper Setting (JP14 on the M3A-HS64)
Number
1-2 None
(Open)
JP14
Uses PH[0:3] as an input port (default)
(1)
Uses PH[0:3] as an analog input pin
Note 1: When using the PH [0:3] as the input port, mount R10 to R13.
Table 4.12.2 Port A Function Switching
Number
High output
Low output
PB22
Uses Port A as a user interface
Mode sampling (At power-up)
Summary of Contents for M3A-HS64
Page 6: ...This page is blank for reasons of layout...
Page 11: ...1 1 Chapter 1Overview Chapter 1 Overview...
Page 39: ...2 1 Chapter 2 M3A HS64 Functions Chapter 2 M3A HS64 Functions...
Page 67: ...3 1 Chapter 3 M3A HS64G01 Functions Chapter 3 M3A HS64G01 Functions...
Page 95: ...4 1 Chapter 4 M3A HS64G02 Functions Chapter 4 M3A HS64G02 Functions...
Page 125: ...5 1 Chapter 5M3A HS64 Operating Specifications Chapter 5 M3A HS64 Operating Specifications...
Page 207: ...A 1 Appendix Schematics...
Page 208: ...A 2 This page intentionally left blank...
Page 236: ...This page intentionally left blank...
Page 238: ...SH7264 CPU Board M3A HS64 User s Manual REJ11J0034 0100...