S32R274 Questions about FlexCAN?

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

S32R274 Questions about FlexCAN?

930件の閲覧回数
taokang
Contributor III

Hello:

       Now,I would like to use FlexCAN to communicate with the PC,and I refrence Example S32R274 FlexCAN_with_Interrupts S32DS ,modify the CAN_1 reception as CAN_0 reception, I use the CAN_0 receive the CAN frame which come from PC,I enable interrupt for MB0(set in CAN_IMASK1 register),so when it receive complete,it will into a interrupt,and now in interrupt the service function,I sent the reception data to  PC with using CAN_0.

      but I debug the application, can't achieve this function,no data was receiving. And, the consle Windows report:

    pastedImage_3.png

and report;Interrupt command received. Halting execution.

pastedImage_4.png

0 件の賞賛
返信
1 返信

631件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello,

yes, this is possible. The feature is called Loop Back Mode.

Regards,

Martin

0 件の賞賛
返信