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!
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:
CAN example coding for kinetis
https://community.nxp.com/thread/316117
Please let me know if this helps, have a nice day!
Regards
Soledad