cancel
Showing results for 
Search instead for 
Did you mean: 

STSPIN32G0601 programming timer output compare PWM complementary pins

FMadi.1
Associate II

In the STSPIN32G0601 device, the stm32g031 controller core has internal connections to complementary gate drivers. The outputs from the stm32g031 that can be configured with alternate function complementary signals (PA7, 8, 9, 10, PB0 and 1) are not used though.  Internal connections in the STSPIN32G0601 are PA8, 9, 10, 11, PB14, and 15.  I need to program a 3-wire, 2-phase signal that has a pulse frequency of 3,840Hz.  I can do this with 3 separate output compare interrupts with each interrupt service routine writing to 2 pins.  This is cumbersome compared to using the timer peripheral's PWM capabilities which are not available due to internal signal wiring.  I have found nothing in the MCSDK development software that addresses this; so, I am coding in STM32CubeIDE. 

 

MY QUESTION IS:  am I overlooking a simpler way to approach this?

0 REPLIES 0