S32K148EVB+ADTJA1101 use lwip sample code to collect data

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

S32K148EVB+ADTJA1101 use lwip sample code to collect data

893 Views
gary_chiu
Contributor I

I use S32k148EVB+ADTJA1101-RMII module+lwip_s32k148 example to do ETHERNET function test, I use SocketTest v3.0.0 software to connect EVB and successfully send "11" data to EVB, the problem is that I have tried in ENET_DRV_ReadFrame(), enetif_input( ), there is no "11" when looking for buff data, what should I do to get the correct data?

Labels (1)
0 Kudos
1 Reply

829 Views
namnguyenviet
NXP Employee
NXP Employee

Hello,

By using ENET_DRV_ReadFrame() or enetif_input(), you will only be able to get the raw data of the buffer (i.e. encapsulated data, including upper layers e.g. data link, tcp, ip layer,...) To provide the fastest possible support, I'd like to you refer to the LwIP Application Developers Manual.

Best Regards,

Nam

0 Kudos