Terasic THDB-H2S User manual

Terasic THDB-H2S
THDB-H2S
Terasic HSMC to Santa Cruz Daughter Board
User Manual
Document Version 0.1 AUG. 15, 2007 by Terasic

Introduction
ii
Page Index
INTRODUCTION................................................................................................................................................................................. 1
1-1 FEATURES................................................................................................................................................................................... 1
1-2 GETTING HELP ........................................................................................................................................................................... 2
ARCHITECTURE................................................................................................................................................................................ 3
1-3 LAYOUTAND COMPONETS.......................................................................................................................................................... 3
1-4 BLOCK DIAGRAM ........................................................................................................................................................................ 5
BOARD COMPONENTS................................................................................................................................................................... 6
1-5THE HSMC CONNECTOR........................................................................................................................................................... 6
1-6 LEVEL TRANSLATORS AND CONFIGURATION HEADERS............................................................................................................. 9
1-7 SANTA CRUZ CONNECTOR....................................................................................................................................................... 10
1-8 MICTOR CONNECTOR............................................................................................................................................................... 12
1-9 RS232TRANSCEIVER AND THE 9-PIN CONNECTOR............................................................................................................... 15
1-10 SMACONNECTOR ................................................................................................................................................................. 15
1-11 I2C SERIAL EEPROM........................................................................................................................................................... 16
1-12 POWER SUPPLY ..................................................................................................................................................................... 16
DEMONSTRATION .......................................................................................................................................................................... 17
1-13 CONNECTING THDB-H2S BOARD TO CYCLONE III START BOARD...................................................................................... 17
APPENDIX......................................................................................................................................................................................... 19
1-14 REVISION HISTORY ................................................................................................................................................................ 19
1-15ALWAYS VISIT THDB-H2S WEBPAGE FOR NEW MAIN BOARD ............................................................................................. 19

Introduction
1
Introduction
1
THDB-H2S is an adapter board for converting High Speed Mezzanine Card (HSMC) connector to Santa Cruz
(SC) interface which allows users to use the SC interface boards on a board with a HSMC connector. Also, the
source signals form the HSMC connector to the SC header on the THDB-H2S board pass through level shifters
to adjust the logic level difference between the HSMC and SC interface board.
1-1Features
Figure 1.1 shows the photo of the THDB-H2S board. The important features are listed below:
•HSMC and Santa Cruz interface conversion
•Adjustable logic levels between HSMC and SC interface signals
•One Mictor Connector for logic analyzer debug interface
•One SMA Connector for external clock input
•One DB9 Connector for RS232 serial I/O interface
•Four Push buttons for general user-interface
Figure 1.1. The THDB-H2S board

Introduction
2
1-2Getting Help
Here are some places to get help if you encounter any problem:
9Email to [email protected]
9Taiwan & China: +886-3-550-8800
9Korea : +82-2-512-7661
9Japan: +81-428-77-7000

Architecture
3
Architecture
2
This chapter describes the architecture of the THDB-H2S board including its PCB and block diagram.
1-3Layout and Componets
The picture of the TDRB-H2S board is shown in Figure 2.1 and Figure 2.2. It depicts the layout of the board
and indicates the location of the connectors and key components.
Figure 2.1 The TDRB-H2S PCB and Component diagram

Architecture
4
Figure 2.2 The TDRB-H2S Back side – HSMC connector view
The following components are provided on the THDB-H2S board :
•HSMC expansion connector (J1)
•Santa Cruz Headers(J3,J4,J5)
•Mictor connector (J2)
•SMA connector (J6)
•9-pin connector (J7) and RS232 Transceiver (U9)
•4 Push buttons (BUTTON1~BUTTON4)
•Logic level configuration headers (J8,J9)
•I2C serial EEPROM (U8)
•Level translator (U1~U6)

Architecture
5
1-4Block Diagram
Figure 2.3 shows the block diagram of the THDB-H2S board
HSMC
Connector
HSPROTO_IO
BUS
Mictor Connector Interface
Serial RS232 Interface
General User-Interface
External Clock Input
I2C Interface
PROTO_IO
BUS
THDB-H2S
Santa Cruz
Connector
Mictor
Connector
RS232
Connector
Push
Buttons
SMA
Connector
Level
Translator
I2C Serial
EEPROM
To
HSMC Interface
Host Board
Figure 2.3. The block diagram of the THDB-H2S board

Board Components
6
Board Components
3
This section will describe the detailed information of the components, connector interfaces, and the pin
mapping tables of the THDB-H2S board
1-5The HSMC Connector
This section describes the HSMC connector on the THDB-H2S board
THDB-H2S board contains an Altera standard HSMC connector. All the other connector interfaces on the
THDB-H2S board are connected to the HSMC connector. Figure 3.1, Figure 3.2, and Figure 3.3 show the
pin-outs of the HSMC connector.
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
HSMC_SCL
HSMC_TMS
HSMC_TDI
NC
NC
NC
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
2
4
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
HSMC_SD
A
HSMC_TCK
HSMC_TDO
NC
NC
NC
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
1
3
Figure 3.1 The pin-outs of Bank 1 on the HSMC connector

Board Components
7
HSPROTO_IO0
HSPROTO_IO2
12V
HSPROTO_IO4
HSPROTO_IO6
12V
HSPROTO_IO8
HSPROTO_IO10
12V
HSPROTO_IO12
HSPROTO_IO14
12V
HSPROTO_IO16
HSPROTO_IO18
12V
HSPROTO_IO20
HSPROTO_IO22
12V
HSPROTO_IO24
HSPROTO_IO26
12V
HSPROTO_CARDSEL
HSPROTO_IO40
12V
HSMC_RX_IO30
HSMC_RX_IO32
12V
CLK2
EXT_CLK
12V
42
44
46
48
50
52
54
56
58
60
62
64
66
68
70
72
74
76
78
80
82
84
86
88
90
92
94
96
98
100
HSPROTO_RESE
T
HSPROTO_IO1
VCC33
HSPROTO_IO3
HSPROTO_IO5
VCC33
HSPROTO_IO7
HSPROTO_IO9
VCC33
HSPROTO_IO11
HSPROTO_IO13
VCC33
HSPROTO_IO15
HSPROTO_IO17
VCC33
HSPROTO_IO19
HSPROTO_IO21
VCC33
HSPROTO_IO23
HSPROTO_IO25
VCC33
HSPROTO_IO27
HSPROTO_IO28
VCC33
HSPROTO_IO29
HSPROTO_IO31
VCC33
CLK1
OSC
VCC33
41
43
45
47
49
51
53
55
57
59
61
63
65
67
69
71
73
75
77
79
81
83
85
87
89
91
93
95
97
99
Figure 3.2 The pin-outs of Bank 2 of the HSMC connector.

Board Components
8
HSPROTO_IO34
HSPROTO_IO36
12V
HSPROTO_IO38
BUTTON1
12V
MICTOR_D13
MICTOR_D12
12V
MICTOR_D11
MICTOR_D10
12V
MICTOR_D9
MICTOR_D8
12V
MICTOR_D7
MICTOR_D6
12V
MICTOR_D5
MICTOR_D4
12V
MICTOR_D3
MICTOR_D2
12V
MICTOR_D1
MICTOR_D0
12V
TR_CLK
UART_RXD
GND
102
104
106
108
110
112
114
116
118
120
122
124
126
128
130
132
134
136
138
140
142
144
146
148
150
152
154
156
158
160
HSPROTO_IO33
HSPROTO_IO35
VCC33
HSPROTO_IO37
HSPROTO_IO39
VCC33
BUTTON2
BUTTON3
VCC33
BUTTON4
MICTOR_D24
VCC33
MICTOR_D23
MICTOR_D22
VCC33
MICTOR_D21
MICTOR_D20
VCC33
MICTOR_D19
MICTOR_D18
VCC33
MICTOR_D17
MICTOR_D16
VCC33
MICTOR_D15
MICTOR_D14
VCC33
MICTOR_CLK
UART_TXD
VCC33
101
103
105
107
109
111
113
115
117
119
121
123
125
127
129
131
133
135
137
139
141
143
145
147
149
151
153
155
157
159
Figure 3.3 The pin-outs of Bank 3 of the HSMC connector

Board Components
9
1-6Level Translators and Configuration Headers
This section describes how to use the level translators and configuration headers on the THDB-H2S board
The level translators of the THDB-H2S board convert the signal levels between the HSMC and Santa Cruz
connectors according to the configurations of the headers (J8, J9). Figure 3.4 shows the block diagram of
such function. Table 3.1 and Table 3.2 list the configurations of the HSPROTO_IO BUS and the PROTO_IO
BUS, respectively
The voltage level of the HSPROTO_IO BUS is controlled by VHSMC(VCCA pin); the voltage level of the
PROTO_IO_BUS is controlled by VSC(VCCB pin), as shown in Figure 3.4. Therefore, Shorting Pin 1 and Pin
2 of J8 provides 2.5V to HSPROTO_IO BUS.Alternatively, shorting Pin 2 and Pin 3 of the J8 provides 3.3V to
the HSPROTO_IO BUS. Similarly shorting Pin 1 and Pin 2 of J9 provides 3.3V to the PROTO_IO BUS.
Shorting Pin 2 and Pin 3 provides 5V to the PROTO_IO BUS.
Note:
1. Headers J8 and J9 must be configured with jumpers. If the pin1, pin2, and pin3 are opened at the
same time, the level translator will NOT work.
2. Because of the characteristic of the level translators, the data rate of the HSPROTO_IO and
PROTO_IO bus should be under 50 Mbps.
Figure 3.4 The diagram of the voltage-controlling circuit block

Board Components
10
Table 3.1 The configuration of the logic level on the HSPROTO_IO BUS
Configuration of J8 Logic level of the HSPROTO_IO BUS
Short pins 1 and 2 2.5 volts
Short pins 2 and 3 3.3 volts
Table 3.2 The configuration of the logic level on the PROTO_IO BUS
Configuration of J9 Logic level of the PROTO_IO BUS
Short pins 1 and 2 3.3 volts
Short pins 2 and 3 5 volts
1-7Santa Cruz Connector
This section describes the Santa Cruz connector on the THDB-H2S board
The THDB-H2S board comes with Santa Cruz connectors (J3, J4 and J5) to connect to a daughter board with
Santa Cruz interface. Figure 3.5 shows the pin-outs of the Santa Cruz connector. Detailed pin mappings
between J3, J4, and J5 to the HSMC connector is listed in Table 3.3, Table 3.4, and Table 3.5, respectively.
Figure 3.5 Santa Cruz connector pin-outs

Board Components
11
Table 3.3 The pin assignments of the Santa Cruz connector J3
Santa Cruz connector J3
SC Pin Number SC Signal Name HSMC Pin
Number HSMC Pin Signal Name
3 PROTO_IO40 86 HSPROTO_IO40
4 PROTO_IO29 89 HSPROTO_IO29
5 PROTO_IO30 90 HSPROTO_IO30
6 PROTO_IO31 91 HSPROTO_IO31
7 PROTO_IO32 92 HSPROTO_IO32
8 PROTO_IO33 101 HSPROTO_IO33
9 PROTO_IO34 102 HSPROTO_IO34
10 PROTO_IO35 103 HSPROTO_IO35
11 PROTO_IO36 104 HSPROTO_IO36
12 PROTO_IO37 107 HSPROTO_IO37
13 PROTO_IO38 108 HSPROTO_IO38
14 PROTO_IO39 109 HSPROTO_IO39
Table 3.4 The pin assignments of the Santa Cruz connector J4
Santa Cruz connector J4
SC Pin Number SC Signal Name HSMC Pin
Number HSMC Pin Signal Name
9 OSC 97 OSC
11 CLK1 95 CLK1
13 CLK2 96 CLK2
Table 3.5 The pin assignments of the Santa Cruz connector J5
Santa Cruz connector J5
SC Pin Number SC Signal Name HSMC Pin
Number HSMC Pin Signal Name
1 PROTO_RESET 41 HSPROTO_RESET
3 PROTO_IO0 42 HSPROTO_IO0
4 PROTO_IO1 43 HSPROTO_IO1
5 PROTO_IO2 44 HSPROTO_IO2
6 PROTO_IO3 47 HSPROTO_IO3
7 PROTO_IO4 48 HSPROTO_IO4
8 PROTO_IO5 49 HSPROTO_IO5
9 PROTO_IO6 50 HSPROTO_IO6

Board Components
12
10 PROTO_IO7 53 HSPROTO_IO7
11 PROTO_IO8 54 HSPROTO_IO8
12 PROTO_IO9 55 HSPROTO_IO9
13 PROTO_IO10 56 HSPROTO_IO10
14 PROTO_IO11 59 HSPROTO_IO11
15 PROTO_IO12 60 HSPROTO_IO12
16 PROTO_IO13 61 HSPROTO_IO13
17 PROTO_IO14 62 HSPROTO_IO14
18 PROTO_IO15 65 HSPROTO_IO15
21 PROTO_IO16 66 HSPROTO_IO16
23 PROTO_IO17 67 HSPROTO_IO17
25 PROTO_IO18 68 HSPROTO_IO18
27 PROTO_IO19 71 HSPROTO_IO19
28 PROTO_IO20 72 HSPROTO_IO20
29 PROTO_IO21 73 HSPROTO_IO21
31 PROTO_IO22 74 HSPROTO_IO22
32 PROTO_IO23 77 HSPROTO_IO23
33 PROTO_IO24 78 HSPROTO_IO24
35 PROTO_IO25 79 HSPROTO_IO25
36 PROTO_IO26 80 HSPROTO_IO26
37 PROTO_IO27 83 HSPROTO_IO27
38 PROTO_CARDSEL 84 HSPROTO_CARDSEL
39 PROTO_IO28 85 HSPROTO_IO28
1-8Mictor Connector
This section describes how to use the Mictor connector on the THDB-H2S board
The Mictor connector (J2) can be used for logic analysis on the HSMC-interfaced host board by connecting an
external scope or a logic analyzer to it. Figure 3.6 shows the pin-outs of the Mictor connector. Table 3.6 shows
the detailed pin mappings between the Mictor connector and the HSMC connector.

Board Components
13
Figure 3.6 Mictor connector pin-outs
Table 3.6 The pin assignments of the Mictor connector (J2)
Mictor Connector
Pin Number
Mictor Connector
Signal Name
HSMC
Pin Number
5 MICTOR_CLK 155
6 TR_CLK 156
7 MICTOR_D24 121
8 MICTOR_ D13 114
9 MICTOR_ D23 125
10 MICTOR_ D12 116
11 MICTOR_TDO 37
13 MICTOR_D22 127
15 MICTOR_TCK 35
16 MICTOR_D11 120
17 MICTOR_TMS 36
18 MICTOR_D10 122
19 MICTOR _TDI 38
20 MICTOR _D9 126
22 MICTOR _D8 128
23 MICTOR _D21 131
24 MICTOR _D7 132
25 MICTOR _D20 133
26 MICTOR _D6 134
27 MICTOR _D19 137
28 MICTOR _D5 138

Board Components
14
29 MICTOR _D18 139
30 MICTOR _D4 140
31 MICTOR _D17 143
32 MICTOR _D3 144
33 MICTOR _D16 145
34 MICTOR _D2 146
35 MICTOR _D15 149
36 MICTOR _D1 150
37 MICTOR _D14 151
38 MICTOR _D0 152
To use this interface, user needs to configure the JTAG interface on the HSMC interface host board. For
example, the steps of controlling the Cyclone III start board using Mictor interface is shown below:
1. Connecting the THDB-H2S board to the Cyclone III Start Board.
2. Removing the jumpers of JP1 and JP2 of the Cyclone III Start Board to connect the JTAG interface
between Cyclone III FPGAand the THDB-H2S board.
3. Short the TDI and TDO pins of the JTAG connector(J4), as shown in Figure 3.7
4. Disable the built-in USB blaster by shorting JP8 on the Cyclone III Starter Board
The above FOUR steps will make a closed JTAG chain as shown in Figure 3.8
Short TDI and
TDO pin of the J4
Close JP8
with jumper
O
p
en JP1 and JP2
J4 Short
Figure 3.7 The configuration of the Cyclone III start board for controlling the JTAG chain using the Mictor
connector

Board Components
15
Figure 3.8 The JTAG chain between the THDB-H2S board and Cyclone III Start Board
1-9RS232 Transceiver and the 9-Pin Connector
This section describes the RS232 Transceiver and 9-Pin Connector on the THDB-H2S board
The THDB-H2S is equipped with a RS232 transceiver (U9) and a 9-pin connector (J7) to provide RS232 serial
I/O interface to the HSMC interface host board. The pin assignments of the RS232 interface are shown in
Table3.7.
Table 3.7 The pin assignments of the RS232 interface
RS232
Transceiver
Pin Number
RS232
Transceiver
Signal Name
HSMC Pin
Number
U9-11 UART_TXD 157
U9-12 UAR _RXDT 158
1-10SMA Connector
This section describes the SMAconnector on the THDB-H2S board
The THDB-H2S board provides a SMA connector (J6) for external clock input. The pin assignments of the
SMA connector are shown in table 3.8.
Table 3.8 The pin assignments of the SMA connector
SMA SMA HSMC Pin

Board Components
16
Connector
Pin Number
Connector
Signal Name
Number
J6-1 EXT K_CL 98
1-11I2C Serial EEPROM
This section describes the I2C Serial EEPROM on the THDB-H2S board
The THDB-H2S board provides an EEPROM (U8) which can be configured by the I2C interface. The size of
the EEPROM is 128 bit that can store the board information or user’s data. The detailed pin description
between EEPROM and HSMC connector is listed in the Table 3.9.
Table 3.9 The pin assignments of the I2C serial EEPROM
EEPROM
Pin Number
EPPROM
Signal Name
HSMC Pin
Number
U8-5 HSMC_SDA 33
U8-6 HSMC_SCL 34
1-12Power Supply
This section describes the power supply on the THDB-H2S board
The power distribution on the THDB-H2S board is shown in Figure 3.9.
VCC33
(3.3 V)
2.5V
3.3V
1
2
3
12V
3.3V 1
2
3
5V
REG1 REG2
HSMC
Connector
J1
Santa
Cruz
Connector
J3~J5
3-pin Header
J8 3-pin Header
J9
Regulator Regulator
VHSMC VSC
Level
Translators
(U1 ~ U6)
VCCA VCCB
Mictor
Connnetor
Push
Buttons EEPROM RS232
Tranceiver
Figure 3.9 THDB-H2S board power distribution diagram.

Demonstration
17
Demonstration
4
This chapter illustrates how to connect the THDB-H2S board to a HSMC interface host board using a Cyclone
III Starter Board as an example
1-13Connecting THDB-H2S Board to Cyclone III Start Board
This section describes how to use THD-H2S board the Cyclone III start board and what users need to know
during the operation
Figure 4.1 Connecting the THDB-H2S board to the Cyclone III start board
To correctly operate the THDB-H2G board with the Cyclone III start board, users need to pay attention to the
following notes:

Demonstration
18
1. Observe the orientation of the HSMC connector when connecting the THDB-H2S to the Cyclone III
Starter Board.
2. Users MUST short Pin 1 and Pin 2 of the J8 on the THDB-H2S to force the voltage level to 2.5V to
match the 2.5V IO pins of the Cyclone III board.
3. Configure J9 of the THDB-H2S according to the logic level of the Santa Cruz daughter board (refer to
Table 3.2)
4. Please note that there are two LVDS pairs on the HSMC connector: the HSMC_CLK_p1/n1 (form a
close loop via R3) and HSMC_CLKIN_p2/n2 (form a close loop via R4). Therefore, using any one of the
signal in a LVDS pair under single-ended mode will prevent users from using the other signal in the
same pair.
Table of contents
Other Terasic Computer Hardware manuals

Terasic
Terasic RFS2 User manual

Terasic
Terasic DE10-Agiles User manual

Terasic
Terasic Cypress CapSense P0080 User manual

Terasic
Terasic XTS User manual

Terasic
Terasic PCA3 User manual

Terasic
Terasic XTS-FMC User manual

Terasic
Terasic NET-FMC User manual

Terasic
Terasic Agilex 7 FPGA Starter Kit User manual

Terasic
Terasic ALTERA THDB-HTG User manual

Terasic
Terasic Apollo Agilex User manual