← index #8788Issue #8527
Off-topic · high · value 5.353
QUERY · ISSUE

ESP32 I2S master clock support

openby kimstikopened 2022-06-20updated 2024-10-17
enhancement

It appears that the I2S class does not currently support a I2S DAC that requires a master clock.
BTW: What is easiest workaround to use ES7134LV with micropython?

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