CAN engine clock source s32k144

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CAN engine clock source s32k144

1,577 次查看
lohrsistemas
Contributor IV

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.

1 回复

1,259 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Sorry for the late reply.

I have compared reference manuals. Peripheral Clock Summary is different for each mask set:

S32K144_0N77P_RM (FRDMPK144-Q100):

N77P_can.png

S32K14x_RM_Rev2:

rev2_can.png

That’s probably the reason you cannot select SYS_CLK.

Regards

Daniel