cancel
Showing results for 
Search instead for 
Did you mean: 

Clock generation using GPIO pin

NBhar.1
Associate II

Hii Guys,

I am using stm32l053 microcontroller custom board . I want to generate 24 clock pulses on PC2 pin . Is there any possible solution to this problem ? How can I generate exactly 24 clock pulses on this pin?

Thanks.

2 REPLIES 2

Could toggle via a sequencer in SysTick?

Requirements poorly defined.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
S.Ma
Principal

If the pulses are same period and duty cycle, use a timer output compare and let the timer overflow 24 times.