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)
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!
-----------------------------------------------------------------------------------------------------------------------