AnsweredAssumed Answered

Whats wrong with transmit CAN message on my TWR-K60D100M application

Question asked by Yaran Nan on Mar 24, 2015
Latest reply on Mar 29, 2015 by Hui_Ma

As the thread topic above, i modified my code based on flexcan_uart demo since i dont use UART at all for my application. I would like to CAN can transmit message to

another device and also receive message from others ideally. Currenlty, my code is running a loop back test. Even loop-back test, the transmitting function wont work.

I try to debug and it never return back to main after it gets into FLEXCAN_SEND(..). Anybody know what I did wrong? I am really new to embedded programming.

Original Attachment has been moved to: main.c.zip

Outcomes