Search found 2 matches

by swwdsy
Fri Sep 22, 2023 7:15 am
Forum: ESP-IDF
Topic: Understanding ADC Continuous Mode Configuration in ESP32S2 Using IDF-5.1.1
Replies: 1
Views: 1592

Understanding ADC Continuous Mode Configuration in ESP32S2 Using IDF-5.1.1

Using ESP32S2 with IDF-5.1.1, I am performing continuous readings on 3 ADC channels. According to the description in adc_continuous.h, conv_frame_size needs to be a multiple of SOC_ADC_DIGI_DATA_BYTES_PER_CONV, i.e., a multiple of 2. adc_continuous.h /** * @brief ADC continuous mode driver initial c...
by swwdsy
Thu Sep 21, 2023 6:38 am
Forum: ESP-IDF 中文讨论版
Topic: adc dma中 adc_continuous_handle_cfg_t::conv_frame_size 的设置
Replies: 0
Views: 1763

adc dma中 adc_continuous_handle_cfg_t::conv_frame_size 的设置

使用esp32s2,idf-5.1.1。 连续读取 3个channl 的adc。 按照adc_continuous.h中表述 /** * @brief ADC continuous mode driver initial configurations */ typedef struct { uint32_t max_store_buf_size; ///< Max length of the conversion Results that driver can store, in bytes. uint32_t conv_frame_size; ///< Conversion frame si...