AnsweredAssumed Answered

Timer using external clock

Question asked by matthies.jonathan on Jan 22, 2012
Latest reply on Jan 24, 2012 by matthies.jonathan
I'd like to see some sample code (or a link to it) that utilizes a timer fed by an external clock, not the system clock, to generate an output pulse.  All ST's sample code that I've seen so far uses the system clock. Here's what I'm trying to do:

Input clock = 5.12MHz, 50% duty cycle
Output clock = 1KHz, very low duty cycle

Once set up, the timer needs to free run, that is, not generate interrupts or require further software to maintain.

Any help is much appreciated.