Search found 85 matches

by Jakobsen
Mon Jan 23, 2017 11:41 pm
Forum: Showcase
Topic: ESP32 Webradio
Replies: 185
Views: 158781

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: 185
Views: 158781

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: 185
Views: 158781

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: 3521

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: 3521

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...

Go to advanced search