Search found 3 matches

by Kamlaa
Wed Dec 23, 2020 12:24 pm
Forum: General Discussion
Topic: Strange ADC Measurements
Replies: 0
Views: 1266

Strange ADC Measurements

Hi everyone, We are trying to measure an 80us wide signal with the ESP32 in DMA mode. Sample rate and accuracy is fine, but it behaves very strange with the peak voltage. The ESP32 seems to have trouble measuring certain voltages. In this case the ESP seems to map a certain range of voltages to 1411...
by Kamlaa
Thu Oct 01, 2020 9:57 am
Forum: ESP-IDF
Topic: Using I2S_NUM_1 for Multi Channel ADC sampling
Replies: 1
Views: 3152

Re: Using I2S_NUM_1 for Multi Channel ADC sampling

I think I found the reason: Besides, only I2S0 supports on-chip DAC/ADC modes, as well as receiving and transmitting PDM signals. (12.1 I2S Overview) (https://www.mouser.com/pdfdocs/ESP32-Tech_Reference.pdf). From what I can tell this means that doing any sampling with any ADC and I2S1 won't work. O...
by Kamlaa
Tue Sep 29, 2020 11:30 am
Forum: ESP-IDF
Topic: Using I2S_NUM_1 for Multi Channel ADC sampling
Replies: 1
Views: 3152

Using I2S_NUM_1 for Multi Channel ADC sampling

Hi everyone :) I just got the code working for using an ADC together with I2S. I used ESP-IDF 4.0 because versions > 4.0 don't seem to support the code I found. (User ESP_houwenxiang on https://www.esp32.com/viewtopic.php?t=2346#p37378). With some changes in the rtc_module.c I got it working for bot...