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
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:
Best regards
igor