-
Notifications
You must be signed in to change notification settings - Fork 142
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 signal. Can it be added? #140
Comments
Have you tried just tying it to ground? The PCM5102A has an SCK pin (probably the same... clock) and that's what it needs and works fine. If I recall, that just makes it use the default clock speed. |
Okay, I'll check it out |
Unfortunately, in my case it causes a short circuit. |
I did some searching around for WM8805. Most seem made for Raspberry Pi or... Cars? It seems to require 5V input... I'm wondering if the board's logic is also 5V, which can be a problem with ESP32s especially since logic shifters may not be able to be quick enough to keep up with audio decoding. If you have any spec sheets or more info, it would make it easier for folks to help you. To be honest, I can't find anything about your particular board at all, except that it's 3-4x the price of the cheaper and smaller PCM5102A: https://www.aliexpress.com/item/1005007975998215.html But I notice this board also has resistor settings instead of jumpers. You may need to change these... not sure what resistors are currently on your board. No one seems to have used your board in any Arduino project. But I'd guess you need 16 bit settings? Here's the smaller, cheaper, confirmed working PCM5102A... By the way, notice the jumpers change how the board acts. The jumpers as shown are all confirmed working in typical ESP projects like yoradio: |
I took a look over there for you and I see that project even uses the same spec I have (maybe I got it from there?): Just like the first, only 3 pins are connected to the ESP32 and one is instead attached to 5V? Which means on this one MCLK is fulfilling the clock function while on the other it is LRCK. I did some more searching for you to see if I could find some wiring with the WM8805 and I did find this: Which I thought at first, once again, you only need 3 wires to put Data In (DOUT would be unused) From here: http://rcl-radio.ru/?p=90769 I'm really wondered what got you using this as a DAC. It seems to be a transceiver - used more for encoding audio data rather than decoding it...! In any case, I'd recommend trying MCLK to something that keeps it high. Actually if you used it successfully with an ESP32 before, chances are that pin needs 3.3V logic. You know, most ESP pins are actually left high if unspecified? You could trying attaching it GPIO0 and see if it works. Try EN pin. Try just 3V3. If any or all work, test for things that might make it not work. Especially test sleep / bootup if on GPIO 0 or EN. I think 3V3 might be best though. |
I think there is need to add MCLK in setpinout in then we need to declare pin we need: |
Hello
I have this DAC model WM8805
Can I add MCLK signal to make it work?
The text was updated successfully, but these errors were encountered: