2018-06-05 10:57 PM
I want to generate center aligned pwm in stm32f030k6tx but when i am chosing the option of center aligned in counter mode than it is converting it in edge aligned mode.So can any help me in how to generate central aligned pwm.
#stmcubef0 #stmcubemx #tim-pwm #stm32f030k6tx2018-07-06 09:08 AM
Hi
abhishekg141997
?,I have generated a project using STM32CubeMX tool (Used HW: STM32F030R8T6 on a Nucleo boad): PWM in center aligned mode on pin PA8 + I have toggled the PB1 pin at each update event (CNT = ARR & XNT = 0) in order to be sure that the center aligned mode is correctly generated.
Below is a screenshot of the result:
If you still encounter the problem, you may share your ioc file and I will check it.
Khouloud.