AnsweredAssumed Answered

HAL timer problem

Question asked by asr.ahmed on Mar 27, 2017
Latest reply on Mar 31, 2017 by asr.ahmed

i want use timer1 with external trigger to enable the counter.

but when stm32cubemx  generate code the mcu crash and stop working and debug stop

and after long time i found the problem in this line

  __HAL_AFIO_REMAP_TIM1_ENABLE();

how to solve it ???

i use stm32f103

Outcomes