HAN Pilot Platform
Demonstration Manual
18
www.terasic.com
September 6, 2019
2.
Set MSEL[2:0] to 010.
3.
Power on the FPGA board.
4.
Use the Mini USB Cable to connect your PC and the FPGA board and install USB Blaster II
driver if necessary.
5.
Execute test.bat under the demo_batch folder.
6.
Connect USB Type-C Connector (J2) to a 4K Type-C Monitor (or Full HD Type-C Monitor) via
a Type-C Cable.
7.
You will see a color bar pattern on the Type-C Monitor.
2.6
USB Type-C FX3 Loopback
This demonstration illustrates how the FX3 is working with the FPGA for USB3.0/USB2.0 data
bulk in/out (data loop transmission). There is a USB type-C connector onto HAN Pilot Platform, a
type-C cable is reversible for plugging in the USB type-C connector. This demonstration also
implements the auto-switching mechanism for a type-C cable plugging in on either side.
Function Block Diagram
shows the function block diagram of the USBC_FX3 demonstration. This design
comprises two parts, USB3.0/USB2.0 TX&RX crossbar switch controlling and FX3 data
transferring. As the Type-C connector is reversible, a Type-C port Controller (CYPD3125) is
required for USB3.0/USB2.0 TX&RX crossbar switch controlling. When the Type-C cable is
plugged in, the CC (Configuration Channel) signal is communicating with the controller. The
controller then transfers the data to the Slave IC (FPGA) by I2C in Master mode, and There will be
a salve I2C module in the FPGA to decode the signal and send the control signal to control the
RX/TX direction of the PI3USB31532 USB3.0 signal. Here is a LED0 on the board to indicate the
cable plugging direction, and LED1 indicates whether there is a USB connection signal or not. For
the data transmission of FX3 module, FIFO and controller (implemented in the FPGA) combine
FX3 module to perform the data bulk in/out loop. (For details, please refer to CYPRESS AN65974
Designing with the EZ-USB® FX3™ Slave FIFO Interface Chapter 11). All modules functions are
described below:
USB_AUTO_DETECT
: This module can decode the I2C signal from the Type-C Port Controller
(CYPD3125 IC), then timely switch the RX/TX direction of Type-C port (by controlling the
PI3USB31532 IC) and control the USB 3.0 Mux/Demux9 (HD3SS3212) switching to transfer the
USB 3.0 signal to FX3 module. As shown in Figure 4-1, the LED0 indicates the Type-C connector
RX/TX direction, the LED1 indicates the USB 3.0 signal input.
LOOPBACK
: This module is designed as FX3 Slave FIFO Interface, the module combines the
CYPRESS application(bulkloop.exe) to implement data bulk in/out loop demo.
KEY0
: It is used to reset FX3 module.
PMODE[2:0]
: The HAN Pilot Platform has a 4Mbits Flash ROM, which can be used to program
the FX3 firmware. This ROM is connected to FX3 through SPI interface. PMODE[2:0] is used to
set the FX3 in program or boot status. The setting details is described in below steps.
Содержание HAN Pilot Platform
Страница 1: ......
Страница 92: ...HAN Pilot Platform Demonstration Manual 91 www terasic com September 6 2019...