How to use CAN receive specific command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use CAN receive specific command

3,879 Views
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!

Tags (2)
0 Kudos
Reply
1 Reply

3,793 Views
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 Kudos
Reply