2024-06-06 12:33 AM
Hello,
I have a question regarding PG pins PG0 to PG10.
Can any of these pins (PG0 to PG10) be used to provide a PWM signal at around 20kHz.
Thank you in advance
2024-06-06 01:59 AM
Which STM32 in particular?
If there is no timer channel connected with those pins, you'd need to generate the output signal "manually", e.g. in interrupt.
This involves jitter or other timing imperfections depending on the exact implementation; whether this suits your application is upon you to judge.
JW