2021-03-05 02:05 AM
Hi all,
Thanks in advance for your time
regarding the specific microcontroller STM32G474RE which has a total of 64 pins. How can I know how many of them can be used as PWM outputs???
Thank you
Solved! Go to Solution.
2021-03-05 02:34 AM
Use StCubeMX to find out. Select the Chip and add PWM function.
2021-03-05 02:34 AM
Use StCubeMX to find out. Select the Chip and add PWM function.
2021-03-05 02:45 AM
Or look at the pin table in datasheet, "PWM output" are timer channels.
JW
2021-03-05 02:47 AM
They may however collide with other needed system function, so the pure number is not enough, only the number of PWM remaining after other needed pin are also observed.
2021-03-05 04:39 AM
I've done it and found out why an exact number is not given in the datasheet... tens of functionalities collide in the same pin and its a mess!! But now I've got the number I was looking for. Thank you very much!!!