AnsweredAssumed Answered

Clock Monitor Unit in MPc5604s

Question asked by Mohan Raj on May 7, 2017
Latest reply on Dec 5, 2017 by Ferenc Kovacs

Hi All,

I am trying to change the CMU_CSR register by the following values,but the register is not changed .

 

/* RC clock division factor */
CGM.CMU_CSR.B.RCDIV = 2;

/* Enable clock monitor bit */
CGM.CMU_CSR.B.CME_A = BIT_SET;

/* Start frequency measure */
CGM.CMU_CSR.B.SFM = BIT_SET;

/*RC Oscillator(s) selection bit */
CGM.CMU_CSR.B.CLKSEL1 = 0;


CGM.CMU_MDR.B.MD = 256;

Outcomes