ESP32s3 Interrupt ADC1_DONE_INT in Continuous ADC mode have fixed frequency regardless on the sample rate of the ADC (Is it a hardware bug ?)) (IDFGH-10365) #11623
Labels
Status: Selected for Development
Issue is selected for development
Answers checklist.
General issue report
I am working with the ADC_continous Example from ESP-IDF 5.0 with some modification.
I saw many issues with Continuous ADC sample rate #11604 ,
#10612
I tried to to test myself the sample rate of the ADC and The issue I am facing is that changing .sample_freq_hz doesn't have an effect on the ADC1_DONE_INT Interrupt (check ESP32s3 TRM Register 39.72. APB_SARADC_INT_ENA_REG (0x005C) .
I am checking the sampling rate by toggling a GPIO15 at APB_ADC_INT interrupt. but the Interrupt frequency does not seem to change when I change .sample_freq_hz
This is what I get. the GPIO is toggled inside the interrupt, so the expected behavior's is that the GPIO is toggled at the same frequency I set for the ADC sample rate. But it is always fixed at around 1.4MHZ
Here is my source code and the picture from the scope.
The text was updated successfully, but these errors were encountered: