AnsweredAssumed Answered

S32K144 FTM CLOCK can not set as SYS_CLK

Question asked by zheng lai on Oct 18, 2018
Latest reply on Oct 18, 2018 by zheng lai

Hi,

   I want to config FTM clock source,according this figure,I choose SYS_CLK as FTM clock.

FTM colck choose

 

 

In my codes,I config register so that work,

 

FTM0->MODE |= FTM_MODE_WPDIS_MASK;

FTM0->SC |= 0x00030008;

 

But when I use S32DS Debug find this register value Not equal to I write,

s32ds

I refer  <<S32K1xx Series Reference Manual, Rev. 7, 04/2018>> ,it describes these bits :

S32K1xx Series Reference Manual

so why s32k144 was force to set CLKS as 11b?  Is setting CLKS as 01b forbidden?

Outcomes