imx6dl flexcan performance

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx6dl flexcan performance

529件の閲覧回数
starimx
Contributor I

Hi All , 

 

I have one performance issue on flexcan application test

preconditions:

CAN Baud:125Kbps

NODE A:

i am using socketcan FD.read and write for  transmitting and receiving10 CAN frames with each frame data length 16 bytes. with delay of 100 ms sec, then next Frame will be sent

10 Frame consecutive write also success

here all the can send are success

but receiving node B:

few last 8/9th FRAME  are not read, with following  node B CAN status

shell ifconfig can0
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:16 Metric:1
RX packets:19263 errors:2 dropped:0 overruns:0 frame:2
TX packets:4028 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:147976 (144.5 KiB) TX bytes:8064 (7.8 KiB)
Interrupt:35

 

to improvise,

1. i added a delay in Node A every CAN frame by delay 20 ms with usleep,

2. Node B works neatly reads all frames successfully

 

anyone faced issue, i am using standard linux kernel 4.19 yocto build 

 

 

ラベル(4)
タグ(2)
0 件の賞賛
1 返信

517件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Anith

 

may be recommended to test this case with two Sabre SD boards and Demo Image

i.MX 6QuadPlus, i.MX 6Quad, i.MX 6DualLite, i.MX 6SoloX

use simple can test:

https://source.codeaurora.org/external/imx/imx-test/tree/test/can/doc/FSL-UT-CAN-003.txt?h=imx_4.19....

 

Best regards
igor

0 件の賞賛