iMX6UL Ethernet performance issue with LCD

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

iMX6UL Ethernet performance issue with LCD

2,619 Views
durmus
Contributor IV

Hi,

I'm testing the ethernet performance of my custom iMX6UL board (based on EVK board):

Linux BSP version: 3.14.52_1.1.0

Ethernet port: FEC1

PHY & speed: KSZ8081RNB & 100 Mbps full-duplex

Test method: Transferring a large file (1.5 GB) via sftp using FileZilla

LCD: 7" (800x480 px), refresh rate=60Hz (lcd_frequency corresponds to 33.3MHz)

With lcdif disabled:

There is no problem at all. The file transfer progresses with a nice 3.5 MB/s speed. I check the output of "ifconfig" for errors and there are none.

With lcdif enabled:

When just the console output is on the screen there seems to be no problem with file transfer, but I see some occasional RX errors in "ifconfig" output.

When I run a gui application, file transfer speed drops significantly (it becomes about 20-30 KB/s) and RX error counter blows up. There are like 50-100 errors per second.

rx-err.jpg

Sometimes even FileZilla connection is lost giving a "Corrupt Packet" error and about a few seconds later it resumes the transfer.

I checked the 50MHz clock into the PHY and it seems fine.

I tried lowering the display refresh rate, but still the errors occur however slightly less.

I should also mention that when I adjust ethernet speed as 10 Mbps and half-duplex, there are no more errors and transfer speed is around 800 KB/s.

From "imx6ul.dtsi" file I see that LCD and FEC1 are on the same processor bus (that is "aips2" bus). Could this be the result of bus contention due to heavy LCD load? Is there a way to see the bus usage? Is there a similar issue in EVK boards?

Thanks.

Labels (3)
0 Kudos
Reply
5 Replies

1,669 Views
dieterkiermaier
Contributor I

Hi Durmus,

did you already find a solution for that or is this still open topic?

Dieter

0 Kudos
Reply

1,669 Views
durmus
Contributor IV

Hi

I'm afraid the problem still persists. There are some newer i.MX6UL and i.MX6ULL parts with higher cpu speeds (700-800 MHz), but I haven't had the chance to check them out yet. Maybe, using them will solve the issue.

0 Kudos
Reply

1,669 Views
igorpadykov
NXP Employee
NXP Employee

Hi Durmu

this looks like a perfomance issue as i.MX6UL has not vpu/gpu modules and

all graphics is performed by arm core.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,669 Views
durmus
Contributor IV

Hi igor,

 

Thank you for your answer.

How can I make sure that this issue is not just related to my board? Is this reproducible on EVK board?

I mean this is a very basic use case. Surely one would like to run some gui application and display it on the screen while at the same time communicate through ethernet at max available speed without any errors. And surely this must have been tested?

 

Thanks.

Durmus

0 Kudos
Reply

1,669 Views
durmus
Contributor IV

Hi igor,

Thank you for your answer.

How can I make sure that this issue is not just related to my board? Is this reproducible on EVK board?

I mean this is a very basic use case. Surely one would like to run some gui application and display it on the screen while at the same time communicate through ethernet at max available speed without any errors. And surely this must have been tested?

Thanks.

Durmus

0 Kudos
Reply