I've got in trouble with CAN bus on LPC1788. I used the sample code of KEIL v5 (functions in attachment) to initialize CAN1 and sending data. now I have two problems:
1. After three times, the process goes inside the Error Handler and I don't know why?!
2. But the device continue sending data for a while since it is corrupted data between A and B outputs (see the picture below)!
Does anybody know what's wrong?
Original Attachment has been moved to: LPC17xx-CAN.zip