example "i2s_adc_dac " in esp-idf ADC value is zero

daiyinger
Posts: 6
Joined: Tue Oct 31, 2017 2:02 pm

example "i2s_adc_dac " in esp-idf ADC value is zero

Postby daiyinger » Tue Oct 31, 2017 2:08 pm

when i run this example,the sample values always zero,even i connect the GPIO36(ADC1CH0 input) to VCC(3.3V)

phonec
Posts: 3
Joined: Thu Nov 23, 2017 7:53 am

Re: example "i2s_adc_dac " in esp-idf ADC value is zero

Postby phonec » Thu Dec 07, 2017 5:36 pm

Example "i2s_adc_dac" is working and correctly write recorded data in to DMA memory, if you return back to the "feature(I2S-ADC): add ADC mode for I2S" but after the "Merge branch 'feature/i2s_built_in_adc' into 'master'" it ceased.

klaetze
Posts: 13
Joined: Tue Dec 29, 2020 6:45 pm

Re: example "i2s_adc_dac " in esp-idf ADC value is zero

Postby klaetze » Wed Apr 21, 2021 11:44 am

Hi,
I know this post is quite old, but i have the same problem. I am using esp-idf version 4.1 and i can't get the i2s_adc_dac-example to work.

Whenever the sample frequency is over 5 kHz the i2s_read()-Function returns only zeros.

Is there any known solution for this problem?

Who is online

Users browsing this forum: No registered users and 165 guests