2020-09-30 10:14 AM
Using Nucleo-G474RE. Am trying the TIM_Complementary_Signals example. This uses TIM1. No PWM is shown generated on any of the 6 channels. Tried setting MOE bit in TIM1->BDTR as also CC1E, CC1NE,...CC3E, CC3NE in TIM1->CCER before the PWM_Start calls. No luck.
Solved! Go to Solution.
2020-09-30 11:10 AM
Hello @ANARA.1 ,
Make sure that the NUCLEO-G474RE is properly configured as descibed in the readme.txt file:
Hope this helps you.
Imen
2020-09-30 11:10 AM
Hello @ANARA.1 ,
Make sure that the NUCLEO-G474RE is properly configured as descibed in the readme.txt file:
Hope this helps you.
Imen
2020-09-30 11:31 AM
Read out and check/post content of TIM and relevant GPIO registers.
JW
2020-09-30 11:10 PM
Thanks! Was missing the TIM1_BKIN pin (PB12) to GND connection. Connected Pin 16 (PB12) to Pin 20 (GND) on CN10. Now I get CH1, CH1N, CH2N and CH3N. Still dont get CH2 and CH3. Am using my USB Logic Analyzer for monitoring. Logic Analyzer GND is connected to PIN 9 (GND) on CN10.