Skip to main content
Associate II
March 6, 2025
Question

Is there a board where I generate 4 different PWM signals at the same time?

  • March 6, 2025
  • 1 reply
  • 398 views

I need to create 4 different PWM signals at the same time with different frequencies, I believe this means I need 4 different timers that are connected to a GPIO port, I currently have NucleoF767ZI and an STM32f746g-DISCO, Nucleo only appears to have TIM1 on GPIO ports, STM32 one does have enough but I just can't get it to work cause either it doesn't generate anything or the screen goes blank

1 reply

gbm
Principal
March 6, 2025

Nucleo has plenty of pins available. Look at the MCU view in CubeMX or AF table in the datasheet, not at the simplified table in Nucleo manual - many of MCU pins have TIMxCHy connections, esp. PA and PB pins but many others too.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice