Resolved! ADC getting stuck while checking for EOC flag
Im trying to write code that will average samples from the ADC of an STM32F01K6. I am starting a conversion and waiting while the conversion takes place by writing a while loop which checks the finish flag ADC1->CR |= ADC_CR_ADSTART; while(((...