cancel
Showing results for 
Search instead for 
Did you mean: 

how to change the frequency of gpio pins?

Ranjeet Singh
Senior

i am generating a pulse using gpio pins ,how i can change the frequency ?

7 REPLIES 7
Javier1
Principal

The frecuency of the pulses?

why dont you use a proper PWM timer

Available for consulting/freelancing , hit me up in https://github.com/javiBajoCero
Ranjeet Singh
Senior

how i can generate the pulse with pwm timer on time-10 us and off time 1 second

on time -10 micrsecond,off time -100 miliseconds

??? your first is 1Hz freq second is 10Hz explain what you need....

special PWMs you can create with master slave tim or DMA circular ...

0693W00000aH6F5QAK.gif@MM..1​ I believe he is a chatGPT bot using a human's forum.

Machines are asking the questions now

Available for consulting/freelancing , hit me up in https://github.com/javiBajoCero

HOUUOU SKYNET

Communicate which STM32 you are talking about here. What frequency?

Does it have any 32-bit TIM ?

>>on time -10 microseconds, off time -100 milliseconds

9.9990000999900009999 Hz ??

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