cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with EOC interrupt for ADC : STM32F3

pieregnier
Associate II
Posted on June 19, 2014 at 17:47

The original post was too long to process during our migration. Please click on the attachment to read the original post.
2 REPLIES 2
pieregnier
Associate II
Posted on June 19, 2014 at 22:19

I can't enter in my EOC interrupt.

raptorhal2
Lead
Posted on June 20, 2014 at 01:12

The ADC is initialized to continuous conversion mode. An interrupt handler with a printf function will never finish in time for the next interrupt. If you need printf, move it to main.

I don't think there is a need to read the converted value both in main and in the interrupt handler.

Use the Analog Watchdog example provided with the Std Peripheral Library as a guide for initializing everything and configuring an interrupt.

Cheers, Hal