S32K3 Lwip iperf test issue (SJA1110)

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

S32K3 Lwip iperf test issue (SJA1110)

391 Views
iverson3ya
Contributor III

I am testing LwIP on the S32K3. When using iPerf, the transmission aborts after a hundred seconds or so. I'm unsure of the cause, but it seems to be due to a lack of response from both the K3 and the PC, leading to the termination, as shown in the attached imag#SJA1110e.

iverson3ya_0-1727167086022.png

 

iverson3ya_1-1727167086014.png

 

 

iverson3ya_2-1727167086016.png

 

This is one of the issues. The other problem is that after the transmission aborts, I'm unable to test iPerf again, and there's no response to ping. I've checked the system, and it appears to be running normally.

 

iverson3ya_3-1727167086012.png

 

 

Please assist me in adjusting the parameters or identifying where to check.

 

I suspect that the disconnection issue might be related to the SJA1110. Could you assist me in troubleshooting this part of the problem?
The other issue I found is that the system gets stuck during the following check when sending or receiving data.
iverson3ya_4-1727167364034.png

 

"Another issue is how to make the SJA1110 blink and display the correct indicator light when transmitting and receiving data?

Attached is the firmware for the SJA1110.

SJA1110-EVM 

SJA1110 

S32K3 

Thank you.

0 Kudos
Reply
5 Replies

241 Views
PavelL
NXP Employee
NXP Employee

Hello,

I had a discussion with application team. We would like to ask you read out the diagnostic counters of the SJA1110 (UM11107 - 5.9.4 Ethernet port statistics). If the issue is related to the SJA1110, you will most likely see that frames are discarded on the involved ports. In case counters do increase due to discarded frames, they will provide some additional information as of what could cause the issue.

Best regards,

Pavel

0 Kudos
Reply

362 Views
PavelL
NXP Employee
NXP Employee

Hello,

lwIP example limits the test time. Please check the last FAQ in S32K3 Automotive Telematics Box (T-Box) lwIP Example Guide Training Presentation (sign in is required).

Best regards,

Pavel

0 Kudos
Reply

231 Views
iverson3ya
Contributor III

Is it normal for the IPerf test speed to be this slow?

I have already adjusted the buffer.

 

iverson3ya_0-1728441743217.png

IPERF report: type=0, remote: 192.168.1.55:12948, total bytes: 12533784, duration in ms: 10011, kbits/s: 10016
IPERF report: type=1, remote: 192.168.1.55:5001, total bytes: 54617164, duration in ms: 10000, kbits/s: 43688
IPERF report: type=0, remote: 192.168.1.55:12993, total bytes: 20766744, duration in ms: 10010, kbits/s: 16592
IPERF report: type=1, remote: 192.168.1.55:5001, total bytes: 54773384, duration in ms: 10000, kbits/s: 43816

0 Kudos
Reply

304 Views
iverson3ya
Contributor III

I have already referred to the examples above, but I'm still encountering these issues. I can ping the device, and Iperf works, but it disconnects or gets stuck at GAMC_DEV_ASSERT.

0 Kudos
Reply

210 Views
PavelL
NXP Employee
NXP Employee

Hello,

as I've already replied, diagnostic counters of SJA1110 need to be checked if the SJA1110 configuration is correct. Looking to your SJA1110's setup, DPI is used. If applicable, you may try to disable DPI and keep SJA1110 in as simplest configuration as possible - it might help with LWIP debug.

As David already replied to here S32K3 Lwip iperf test issue - NXP Community, LWIP is an open source and we do not have resources to support.

Best regards,

Pavel

0 Kudos
Reply