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