Communication Ethernet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Communication Ethernet

1,147 Views
Buo_Nto
Contributor I

Hello everyone, 

i'm using s32 design studio for power architecture and i'm using a devkit board MPC5748G. I try to import the demo_example "lwip" for the board in the last releasie "RMT 3.0.3". I can ping the board with the demo example. Now for create a communication with the pc what should i do ? I try the use the raw api for create a client but it not work; can anyone help me ? 

 

Thanks in advance.  

0 Kudos
Reply
1 Reply

1,113 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

beside a ping from console you can use the SocketTest program to echo the board at a TCP level. Open the SocketTest (or the TCP client program you are using) and fill the options with the following information:

  • IP Address: 192.168.0.200
  • Port: 7

Then click on connect and connection should be established without any issue. Once the computer is connected with the MPC5748G, you can send any message and the MPC5748G will make an echo of anything you send. Just as shown in the following image:

PetrS_1-1665661874379.png

 

Maybe you can refer to https://community.nxp.com/t5/S32K/LWIP-TCP-IP-Server-Client-Hands-On/m-p/1342762 and use mentioned client/server codes.

BR, Petr

 

 

0 Kudos
Reply