Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calls to AudioOutputI2SNoDAC() kill other pins #689

Open
KDMcMullan opened this issue Jun 17, 2024 · 1 comment
Open

Calls to AudioOutputI2SNoDAC() kill other pins #689

KDMcMullan opened this issue Jun 17, 2024 · 1 comment

Comments

@KDMcMullan
Copy link
Contributor

When I call

out = new AudioOutputI2SNoDAC();

it appears to do something to pin D8 (GPIO15). It doesn't seem to function well as an input after this call.

@KDMcMullan
Copy link
Contributor Author

This is believed to be a feature of the
WRITE_PERI_REG(PERIPHS_IO_MUX_MTDO_U, orig_bck);
call in
AudioOutputI2SNoDAC.cpp
I don't fully understand the low level registers, but it is believed this tells GPIO15 to be the SPI chip select. The workaround is to call
pinMode(15, INPUT); // DTMF decoder pins
after the call to the above.

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

No branches or pull requests

1 participant