Search found 85 matches

by Jakobsen
Thu Mar 30, 2017 9:12 pm
Forum: Showcase
Topic: ESP32 Webradio
Replies: 185
Views: 162776

Re: ESP32 Webradio

Hi Buddy

Nice - I will give it at try over the weekend - Regarding Git - I just have to learn.

Have you notices performance increase after the idf 2.0 rc update. My DSP/Biquad runs 30-40% faster...

Thanks for the head up on the hack chat
/jørgen
by Jakobsen
Thu Mar 30, 2017 7:23 am
Forum: General Discussion
Topic: ESP32-Lyra Smart Audio
Replies: 15
Views: 14953

Re: ESP32-Lyra Smart Audio

Hi Just a small update from here - I did some DSP/biquads on the audio stream and got some experience on how far it can be pushed. 1. Float math very easy to work with and only low overhead compared to fixed point math 2. IDF rev 2.0 rc update gave 50 % better performance on my float DSP/biquad impl...
by Jakobsen
Tue Mar 07, 2017 10:32 pm
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 54
Views: 35766

Re: I2C SCL frequency 10% less than it should be at 400kHz

Hi I also found that my hot fix works for both 100kbps and 400kbps. I measure frequency on the 8 first scl clock only. period of 9 th clock (ACK) is still long and random. From a system perspective i would never relay on any derived frequency from a i2c interface - Do you have any reason for doing s...
by Jakobsen
Tue Mar 07, 2017 12:02 pm
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 54
Views: 35766

Re: I2C SCL frequency 10% less than it should be at 400kHz

Hi My hot fix for the i2c_scl clock below I tried also to change I2C[i2c_num]->sda_sample.time = half_cycle - but did not get to a stable setup. From time to time the driver gets to unrecoverable stated with random data on data/clk line :-( I2C[i2c_num]->fifo_conf.nonfifo_en = 0; } //set frequency 7...
by Jakobsen
Mon Mar 06, 2017 2:39 pm
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 54
Views: 35766

Re: I2C SCL frequency 10% less than it should be at 400kHz

Did some i2c scl measurements at 100, 200, 300, 400 and 800 kbps Looks like (last plots in this post) we have a 190 ns constant unaccounted delay per cycle scl for a 160MHz and 240MHz system clock using the idf i2c driver - so must be related to amba bus frequency. Any way sub the 190ns in the i2c_s...
by Jakobsen
Mon Mar 06, 2017 11:51 am
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 54
Views: 35766

Re: I2C SCL frequency 10% less than it should be at 400kHz

Hi
I did 800 kbps just to check if how the system scaled. I was ok but with const clock stretch period.
Yes I will measure some exact frequency and report back. /j
by Jakobsen
Mon Mar 06, 2017 8:58 am
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 54
Views: 35766

Re: I2C SCL frequency 10% less than it should be at 400kHz

Hi I have seen issues when pushing i2c frequency and i see the i2c hardware into random oscillation state that require a hard reset. I thing it is important to brake down the issues id on the I2C interface - main gold is to get them out the the way one by one. From what i can tell you are only writi...
by Jakobsen
Thu Mar 02, 2017 6:10 pm
Forum: ESP-IDF
Topic: I2C maximum data rate
Replies: 1
Views: 3523

Re: I2C maximum data rate

Hello Yakir I did try to push i2c com speed and did not see any problem setting up the driver to 800 kbps. Communication was ok - if you have the right (externl) pull on the i2c bus. I did notice that one of the clock pulses (between data and ack ) do not seem to get scaled with the faster clock set...
by Jakobsen
Wed Mar 01, 2017 8:43 am
Forum: Showcase
Topic: ESP32 Webradio
Replies: 185
Views: 162776

Re: ESP32 Webradio

Hi Rudi I did change the plla_ena in the i2s code as well. It is the jitter that we need to reduce. For audio codec and i2s interface with out faster MCKL in the setup, the jitter on BCK crank up the noise floor in the audio band. We need more insight to the esp32 clock system to get the apll going ...
by Jakobsen
Tue Feb 28, 2017 8:47 pm
Forum: Showcase
Topic: ESP32 Webradio
Replies: 185
Views: 162776

Re: ESP32 Webradio

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

Go to advanced search