-
Notifications
You must be signed in to change notification settings - Fork 139
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
Squeezelite and Lyriat board #28
Comments
It depends what the ES8388 needs in term of I2C config. Do you know? |
Yes I know it well enough (I wrote a handler for another app) |
How many for a simple use? you could use dac_controlset, it's not complicated. Otherwise you'll have to go the C route |
Hi Philippe, For the moment, it does not work... |
Hi Philippe, And I watched the I2C signals SDA ans SCL using a logic analyser. Many thanks |
what do you have in traces? |
And you're missing a few comma in the payload and syntax is wrong (using = instead of :) . Use a validator like this one https://jsonlint.com/ Use that example { "init": [ {"reg":41, "val":128}, {"reg":18, "val":255} ], "poweron": [ {"reg":18, "val":64, "mode":"or"} ], "poweroff": [ {"reg":18, "val":191, "mode":"and"} ] } |
Thanks for the json validator. |
Hi Philippe! I wonder if this could not be done with an NVS parameter (existing or to be created) ? |
Can you share what you did? |
What I did: |
oh but can't you just not use MCLK (register 43, bit4)? |
I have already tried this. But it does not work on the Lyriat board (why?...) |
Hey @kheperV3 would you mind to share the config you used to get the lyrat board working? I'm trying to figure it out by myself, but I'm having problems... Thanks in advance. |
Hi dtorner |
Thanks you very much @kheperV3, I'll try to get it working using that info. |
Hey @kheperV3, thanks for the work on LyraT. I followed your post here #28 (comment) but I'm struggling with the last part with the dac_controlset setting. I get the idea of converting the different registers to a JSON format but how does it fit in the different actions possible (init/poweron/...) I'm curious to know (and eager to learn) how you went to have everything working 😄 |
This https://github.com/sle118/squeezelite-esp32/blob/master-cmake/README.md#daci2s section of the README tells you how to use dac_controlset |
thanks @philippe44, I've already looked at how to use the dac_controlset and I get it but what I don't understand is how to find the expected registers that I need to set (sorry if it's a stupid question) |
Don't worry about stupid or not stupid question 😄. Now if your board as an ES8388 codec, support is now built-in, you just have to set model=ES83888 (see README) and set the proper gpio in the dac_config and you are good to go! |
Damn, how could I miss that 😅 Thanks a lot! It's working perfectly 🎉 Ok, now I have to take some time to understand it all but that's a start, thanks again :) |
Glad to help (un Français peut-être?) |
oui ! 🇫🇷 |
Tu peux nous retrouver sur notre gitter https://gitter.im/SqueezeAmp/community?source=orgpage (ça ne parle pas que de SqueezeAMP) |
Hi , im trying to get the lyrat firmware flashed, and i tried to make the configuration working by compiling with VS code studio ( and the extensions) , with no luck after spending lot of time , so my question are : is there a binar i could flash , to get it initially working?, is it possible to flash it from a MAC?, si there a step by step procedure to get the environment correctly set for VSC? , thanks a lot and appreciate any help . |
Please go there https://github.com/sle118/squeezelite-esp32 |
I am trying to install Squeezelite on a Lyriat board.
I think that the biggest problem is to handle the ES8388 chip (vs the AC101 on the SqueezeAmp board).
I think there would be 2 possibilties:
What do you think about this ?
Many thanks!...
(this is not an issue but a request for an advice!)
The text was updated successfully, but these errors were encountered: