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;
Kindly help me to change the register.
I need to monitor the crystal clock and PLL clock.
Also support me to use Clock monitor unit in the controller.