2011-04-02 05:41 AM
hello
,
please
tell me
how
can
I
program a
output
clock
for
another
sequential circuit
outside
#external-clock #timer #cco2011-04-03 02:33 AM
Hi George,
In my opinion, the following ways according to the frequency out you want: - set-up an interrupt routine triggered by TIMER in which you toggle a GPIO on/off (maybe slow) - capture compare a TIMER1 (quite fast) and flexible in frequency out value - route the fCPU clock out to the CCO pin but it is limited to fixed binary division factor Hope it helps Stefano2011-04-03 02:38 AM
Hi George,
In my opinion, the following ways according to the frequency out you want: - set-up an interrupt routine that is triggered by one of the stm8s 3 timers in which you toggle a GPIO on/off (slow) - capture compare a TIMER1 (faster and flexible) in frequency out values - route the fCPU clock out to the CCO pin but it is limited to fixed binary division factor (see Fig. 13. Clock tree -Stm8 family reference manual) Hope it helps Stefano