S32R274 Questions about FlexCAN?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32R274 Questions about FlexCAN?

929 Views
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 Kudos
Reply
1 Reply

630 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

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

Regards,

Martin

0 Kudos
Reply