← index #8641Issue #8527
Related · high · value 2.820
QUERY · ISSUE

ESP32-C3 I2S

openby dave1167opened 2022-05-06updated 2025-01-03
port-esp32

Hi,
Is there any technical reason why I2S is missing from the ESP32-C3 build? Is there a likelihood it will be included in the future?
Many thanks

CANDIDATE · ISSUE

ESP32: Support I2S-driven ADC sampling

openby oclykeopened 2022-04-13updated 2024-07-24
port-esp32

The ESP32 I2S peripheral supports an interesting feature: it can be used to push ADC samples into DMA memory. Currently the ESP32 I2S interface does not allow configuration of the peripheral in this way, though it would only require a little effort.

There is not much configuration available. Besides sample rate and number of bits (already included in the I2S module)

  • which ADC peripheral to use
  • which ADC channel to use

Proposal:

  • create a class similar to the I2S class called I2SADC for the ESP32 port
  • leverage most of the existing code (machine_i2s_init_helper) for initialization of this new class

Any thoughts? I really would like to see support for this and so will begin work on a PR asap.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied