AnsweredAssumed Answered

imx6: FlexCAN error count not increasing proper at 500Kbps/ 1Mbps

Question asked by shashikant h on Jan 1, 2019
Latest reply on Jan 24, 2019 by Artur Petukhov

Hi All,

i am working on flexcan driver related application on imx6q freescale processor

i have a CAN network with one node A sending continuous can frame, bus speed at 125 kbps towards node B receiving, then everything is normal well and fine.


i am generating Error Frame using Canking (CAN analyser) software from PC with 500 kbps or any other  baud rate apart from working bus speed 125kbps 


i am checking with two  processor one is with imx28(2.6.35.XX kernel) and other with imx6q (3.10.XX kernel)


for 1 min, with imx 28 , tx passive error count nearly 1000 where as with imx6q the tx passive error count(FLEXCANX__ECR -- error counter register) nearly 100 where as in CAN analyser Error frames are near to 10000 for 1 min.



1. Could you make me understand why the passive error count are different in processor and the CAN analyser are different  ?



2. looks like passive error count are not properly catched by the flexcan error count register at 500Kbps/ 1Mbps, but neatly works < 500Kbps. could anyone suggest why this happening..?