How to use CAN receive specific command

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use CAN receive specific command

3,916件の閲覧回数
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,830件の閲覧回数
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 件の賞賛
返信