CAN bus is not working properly in my project (MK10DX256VLH7 microcontroller).
I am using processor expert CAN_LDD component (PE.jpg). I copied and modified the example available on Help on component called Sending data frame with interrupt service (main.jpg).
It sends the data over and over again. It gets stucked in the while loop. It never triggers the interruption (events.jpg).
The can file done by PE seems correct (can.jpg).
I read this thread but I think the solution does not apply to my project.
Could someone give me some advice?
Thanks in advance.
PD: CW 10.6.4
Original Attachment has been moved to: Events.c.zip
Original Attachment has been moved to: CAN0.c.zip
Original Attachment has been moved to: main.c.zip