2020-09-14 10:26 AM
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
2020-09-18 11:59 AM
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.