CAN interface K60 without felxcan.h (Keil uVision)

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

CAN interface K60 without felxcan.h (Keil uVision)

544 Views
nicolasduchoud
Contributor I

I want a simple CAN interface with Evalboard FRDM-k64F.

Is there a example without flexCAN?

I don't want to use flexCAN (example loopback) because i want to use MK64F12.h

kinetis_flexcan.h:

#define FLEXCAN0_ESR1 (*(vuint32_t*)(FLEXCAN0_BASE+0x20))

MK64F12.h:

#define CAN_ESR1_REG(base)     ((base)->ESR1)

Labels (1)
0 Kudos
1 Reply

400 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

The KSDK (Kinetis softwre development kit) software provide FlexCAN example based on TWR-K64F120M board.

Customer could refer and apply related FlexCAN driver at FRDM-K64F board.

Wish it helps.


Have a great day,
Ma Hui

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