ESP32 Webradio

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: ESP32 Webradio

Postby Jakobsen » Fri Jan 27, 2017 2:56 pm

Yes I will get you some number on the bck jitter - and the APLL buggy frequency calculation is now were to be found.

/j
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: ESP32 Webradio

Postby Jakobsen » Tue Jan 31, 2017 3:27 pm

Hi
I have stable stereo mp3 audio through the device - I need to do some small code clean up and expect to commit by the end of the week. Very nice work from all involved.

Single issue outstanding is the clock jitter due to APLL not correct setup/running.

I measured the i2s_bck clock jitter for 128 kbps 44.1 kHz mp3 stream - estimate that to add 20 dB to the noise floor - still not bad but...

Image

When that is fixed we have a very nice and potential setup ....

Regards Jørgen
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: ESP32 Webradio

Postby Jakobsen » Sat Feb 04, 2017 10:55 pm

Hi Buddy
I have commited my 2ch update to you repo - please let me know if i succeeded - I am a svn guy :-)
/j
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Sun Feb 05, 2017 9:05 am

I don't see anything. If you're coming from SVN, working with git can be confusing at first - I've been there too. :-)

The way this works is:
  • you fork my repo, you then have an independent copy of the repository on your github account
  • do "git clone" to download the fork you just made to your local machine
  • you can now make your changes directly on the master branch (or preferably on a separate feature branch)
  • commit your changes using "git commit", note that this will only affect your local repo on your local machine
  • to sync your local repo to your github repo, make sure to "git push" your changes
  • now you can create a "pull request", asking me to merge back the changes you made in your fork
Mentally its a very different model from SVN, and unfortunately Git is not that user friendly. But once you get it, you will never want to go back to SVN.

If you have trouble I'm happy to help.

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: ESP32 Webradio

Postby Jakobsen » Sun Feb 05, 2017 10:22 am

Hi Buddy
O yes - need more coffee - i did commit - as I use to on SVN but i see there is more to it then that.
I will try to follow you description tonight and have added git to my bucket list.
Thanks /j
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: ESP32 Webradio

Postby Jakobsen » Mon Feb 06, 2017 2:46 pm

Hi Sprite
Do you have any numbers to go with that jitter? Fyi, we have a separate audio PLL in the ESP32, but unfortunately the details of that aren't public yet (as in: I'd love to tell you here, but I don't have any internal docs on it and our HW engineers are on holiday). Maybe enabling that can help; I'll ask around after Chinese new year.
Did you get at change to talk to the hardware team regarding APLL clock jitter.
Merus Audio EVK and snowball demo board on its way to Shanghai :-)

/j
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 Webradio

Postby ESP_Sprite » Tue Feb 07, 2017 1:56 am

Fancy! Wrt APLL jitter: The driver actually does not use the APLL at the moment; it divides down an internal 160MHz signal using a fractional divider. This causes the jitter you see. I'm asking around if we have example code to configure the APLL somewhere; although there's a bug in it for the first generation of silicon (it ignores some dividers) it may be enough to get a more stable BCLK signal.

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Tue Feb 07, 2017 7:42 am

@ESP_Sprite: it seems supply of ESP32 modules has dried up, is production currently halted due to the silicon bugs? If yes, do you have a rough idea when they will be available again?

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 Webradio

Postby ESP_Sprite » Wed Feb 08, 2017 3:01 am

Could be, yes. We should get the new silicon this week, I guess general availability won't be too far off from there.

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: ESP32 Webradio

Postby Jakobsen » Wed Feb 08, 2017 8:39 pm

Hi BuddyCasino

Let me know if you are in urgent need. I got 10 from the first batch and can share a few. We cant have you not working on the esp32 devices :-)

/j
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then

Who is online

Users browsing this forum: No registered users and 42 guests