Emilio Aron Moyers

How to recieve a CAN message using RX Interrupt (KEA128)?

Discussion created by Emilio Aron Moyers on Aug 10, 2016
Latest reply on Aug 11, 2016 by EARL GOODRICH

Hello,

 

I'm using a kEA 128,I want to receive the CAN message by interruption (Receiver Full Interrupt). I'm using an example code that I download from https://community.nxp.com/thread/381639#comments  (Can_test), I have set the MSCAN_SetRxCallBack() funtion to a funtion I create in main but nothing happened.

what do I need to configure? Or do I need to clear the Receive Buffer Full?

 

Note: I can't write MSCAN_CANRFLG |= 0x1u; to clear the rxf flag

 

Regards,

 

Emilio

Outcomes