lohrsistemas

CAN engine clock source s32k144

Discussion created by lohrsistemas on Mar 6, 2017
Latest reply on Mar 13, 2017 by Daniel Martynek

How I enable core clock (78MHz in my case) to CAN engine clock source?

I set:

CAN0->CTRL1 = (CAN0->CTRL1 & ~CAN_CTRL1_CLKSRC_MASK) | CAN_CTRL1_CLKSRC(FLEXCAN_CLK_SOURCE_SYS);

 

But, in this case, I get bus clock...

 

Regards.

Outcomes