DE4 User Manual
115
www.terasic.com
June 20, 2018
5
5
.
.
2
2
U
U
S
S
B
B
D
D
e
e
v
v
i
i
c
c
e
e
Most USB applications and products operate as USB devices, rather than USB hosts. This
demonstration will show how the DE4 board is operated as a USB device by connecting it to a host
computer. In this demonstration, the USB port 1 (mini-AB port) on the DE4 is configured as a
device port to connect with a host computer. The NIOS II processor communicates with host
computer through USB Bulk Transfer with user-defined command sets. The USB device driver is
implemented in NIOS C code. From the host computer side, a test program is used to communicate
with DE4. The test program can configure LED status and poll button status through the USB
connection.
Nios II Software Architecture
The hardware system block diagram of this demonstration is the same as the USB Host.
Figure 5–7
shows the architectural layers of a NIOS II software stack of this demonstration.
Figure 5
–7 Software stack of the USB-Device demonstration
Содержание ALTERA DE4
Страница 1: ...DE4 User Manual 1 www terasic com June 20 2018 ...
Страница 54: ...DE4 User Manual 54 www terasic com June 20 2018 ...
Страница 73: ...DE4 User Manual 73 www terasic com June 20 2018 11 VCC3P3_HSMC 3 3 V HSMC power HSMC ports A and B ...
Страница 83: ...DE4 User Manual 83 www terasic com June 20 2018 Figure 3 8 Access DDR2 SO DIMM memory ...
Страница 92: ...DE4 User Manual 92 www terasic com June 20 2018 Figure 3 17 Fan Control of the DE4 ...
Страница 110: ...DE4 User Manual 110 www terasic com June 20 2018 Figure 5 3 Software workflow of the USB Host demonstration ...
Страница 150: ...DE4 User Manual 150 www terasic com June 20 2018 Figure 5 35 SOPC builder ...