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 项奖励
回复