+ Reply to Thread
Results 1 to 3 of 3

Thread: How send data by udp between PC and XMC4800 Relax EtherCAT Kit

  1. #1
    Beginner Beginner rolonac is on a distinguished road
    Join Date
    Dec 2019
    Posts
    9
    Points
    110

    How send data by udp between PC and XMC4800 Relax EtherCAT Kit

    Hello, I am trying to make a udp communication between the PC and the XMC4800 Relax EtherCAT Kit. With the example HTTP_SEVER_NON_RTOS_XMC47 it works for me. But, nevertheless, now I want to communicate without a web server.
    I have been reading for a few days and I have seen that it is done with the ETH_LWIP block in DAVE 4 but of course there is only one IP assigned to it and no Port and Local Port is set. So of course, I don't know what port and local port to put in the UDP Send and UDP Receive blocks of my PC model in Simulink.
    Help would be very useful as I hurry.
    Thanks for all beforehand.

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    689
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner rolonac is on a distinguished road
    Join Date
    Dec 2019
    Posts
    9
    Points
    110

    Steps and Examples?

    Hi jferreira,
    I am a beginner in this, but I spend a lot of cards of the infineon brand and with EtherCAT I already get to do enough things. I am very urgent to have UDP communication between the PC and the XMC 4800 Relax EtherCAT Kit work.
    Could you tell me the steps I have to do with those lines of code?
    I don't know if I have to add them in the example of HTTP_SERVER inside int main (void)? What function do I call and where? Where do I put the IP addresses and ports?
    Can you show me an example that works?

    Thanks for all beforehand.

+ Reply to Thread
Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.