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

MCLK Pin Option #151

Closed
AxelJust opened this issue Jun 22, 2022 · 6 comments
Closed

MCLK Pin Option #151

AxelJust opened this issue Jun 22, 2022 · 6 comments

Comments

@AxelJust
Copy link

Thanks For your great Work!
By now I had great sucses flashing all kind of ESP32 Audio boards and got enouf motivation to start my own Desing.
One Amp based on the ADAU1701 (JAB5) would be Ideal for one of my Projects. Unfortunatly it isn't posible to use it without MCLK.

An option to set a Pin as MCLK output would be all we need for that.

@wizmo2
Copy link

wizmo2 commented Jun 22, 2022

I think this is availble now

"The option "mck" is used for some codecs that require a master clock (although they should not). Only GPIO0 can be used as MCLK and be aware"

@AxelJust
Copy link
Author

AxelJust commented Jun 22, 2022

With a TTGO T8 on hand I'm on fw: I2S-4MFlash.16.1023.master-cmak, mode: Squeezelite-ESP32
I coudn't find "mck" anywehre. not in the UI or repository.
Would you simply put model=I2S,bck=33,ws=25,do=32,mck=0 in dac_config?
Can you tell us what you are quoting @wizmo2 ?

@AxelJust
Copy link
Author

oh, sorry. Google found that frase in the README.md . wierd that github coudn't find itself.
I'l try the dac_config from above and giv an report.

@wizmo2
Copy link

wizmo2 commented Jun 22, 2022

If you have issues, check out this configuration. T-Audio/T9 are more or less the same. The WM8978 model has hardcoded MCLK support.

With a TTGO T9 on hand I'm

@AxelJust
Copy link
Author

I folowed your documentation before to setup my T9 as well, thank you!
in That case I just made a tipo.
By now, pin 0 works to avoid horible noise the ADAU1701 throws out when confused.
But Audio isn't puut out either.
Now I need to find out if SigmaStudio is needet to change something in the DSP.
Or dose sombody els have an idea?
Greatings

@AxelJust
Copy link
Author

GOOD NEWS

After resting my mind for some days and corecting a falls Pin Conection I made, I Got it to work this time:

Parts:

Pinout:

JAB5________ESP32
1-LRCLK____25
2-BCLK_____33
3-DATA1___32
4-GND_____GND
5-+5V______3V3 or 5V ( JAB5 Pin actualy is at 3,5V; VIN Pin on T8 not posible )
6-MCLK____0

dac_config: model=I2S,bck=33,ws=25,do=32,mck=0

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

2 participants