How to use CAN receive specific command

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

How to use CAN receive specific command

3,888 次查看
dlysam2716
Contributor III

I use MK10FN1M0VLQ12 chip and want to use CAN to receive my command. Then I refer the sample code from KDS, but I didn't know how to change it. I try many times and the result are not. 

If I use ID 100 and want to receive 0x01 in bit 5 to start the all system but my result is only my ID is correct then the system will start, but 0x01 in bit 5 is doesn't matter. I attach my code and hope someone can teach me to solve it.

Thank you very much!

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

3,802 次查看
soledad
NXP Employee
NXP Employee

Hi, 

I suggest using the MCUXpresso SDK driver example codes, you can download MCUXpresso SDK from the following link:  

https://mcuxpresso.nxp.com/en/builder 

In addition, please check the following threads: 

K60 120MHz CAN example 

CAN example coding for kinetis 

https://community.nxp.com/thread/316117 

Please let me know if this helps, have a nice day!

Regards 

Soledad

0 项奖励
回复