AnsweredAssumed Answered

STM32F103 - Use of PWM (Timer1) without the debugger

Question asked by samuel.poiraud.005 on Jan 24, 2017
Latest reply on Jan 24, 2017 by samuel.poiraud.005

Hi,

We configure the timer 1 to run a PWM signal on PA8 & PA9.

It works well with the debugger, but when we power the MCU directly, the PWM is not running ! (We can confirm that the main is running... with a manual GPIO toggle).

 

We are using HAL software, with System Workbench for STM32 + arm-none-eabi-gdb.

 

Any idea?

Maybe openocd or arm-none-eabi-gdb are setting some register during the debugging process...which make our timer running...

 

Thanks,

Samuel.

Outcomes