Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

using esp01 without spi ram, but with i2s codec #34

Open
eamonwhiter73 opened this issue Oct 3, 2018 · 2 comments
Open

using esp01 without spi ram, but with i2s codec #34

eamonwhiter73 opened this issue Oct 3, 2018 · 2 comments

Comments

@eamonwhiter73
Copy link

eamonwhiter73 commented Oct 3, 2018

I see it says:

ESP pin - I2S signal

GPIO2/TX1 - LRCK
GPIO3/RX0 - DATA
GPIO15 - BCLK

Can I reassign GPIO15 by doing find and replace on GPIO_ID_PIN(15) and BIT(15) in the code, and reassign, or do I only need to worry about GPIO_ID_PIN(15). A am trying to adapt this tutorial to the ESP8266-01. Is it possible to do this?

@GeorgeHahn
Copy link

This may not be possible - that pin is connected to the I2S bit clock. You'll need to check the ESP8266 datasheet to see if it's possible to use another pin for the I2S bit clock.

Here's the line where that's setup:

PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDO_U, FUNC_I2SO_BCK);

Judging by this code, it doesn't look like that signal is available on another pin.

@eamonwhiter73
Copy link
Author

cool thanks, you saved me some time :) ... but I got some soldering practice in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants