Measure the clock frequency of CGU_BASE_M3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Measure the clock frequency of CGU_BASE_M3

328 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by shiggy on Sat Sep 21 05:53:29 MST 2013
Hi Everyone.

Q1) Is there the method of  clock frequency of CGU_BASE_M3?
  CGU_BASE_M3 means the excecution frequency of code.
A)Frequenct monitor register has a function of multipleser which select
one signal from 17 input.
But no input of CGU_BASE_M3. So directly it is not measured

Please see the attached file which shows that CGU_BASE_M3(PLL1) is 72MHz.

If you show me the code, I am very happy.

Shiggy
Labels (1)
0 Kudos
1 Reply

304 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tha on Wed Sep 25 17:31:43 MST 2013
From the picture, the BASE_M3_CLK is equal to PLL1 only if the CLK_SEL bits are set to the PLL1 in the BASE_M3_CLK register.  Assuming that is the case, you can measure the BASE_M3_CLK by measuring PLL1.  If this scenario is true, you can also measure PLL1 directly by outputting it to one of the CLKOUT pins.
0 Kudos