FlexCAN testing.

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

FlexCAN testing.

400件の閲覧回数
rohitbhosale
Contributor I

i am writing to inquire about the FlexCAN module on our i.MX8QM-Apalis-Ixora board. We are currently testing the ability to send 3000 CAN frames in one second using the FlexCAN module, but we are facing some difficulties.

Initially, we attempted to use JCOM monitor and simulator for testing, but unfortunately, we were not able to send 3000 CAN frames using the simulator. We also found that JCOM monitor did not have the option to send 3000 CAN frames.

Next, we tried using the can-utils package(cansend and candump) and created a bash script to send the 3000 frames, but it took around 30 to 34 seconds to send all the frames.

We would greatly appreciate it if you could suggest any alternative testing methods or provide any guidance on how we can achieve sending 3000 CAN frames in one second using the FlexCAN module on our custom board.

Furthermore, we have set up two imx8qm-apalis-ixora boards, each with three FlexCAN connections. We intend to send CAN frames from one imx8qm-aplis-ixora board and receive them on the other imx8qm-apalis-ixora board. Could you please provide us with some guidance on how to set up and test this scenario effectively?

 

0 件の賞賛
1 返信

355件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @rohitbhosale,

I hope you are doing well
 
The available testing method for Flexcan is described in the below threads.
 

iMX8QM: FLEXCAN enable and test case on A-core

 
As per the reference manual, the Flexcan can transfer at faster rates up to 8 Mb/s.
The DMA feature may help to achieve higher speed, we would recommend you enable DMA.
For that kindly refer to section 17.4.3.7.1 Rx FIFO under DMA operation from the IMX8QMRM
 
Thanks & Regards,
Dhruvit Vasavada
0 件の賞賛