Forum Discussion
Altera_Forum
Honored Contributor
16 years agoTSE UDP protocol
Hi, I am working on a project where I need to send data from the cycloneIII board to the computer.I am using triple speed ethernet megafunction in the project. I need to use UDP protocol for t...
Altera_Forum
Honored Contributor
16 years agoUsing a CPU with a TCP/IP stack is the easyest way to go. Using the Nios IDE you can create a simple project with ethernet interface within minutes.
If you need speed / low power or can't/won't have a CPU, UDP packets can be generated in hardware and sent to the TSE, but it's a lot of work. You need to add the headers for the UDP, IPv4 and Ethernet, as shown in the offload example given by Brendan. If you don't know the destination MAC address, you also need to implement the ARP protocol.