cancel
Showing results for 
Search instead for 
Did you mean: 

ADC+DMA fills all the buffer when calling to HAL_ADC_ConvHalfCpltCallback()

JLope.11
Associate III

In a stm32f303rb76, I commanded to operate ADC+DMA by setting of the

ADC DMA with circular mode

The ADC I activated continuous conversion mode

and DMA continuous request

Also the analog input signal (no scan mode)

In the initialization made following command:

HAL_ADC_Start_DMA(&hadc1, (uint32_t*)adc1_buf, 2*ADC_BUF_LEN);

Then in the debug mode I realized that always calls:

HAL_ADC_ConvHalfCpltCallback()

filling all the buffer (not a half)

But never calls to HAL_ADC_ConvCpltCallback()

it is a problem of the debugger?

How can be solved?

1 REPLY 1
FBL
ST Employee

Hello @JLope.11​, 

Could you specify the processor frequency? the ADC frequency? clock prescaler and resolution?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.