Skip to main content
debruyne.marc
Associate III
September 14, 2020
Question

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

  • September 14, 2020
  • 1 reply
  • 908 views

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

    This topic has been closed for replies.

    1 reply

    Cristian Gyorgy
    Associate II
    September 18, 2020

    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.