Question
TIM1 remap cause debug crash
Posted on September 27, 2016 at 12:26
Hi there,
I build a Keil project for my STM32F103 MCU with STM32CubeMx.My goal is use the TIM1 channel 2 for control a Buzzer.I want to generate a PWM at 4KHz through TIM1 channel 2.I configured, with STM32CubeMx, the TIM1_Channel2 as ''PWM Generator CH2''.The problem regards the debug session. In particular, when I start the debug session and when the MCU executes the macro ''__HAL_AFIO_REMAP_TIM1_ENABLE()'' the debug session crash.Anyone have the same issue?Thanks!