Chat freely about anything...

User avatar
By teddyz
#73236 Thanks, both of you!

I have managed to send out the data using i2s. Happy! :)

But there are a few things that makes it a bit difficult.
The clock out (I2SO_BCK) is on GPIO15, which happens to be the same pin that I would like to use for SD-card chipSelect. It is not convenient, but I know how to solder. I have no use for the clock signal, so if it would be possible to turn off, then... great.

Word Select is output on GPIO2, which is also a pin I want to use for other stuff. On Wemos D1 mini it controls the LED. I have managed to use it for the LED and a button at the same time. The word-signal does not harm that much since it is only present when actually playing a file.

The data output (I2SO_DATA) goes to the serial RX pin. I can live with no serial RX, but I want serial TX. I don't know if the random data on this pin can cause extra interrupts/work for the CPU.

Reading files is too slow when using only one bit per byte. So now I am struggling to make the code to make intermediate files to use when playing signals. I had to abandon SD and go for SdFat that supports long filenames.