Skip to main content
Chen BH
Associate
August 11, 2017
Question

STM32F103 ADC INTERRUPT from timer 1 CC1 doesn't start with HAL_ADC_START_IT().Adding HAL_ADC_START() after HAL_ADC_START_IT() Solves the problem. Why?

  • August 11, 2017
  • 1 reply
  • 581 views
Posted on August 11, 2017 at 14:55

I don't see the EOC interrupt stepping into action when using only START_IT().

Using MXCube, attached is my user code.

Haven't modified any header files. only the weak callback functions which are in my code.

    This topic has been closed for replies.

    1 reply

    Chen BH
    Chen BHAuthor
    Associate
    August 11, 2017
    Posted on August 11, 2017 at 14:58

    TIM1 doesn't have to be initialised for the code with START after START_IT to work.

    I was trying to init TIM1 but no effect.