Search found 89 matches

by Jakobsen
Thu Jan 26, 2017 9:04 am
Forum: Hardware
Topic: [Answered] What are the ADC input ranges?
Replies: 17
Views: 93285

Re: What are the ADC input ranges?

Hi Kolban I did poke around with the ADC on the ESP32 and fund that 3V3 gave full house on the ADC output value. But the result was very noisy - also reported by others - and in the given setup not ok for my application (<10 mV resolution needed) By the way thanks for the work you have put into your...
by Jakobsen
Thu Jan 26, 2017 12:17 am
Forum: Showcase
Topic: ESP32 Webradio
Replies: 188
Views: 508974

Re: ESP32 Webradio

Hi Spirit and BuddyCasino Thanks a lot - Rockon here. http://5.103.131.182/esp32/img/esp32_web_radio_stereo_32bits.png TX_FIFO_MOD = 2 did the trick, rolled back my changes on the i2s driver. I now have full 32 bits through the DMA/i2s hardware and into my amplifier. Even enabled the stereo mode to ...
by Jakobsen
Wed Jan 25, 2017 11:41 am
Forum: Showcase
Topic: ESP32 Webradio
Replies: 188
Views: 508974

Re: ESP32 Webradio

Hi Spirte Thangs a lot looking into to this. I did poke around with TX_FIFO_MOD in my search to get 32 bits out of you impressive chip. From what I saw it did some Left/Right shit around but no sign of live in the 17-32 bit of audio i2s_data stream. But I will give it a try tonight. I succeed last n...
by Jakobsen
Tue Jan 24, 2017 8:32 pm
Forum: Showcase
Topic: ESP32 Webradio
Replies: 188
Views: 508974

Re: ESP32 Webradio

Hi BuddyCasino I mite have chance other place ind the i2s driver - I will clean up later tonight and do a simpler hack to the driver layer. The i2s driver used the sample rate and bits pr sample to setup i2s_bck and i2s_ws clock and ratio. For 44100 and 32 bits we get a 1/44100 period i2s_ws and a 2...
by Jakobsen
Mon Jan 23, 2017 11:41 pm
Forum: Showcase
Topic: ESP32 Webradio
Replies: 188
Views: 508974

Re: ESP32 Webradio

YES - had to do a hack in the i2s driver When I set the number of bits pr sample to 32, this call for 8 bytes pr sample when calling i2s_push_sample. This works for 16 bits pr sample where i2s_push_sample calls for 4 byte. So just for a try I hack the i2s in the 32 bit setting to only put 4 bits to ...
by Jakobsen
Sun Jan 22, 2017 11:57 pm
Forum: Showcase
Topic: ESP32 Webradio
Replies: 188
Views: 508974

Re: ESP32 Webradio

Still no good new for the i2s driver in 32 bit mode int ret; ret = 0; int i; for (i=0; i < no_samples; i++) { #if defined(USE_DAC) short samp = mono_to_8bit_stereo(short_sample_buff[i]); #else int samp = mono_to_16bit_stereo(short_sample_buff[i]); char samp2x32[8]; samp2x32[0] = 0; samp2x32[1] = 0; ...
by Jakobsen
Sun Jan 22, 2017 11:08 pm
Forum: Showcase
Topic: ESP32 Webradio
Replies: 188
Views: 508974

Re: ESP32 Webradio

Cool work done BuddyCasino I cloned you code and had to disable last line in app_main.c // init player player = calloc(1, sizeof(Player)); player->state = PLAYER_STARTING; ESP_LOGI(TAG, "RAM left %d", esp_get_free_heap_size()); // ESP_LOGI(TAG, "app_main stack: %d\n", uxTaskGetStackHighWaterMark(NUL...
by Jakobsen
Mon Jan 16, 2017 10:15 pm
Forum: ESP-IDF
Topic: LoadProhibited Exception in driver/i2s.c
Replies: 5
Views: 8728

Re: LoadProhibited Exception in driver/i2s.c

I made my own chip - but I would not recommed that :-) We support up till 24 bits but requires a full 64 bits frame on WC, if not at faster related MCLK is pressent. Amplifier/Codec differ on flexiblity in the interface here. BuddyCasino get a Amplifier/Codec - your ear is you best friend here. Wher...
by Jakobsen
Mon Jan 16, 2017 8:41 am
Forum: ESP-IDF
Topic: LoadProhibited Exception in driver/i2s.c
Replies: 5
Views: 8728

Re: LoadProhibited Exception in driver/i2s.c

Hi I also is trying to get the i2s driver pump out data and has still not succeed. Did a simple test using the exsample/22_i2s/ - I crank up the data rate 44100, 32 bits pr sample, I2S_rigth_left mode and allocated some DMA buffers. DMA allocation look ok, From the specified number of buffers and le...