MSCAN CRC on CAN Message

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MSCAN CRC on CAN Message

1,280 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

1,199 次查看
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 项奖励
回复

1,199 次查看
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 项奖励
回复