on-internet
← Community

STM32 NVIC ADC interrupt is not triggering

Stack Overflow ·

I have an STM32F411VET, and I want to have interrupt triggered after ADC conversion is finished. The documentation says the following: In Single conversion mode the ADC does one conversion. This mode is started with the CONT bit at 0 by either: setting the SWSTART bit in the ADC_CR2 register (for a regular channel only) Once the conversion of the selected channel is complete: If a regular channel was converted: The converted data are stored into the 16-bit ADC_DR register The EOC (end of conversion) flag is set An interrupt is generated if the EOCIE bit is set Then the ADC stops. Thus, I have

Comments

Sign in or sign up to comment and upvote.

No comments yet.