AnsweredAssumed Answered

ADC_DMAHalfConvCplt called when the buffer is completely full

Question asked by Evgeny Erlihman on Nov 2, 2017
Latest reply on Nov 3, 2017 by Evgeny Erlihman

Hello,

 

I am running the ADC_DMA_Transfer example on NUCLEO-H743ZI without any changes. And i see the ADC_DMAHalfConvCplt getting called when the aADCxConvertedData buffer is completely full and not half full as expected.

 

Am i missing something? Shouldn't ADC_DMAHalfConvCplt  be called after ADC_CONVERTED_DATA_BUFFER_SIZE/2 conversions instead of after ADC_CONVERTED_DATA_BUFFER_SIZE?

 

I do see ADC_DMAConvCplt being called every time after ADC_DMAHalfConvCplt, but it seems like after a call to either of these functions all the content in buffer is replaced.

 

Thanks,

Evgeny

Outcomes