AnsweredAssumed Answered

CAN interface K60 without felxcan.h (Keil uVision)

Question asked by Nicolas Duchoud on Oct 5, 2015
Latest reply on Oct 10, 2015 by Hui_Ma

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)

Outcomes