• 0
Sign in to follow this  
joniengr081

LwIP on ZYBO to send data to Network

Question

Posted (edited)

Hi, 

I am working on an application in which I need to send data continuously to the network from zybo. I have looked at the Echo server example but it is sensitive to the listening mode. It listen to the network all the time. It send data to network whenever there is data from the network to the zynq otherwise zynq don't send anything to network.  

My task is to send 32 bit of data upon every micro-second from zynq to PC over ethernet. Is there anything better and recommended other then LwIP for my application ? 

I am not sure which function in the main () I need to modify in LwIP. Here is the section of the main (). 

print_ip_settings(&ipaddr, &netmask, &gw);

/* start the application (web server, rxtest, txtest, etc..) */
start_application();

/* receive and process packets */
	while (1) {
		if (TcpFastTmrFlag) {
			tcp_fasttmr();
			TcpFastTmrFlag = 0;
		}
		if (TcpSlowTmrFlag) {
			tcp_slowtmr();
			TcpSlowTmrFlag = 0;
		}
		xemacif_input(echo_netif);
		transfer_data();
	}

 

Edited by joniengr081

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

This core and this core are pretty easy to use and do not require a microblaze or zynq.

Zynq based boards typically have the PHY connected to the PS. This makes it a bit difficult to use the PHY from the PL. There is a Xilinx wiki that describes accessing the PHY from the PL.

Edited by kwilber
Added link to Xilinx wiki

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this