Page 1 of 1

how is the data in the adc pool updated and emptied

Posted: Fri Jul 21, 2023 7:59 am
by Weicheng
In version 5.1 of esp-idf, how is the data in the adc pool updated and emptied. I hope you can help me answer, thank you

Re: how is the data in the adc pool updated and emptied

Posted: Fri Jul 21, 2023 3:03 pm
by bidrohini
In ESP-IDF, the ADC pool is typically used to store ADC conversion results in continuous mode or DMA mode. When the ADC is configured to sample continuously, the ADC driver updates the ADC pool with new conversion results at a defined sampling rate. When the pool is full, new samples will start overwriting the older ones, and you can access the ADC data from the pool for further processing.

Re: how is the data in the adc pool updated and emptied

Posted: Fri Jul 21, 2023 7:08 pm
by MicroController