CAN module issue on imx8m

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

CAN module issue on imx8m

198件の閲覧回数
niz
Contributor III

I am using VAR-SOM-MX8M-PLUS  board (NXP i.MX 8M Plus) and I am dealing with the CAN module. 

I am using the MCUXpresso_SDK for the CAN and I am having the following issue: 

If I initialize the CAN 1 and then CAN2, I can use FLEXCAN_TransferReceiveNonBlocking to send CAN messages on both. 

However, if I initialize CAN2 and then CAN1, I can only send CAN2, seems like CAN1 callback never hit kStatus_FLEXCAN_TxIdle. 

Any clue would be appreciated. 

タグ(1)
0 件の賞賛
返信
2 返答(返信)

196件の閲覧回数
niz
Contributor III

Correct here:  if I initialize CAN2 and then CAN1, I can only send CAN1, seems like CAN2 callback never hit kStatus_FLEXCAN_TxIdle

0 件の賞賛
返信

184件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @niz 

Please share your modification based on SDK if possible.

Best Regards,
Zhiming

0 件の賞賛
返信