CAN engine clock source s32k144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAN engine clock source s32k144

1,406件の閲覧回数
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,088件の閲覧回数
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