Open SimonPVS opened 2 years ago
Actually, the hardware of I2S on ESP32 does not supported slave mode pretty well, 48 KHz sample rate is too high for slave mode with 32bit to catch the clock, you may need to lower down the sample rate.
I have managed to make it work recently. But I need to do more tests to know if it is stable. I do not use the MCLK input anymore but i am using a fixed I2S MCLK clock now (25MHz).
I am not sure that tis will be a good sollution because the master and slave MCLKs are not the same now (still have to see if this will give any issues)
@SimonPVS , Could you please explain how did it work for you , i am still struggling , ESP32 as I2S SLAVE |TX mode
I am also struggling to setup standard ESP32 to I2S Slave TX mode
A bit different but maybe related ... my problem is better described in this esp-forum issue: --> I2S: Samples incorrectly zeroed when I2S interface is in slave mode
@SimonPVS or others would love to see what worked for you ..
grateful for any input here!
Environment
Problem Description
I am trying to use i2s with 32 bits per sample at a sample rate of 48kHz. But this does not seem to work. I am using the esp-idf i2s full duplex example. With 16 bits per sample it works but when switching to 32 bits per sample, it doesn't.
My config:
Expected Behavior
32 bit i2s
Actual Behavior
No i2s output
Code to reproduce this issue