AnsweredAssumed Answered

S32R274 Questions about FlexCAN?

Question asked by tao kang on Aug 6, 2017


       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:


and report;Interrupt command received. Halting execution.