CAN/flexCAN communication on FRDM-K64F

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

CAN/flexCAN communication on FRDM-K64F

849 Views
hms420
Contributor I
Setting up CAN communication on FRDM-K64F eval board? 
I am using SN65HVD230 CAN Board as a transceiver for CAN lines.
Using Loopback example code as a starting point.

Tags (1)
0 Kudos
1 Reply

429 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Harshi,

Have you try to configure these pins as CAN function? These pins are disabled by default.

PTB18 PTB19.png

You can refer the flexcan interrupt_transfer example in SDK_2.1_MK64FN1M0xxx12.

SDK_2.1_MK64FN1M0xxx12 flexcan interrupt_transfer.png

The Flexcan Interrupt Transfer example is in twrk64f120m folder.(You need to download SDK_2.1_MK64FN1M0xxx12 or SDK_2.1_TWR-K64F120M. Don't select FRDM-K64F. )

Select TWR-K64F120M or MK64FN1M0xxx12.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos