cancel
Showing results for 
Search instead for 
Did you mean: 

hello sir can some one tell me about the way to see the cpu frequency on the cco output.

debruyne.marc
Associate II

hello

its not that clear what the manual and data sheets say about the "configururable clock otput register.

normaly i set port d as output with portd cr1 alsso set

then i set the ccoen bit in the clk_ccor register

then i write 15 in clk_ccor register

and when i read the clock register is stvd then the result i have in clk_ccoir is 61. so ccobsy and ccordy are set, and ccoen also, but the ccosel is gone

can someone informe me please how to have the clokk pulses on cco?

thanks

1 REPLY 1
Cristian Gyorgy
Senior III

Try first to set CCOSEL bits with CCOEN=0, then set CCOEN. And always check that CCOBSY is not set before writing the CLK_CCOR register.