Closed hacktronics closed 3 months ago
Hi, same issue here. Did you find solution? Thanks
Hi, @hacktronics I think your program clock enable should be enabled like this:
RCC_APB2PeriphClockCmd( RCC_APB2Periph_GPIOA , ENABLE );
RCC_APB1PeriphClockCmd( RCC_APB1Periph_TIM3,ENABLE);
Because the clock of TIM3 is divided by APB1_CLK.
On CH32V203, I am trying to use pin A6 for pwm, need 4 pwm channels, so far has been able to use standard code on pin A8, tim1_CH1 only. How to have more PWM outputs. I am trying the following code, but it does not work.