I have a project where I have to send and receive data from the Ethernet port of the PYNQ-Z2.
Is this possible or this port is only used to communicate with PC ?
If you connect your board to a network switch/router that is connected to the internet then you can access the internet.
If you want to directly send traffic on the Ethernet port from Python, you should be able to use the Python “sockets” library.
I don’t want to send the data over the internet but send it to another card which is connected by a cable.
Is the process the same?
Yes, it should be the same assuming you can run a socket connection on the other board.
Some links that may be useful:
Thank you very much, I will search with these links.