... pin or supporting a different board revision becomes a config change. Proper DTS is not here, so configs live in code. In other projects we've made adc, i2s, temp_sensor devices and more
- System services: per-module log levels, thread analyzer, subsystem watchdog, retry/backoff
- A shell with ...
Search found 3885 matches: ADC
Searched query: adc
- Thu Jul 02, 2026 2:16 am
- Forum: ESP-IDF
- Topic: Boreas:: Zephyr-style kernel APIs and a device model
- Replies: 3
- Views: 100
- Mon Jun 15, 2026 5:55 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32-S3 SPI DMA
- Replies: 5
- Views: 227
Re: ESP32-S3 SPI DMA
非常感谢,附件是ADC规格书,你的想法非常有创意,我感觉理论上能行的通,CS其实和CNV是同一个pin,RMT通过一个IO来产生CS信号,然后这个IO要连接到ESP32配置的slave的cs pin上,也一起连到ADC的CNV(CS)上,是这么回事吧?
Well, something like this: RMT generates a CS and a CLK.
They connect to the ESP and ADC. Both devices operate in slave mode, with only one transmitting data and the ...
- Fri Jun 12, 2026 7:35 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32-S3 SPI DMA
- Replies: 5
- Views: 227
Re: ESP32-S3 SPI DMA
非常感谢,附件是ADC规格书,你的想法非常有创意,我感觉理论上能行的通,CS其实和CNV是同一个pin,RMT通过一个IO来产生CS信号,然后这个IO要连接到ESP32配置的slave的cs pin上,也一起连到ADC的CNV(CS)上,是这么回事吧?
- Wed Jun 10, 2026 3:44 pm
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32-S3 SPI DMA
- Replies: 5
- Views: 227
Re: ESP32-S3 SPI DMA
Unfortunately, I couldn't find the datasheet for your ADC.
Technically, both the ESP and ADC will become slave devices, while the RMT generates CS and SCLC and acts as the master.
The ESP only needs SCLC, while the ADC needs CS and SCLC (and possibly also CONV). Run SPI DMA, everyone waits for CS and ...
Technically, both the ESP and ADC will become slave devices, while the RMT generates CS and SCLC and acts as the master.
The ESP only needs SCLC, while the ADC needs CS and SCLC (and possibly also CONV). Run SPI DMA, everyone waits for CS and ...
- Wed Jun 10, 2026 1:31 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32-S3 SPI DMA
- Replies: 5
- Views: 227
Re: ESP32-S3 SPI DMA
感谢指导,我之前的测试结果,使用DMA分段传输,每个DMA段内部还是CS一直拉低,要满足外部ADC时序要求,只能是每个DMA段只接收1个采样点数据(18bits),这样的话整个运行效率还是很低,实际采样率基本都是100KSPS以内。请帮忙详细说明下“slave DMA mode, create external SCL and СS, for example using RMT”如何实施?之前实验过用RMT产生CS信号,SPI master DMA Mode很难和RMT产生的CS信号对齐起来。外接SPI设备原厂的说法是主控的SPI要支持NSS模式,ESP32 ...
- Mon Jun 08, 2026 12:57 pm
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32-S3 SPI DMA
- Replies: 5
- Views: 227
ESP32-S3 SPI DMA
硬件平台ESP32-S3-LCD-EV-Board
-2的开发板(v1.5),软件平台vs code加ESP-ID插件(基于SDK版本v5.5.2),外加ADC芯片ZJC2400-16,如何做到高速采样(1msps以上)?经过反复实验,单独一个采样点一个采样点的读取是正确的,但这个无实际意义,因为如果一直读取几十毫秒的采样数据会占用大量cpu时间,如果被打断,则会有采样数据丢失;如果简单采用DMA+SPI的方式,在DMA期间CNV(CS)持续拉低,不符合ZJC2400的时序,只能读出第一个采样点的正确数据,如果采用SPI 链表 DMA 传输的方式,由于每个采样点采样完成要产生中断 ...
-2的开发板(v1.5),软件平台vs code加ESP-ID插件(基于SDK版本v5.5.2),外加ADC芯片ZJC2400-16,如何做到高速采样(1msps以上)?经过反复实验,单独一个采样点一个采样点的读取是正确的,但这个无实际意义,因为如果一直读取几十毫秒的采样数据会占用大量cpu时间,如果被打断,则会有采样数据丢失;如果简单采用DMA+SPI的方式,在DMA期间CNV(CS)持续拉低,不符合ZJC2400的时序,只能读出第一个采样点的正确数据,如果采用SPI 链表 DMA 传输的方式,由于每个采样点采样完成要产生中断 ...
- Mon Jun 08, 2026 11:07 am
- Forum: ESP-IDF
- Topic: What is the right way to adjust the sampling time of the ADC on the ESP32-S3?
- Replies: 1
- Views: 88
Re: What is the right way to adjust the sampling time of the ADC on the ESP32-S3?
I am not 100% sure but I would check if this cycles are APB cycles (80MHz).
- Fri Jun 05, 2026 7:59 pm
- Forum: ESP-IDF
- Topic: What is the right way to adjust the sampling time of the ADC on the ESP32-S3?
- Replies: 1
- Views: 88
What is the right way to adjust the sampling time of the ADC on the ESP32-S3?
Before a conversion can begin, the SAR ADC must connect the input source to the internal sample-and-hold capacitor for long enough to allow it to charge to the input voltage. I am trying to understand how this process is modelled on the ESP32-S3 (ESP-IDF v6.0.1). In adc_ll.h there is the function adc ...
- Sun May 24, 2026 2:57 am
- Forum: ESP-IDF
- Topic: Conflicting declarations for void vApplicationStackOverflowHook( )
- Replies: 7
- Views: 161
Re: Conflicting declarations for void vApplicationStackOverflowHook( )
... esp-tls -IC:/Espressif/frameworks/esp-idf-v5.5.3/components/esp-tls/esp-tls-crypto -IC:/Espressif/frameworks/esp-idf-v5.5.3/components/esp_adc/include -IC:/Espressif/frameworks/esp-idf-v5.5.3/components/esp_adc/interface -IC:/Espressif/frameworks/esp-idf-v5.5.3/components/esp_adc/esp32s3 ...
- Mon May 04, 2026 5:05 pm
- Forum: ESP8266
- Topic: HarixOS: An Open Source Linux-Style Real Operating System for ESP8266
- Replies: 0
- Views: 118
HarixOS: An Open Source Linux-Style Real Operating System for ESP8266
... Background task scheduler
📡 HTTP file downloader (pull command)
🧮 Built-in calculator
🧾 Notepad CLI editor
🔧 System tools (info, heap, reboot, adc)
📡 HTTP server for file sharing
🧩 Modular API architecture (GPIO, WiFi, FS, System)
🏗️ Architecture Overview
CLI / .hx Scripts
↓
HarixOS ...
📡 HTTP file downloader (pull command)
🧮 Built-in calculator
🧾 Notepad CLI editor
🔧 System tools (info, heap, reboot, adc)
📡 HTTP server for file sharing
🧩 Modular API architecture (GPIO, WiFi, FS, System)
🏗️ Architecture Overview
CLI / .hx Scripts
↓
HarixOS ...