audio capture / transmission capabilities vs esp chip range

julienD
Posts: 32
Joined: Fri Sep 13, 2019 12:38 pm

audio capture / transmission capabilities vs esp chip range

Postby julienD » Thu Jul 13, 2023 4:57 pm

Hello,

I'm evaluating solutions for a device I need. It's about inputing / processing and outputing audio.
I read a lot of documentation and I need some confirmations about my understanding:

I can see many audio streams to input audio to adf pipeline : http, spiffs, raw, i2s, fatfs.
I don't see any implementation on using ADC to stream analog input to adf pipeline. Only I2S0 can do this and only with ESP32.

Question 1 : can you confirm?
Question 2 : Is there any technical reason that would make it impossible to use ADC continuous mode driver to input data to adf pipeline?
Question 3 : If no, is there any plan that this feature will be implemented in a near future?

I see (https://docs.espressif.com/projects/esp ... ation-mode) that only I2S0 is able to output analog data (with low quality (8 bits) DAC for esp32, or with PDM TX + external low pass hardware filter for all microcontrolers except ESP32-S2)

Question 4: If I need to capture PDM audio on the input side of an adf pipleline and output analog audio on the output side of the
same adf pipeline with ESP32-S3, the only solution is to use I2S0 PDM RX on input and I2S1 + an external codec on output?

Thanks
Julien

tempo.tian
Posts: 39
Joined: Wed Jun 22, 2022 12:10 pm

Re: audio capture / transmission capabilities vs esp chip range

Postby tempo.tian » Fri Jul 14, 2023 11:03 am

Record use ADC is possible, but the quality is not guaranteed,
you can take S2 for example, you need implement your own element to build up the whole pipeline
You need get data in timer interrupt instead of use normal task
https://www.toptal.com/embedded/esp32-audio-sampling
https://docs.espressif.com/projects/esp ... audio.html

Who is online

Users browsing this forum: No registered users and 81 guests