how is the data in the adc pool updated and emptied

Weicheng
Posts: 3
Joined: Fri Jul 21, 2023 1:54 am

how is the data in the adc pool updated and emptied

Postby Weicheng » Fri Jul 21, 2023 7:59 am

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

bidrohini
Posts: 202
Joined: Thu Oct 27, 2022 12:55 pm

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

Postby bidrohini » Fri Jul 21, 2023 3:03 pm

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.


Who is online

Users browsing this forum: No registered users and 89 guests