DECA User Manual
100
www.terasic.com
May 22, 2015
Demonstration Setup
Make sure Quartus II and USB-Blaster II driver are installed on your PC.
Connect the USB cable to the USB Blaster II connector(J10) on the DECA board and host PC.
Power on the DECA board.
Execute the demo batch file “test.bat” under the batch file folder, Gesture_Light_Sensor_NIOS
\demo_batch.
In Forced Conversion Mode terminal will display the PS1(proximity sensing) data, PS2 data and
PS3 data as shown in
Figure 7-8
.
After press KEY[0] to switch to Type 2, if the gesture detection is success the result will print on
NIOS Terminal for corresponding swipe as shown in
Figure 7-8
, “Left” will be printed out.
Figure 7-8
”Left Swipe” demonstration
7
7
.
.
3
3
E
E
t
t
h
h
e
e
r
r
n
n
e
e
t
t
S
S
o
o
c
c
k
k
e
e
t
t
s
s
e
e
r
r
v
v
e
e
r
r
This design example shows a socket server using the sockets interface of the NicheStack™ TCP/IP
Stack Nios II Edition with MicroC/OS-II to serve socket connection to the DECA board. The server
can process continues to listen for commands on a TCP/IP port and operates the DECA LEDs
according to the commands from the telnet client.
As Part of the Nios II EDS, NicheStack™ TCP/IP Network Stack is a complete networking
software suite designed to provide an optimal solution for network related applications accompany
Nios II.
Using this demo, we assume that you already have a basic knowledge of TCP/IP protocols.
As indicated in the block diagram in
Figure 7-9
, the Nios II processor is used to communicate with
the Client via DP83620(MII interface)Ethernet Device.