Question
Timer using external clock
Posted on January 22, 2012 at 21:00
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 cycleOutput clock = 1KHz, very low duty cycleOnce set up, the timer needs to free run, that is, not generate interrupts or require further software to maintain.Any help is much appreciated. #stm32vldiscovery #external-clock #stm32-timer #pwm-output #timer #stm32vldiscovery #stm32vldiscovery