Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 11 months ago.
CRC checking in CAN communication using mbed lpc1768 and mcp2551
Can anyone tell me how to implement CRC check using mbed lpc1768 and mcp2551 and how to visualize it?
1 Answer
7 years, 11 months ago.
Hello Meena,
- CAN CRC (Cyclic Redundancy Check) is automatically implemented into the LPC1768 microcontrollers. You don't have to do anything in addition in your code.
- The information about CAN errors (including CRC) is available in bits 16-23 of the CAN Interrupt and Capture Register (CAN1ICR - 0x4004 400C, CAN2ICR - 0x4004 800C). For more details read chapter 16.7.4 of the User manual.