ESP32 Webradio

WiFive
Posts: 1214
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 Webradio

Postby WiFive » Tue Feb 28, 2017 7:11 pm


User avatar
rudi ;-)
Posts: 1134
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 Webradio

Postby rudi ;-) » Tue Feb 28, 2017 7:14 pm

BuddyCasino wrote:Its going to be on Github as soon as I got it to work.




we did it in the meantime

:mrgreen:
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

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

Re: ESP32 Webradio

Postby BuddyCasino » Tue Feb 28, 2017 7:31 pm

Thats ok. I won't fret.

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

Re: ESP32 Webradio

Postby Jakobsen » Tue Feb 28, 2017 8:47 pm

Hi WiFive

Thanks for the hint - No no sign of an APLL enabled by that call. Parameter change did do something but not any thing deterministic - and still a lot of jitter on BCK :-(

/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
rudi ;-)
Posts: 1134
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 Webradio

Postby rudi ;-) » Tue Feb 28, 2017 9:12 pm

Jakobsen wrote:Hi WiFive

Thanks for the hint - No no sign of an APLL enabled by that call. Parameter change did do something but not any thing deterministic - and still a lot of jitter on BCK :-(

/j



:roll:

perhabs you must change the register too:
clk_reg_1.jpg
clk_reg_1.jpg (73.02 KiB) Viewed 1271 times


clk_reg_2.jpg
clk_reg_2.jpg (89.37 KiB) Viewed 1271 times


clk_reg_3.jpg
clk_reg_3.jpg (41.48 KiB) Viewed 1271 times


cut from lib

rtc_clk.o rtc_xtal_32k_ena
rtc_clk.o rtc_8m_ena
rtc_clk.o rtc_plla_ena
rtc_clk.o rtc_set_slow_freq
rtc_clk.o rtc_set_fast_freq
rtc_clk.o rtc_bbpll_md
rtc_clk.o rtc_init_xtal_freq
rtc_clk.o rtc_get_xtal
rtc_clk.o rtc_apb_freq_up
rtc_clk.o rtc_uart_div_modify
rtc_clk.o rtc_uart_tx_wait_idle
rtc_clk.o rtc_set_cpu_freq
rtc_clk.o rtc_init_clk
rtc_clk.o rtc_init_clk_lite



perhabs it helps you
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1134
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 Webradio

Postby rudi ;-) » Tue Feb 28, 2017 9:29 pm

my setup test was from 2.5 MHz do 154 MHz
each higher pos was more clear as the preview

example 2.5 MHz ( Jitter )

Code: Select all

rtc_plla_ena(1, 0, 255, 0, 0); // 2.5MHz


2.50MHz.jpg
2.50MHz.jpg (108.62 KiB) Viewed 1270 times


info for the choice of src of clock and register are in the technical docu too


clk_reg_a.jpg
clk_reg_a.jpg (83.85 KiB) Viewed 1270 times


hope this helps.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

WiFive
Posts: 1214
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 Webradio

Postby WiFive » Tue Feb 28, 2017 9:33 pm


User avatar
rudi ;-)
Posts: 1134
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 Webradio

Postby rudi ;-) » Tue Feb 28, 2017 10:31 pm

yeap, WiFive is right.

316 kHz

316kHz.jpg
316kHz.jpg (104.44 KiB) Viewed 1267 times


you must play with the clk register itself too
and we must use the right src
there are many parameters possible, better we wait for the docu
we can stretch time too ( ? ! )
we can polarisation too ( ? ! )
we can invert too ( ? ! )
we can do more ( ? ! )

i think "my" setup was the best for 10MHz ..160 MHz
if we want smaller we need a fine tuning with other src by choice the right register.

best wishes
rudi ;-)
Last edited by rudi ;-) on Tue Feb 28, 2017 11:08 pm, edited 1 time in total.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1134
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 Webradio

Postby rudi ;-) » Tue Feb 28, 2017 10:50 pm

played with the stretching and polarisation
same 316KHz
but :

5_10
316kHz_5_10.jpg
316kHz_5_10.jpg (104.88 KiB) Viewed 1266 times


6_10
316kHz_6_10.jpg
316kHz_6_10.jpg (109.21 KiB) Viewed 1265 times


8_10
316kHz_8_10.jpg
316kHz_8_10.jpg (109.86 KiB) Viewed 1263 times


with more playtime the jitter can be compensated
and there are differences with
-> DevKitC V1
-> DevKitC V2
-> DemoBoard V2
-> Wrover V1
-> Wrover V2
-> ...

i mean, the jitter make sig time delayed waved, perhabs a caps to much in the line?
.. i do not know .. i am

hardware hobbiest

:mrgreen:
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1134
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 Webradio

Postby rudi ;-) » Wed Mar 01, 2017 7:05 am

Jakobsen wrote:
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.


Any progress?

BuddyCasino wrote:Its going to be on Github as soon as I got it to work.


Any progress
Where are you stuck

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

Who is online

Users browsing this forum: No registered users and 1 guest