Need to get specific number of samples from ADC, what flag to use to indicate when arraystoring samples is full?
Hello all,
I need to store 6000 incoming samples from the ADC, analyze these 6000 samples and then store 6000 new samples in the same location and I need to do this repeatedly. I am using HAL_ADC_Start_DMA function to start the channel and I want to use a flag to indicate when HAL_ADC_Stop_DMA should be called based on when the array is full. Is there a flag which indicates when the array is full? And how can I (once analyzed), clear/overwrite the data with new data?
Thanks,
MC