2024-06-12 12:55 AM
As, i am using stm32g474ret6 nucleo board, i try to generate a complimentary pwm signal with timer 1 (pin PA0 and PC13) it does generate properly it create a curve at the falling edge .now i change a variable and try to generate this wave of 200khz it becomes triangular wave.
But in Timer 8 it generates properly with no error.
Can anybody tell me why this happen only in timer1 ?
2024-06-12 09:13 AM
Hello @Harsh_18,
How are you configuring dead time insertion when using TIM1?
Please share your TIM1 configuration and specify the variable you're changing!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-06-12 08:13 PM
I only change the value of arr and ccr and the dead time is fix in each and every case.
2024-06-13 02:32 AM
Hello @Harsh_18,
Both TIM1 and TIM8 are connected to the APB2 bus, are advanced timers and have very similar functionalities
So, I would suspect the output pinout configuration differences between TIM1 and TIM8, you can check that!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.