MSCAN CRC on CAN Message

cancel
Showing results for 
Search instead for 
Did you mean: 

MSCAN CRC on CAN Message

235 Views
harish_shekarap
Contributor I

Hi,

The MSCAN CAN example CAN_CheckSendBufferFrame transmits the Data on the CAN bus, I wanted to know whether the CAN message is sent with CRC? or do we need to manually calculate the CRC and add to the Frame buffer?

Thanks

Labels (1)
Tags (1)
0 Kudos
2 Replies

154 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Harish Shekarappa,

You don't need to manually calculate the CRC and add to the Frame buffer.

About the software, you can download the latest MCUXpresso SDK.
I don't know which Kinetis MCU are you using. If KE06 or KE16 are used, please refer the CAN examples in SDK_2.5.0_FRDM-KE06Z or SDK_2.5.0_FRDM-KE16Z.
...\SDK_2.5.0_FRDM-KE16Z\boards\frdmke16z\driver_examples\mscan\interrupt_transfer
...\SDK_2.5.0_FRDM-KE06Z\boards\frdmke06z\driver_examples\mscan\loopback_transfer

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

154 Views
mjbcswitzerland
Specialist V

Hi

CRC is generated in the HW on transmission and check in the HW in reception. I don't think that any CAN controller will require it to be done in SW.

Regards

Mark

0 Kudos