Search found 5 matches

by escalator
Thu Sep 21, 2023 9:53 am
Forum: ESP-IDF
Topic: PCM1808 SCLK
Replies: 8
Views: 3010

Re: PCM1808 SCLK

@plasmaphase I'd also love to know if MCLK was the answer ;) Hi, yes the GPIO0 pin carries out the MCLK signal from I2S by default in the ESP32, it can go directly to pin 6 of PCM1808 (SCKI) or, better, you can do it through a 10 to 49 ohm resistor. As an example for plain ESP32 chip: #define SAMPL...
by escalator
Sun Jan 03, 2021 1:25 pm
Forum: ESP-ADF
Topic: I2S Slave mode with external MCLK
Replies: 8
Views: 13559

Re: I2S Slave mode with external MCLK

audio_element_handle_t i2s_stream_writer = NULL; ESP_LOGI(TAG, "[4] Create i2s stream to write data to codec chip"); i2s_stream_cfg_t i2s_cfg = I2S_STREAM_CFG_DEFAULT(); i2s_cfg.i2s_config.channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT; i2s_cfg.type = AUDIO_STREAM_WRITER; i2s_cfg.i2s_config.sample_rat...
by escalator
Tue Jun 26, 2018 8:22 am
Forum: ESP-ADF
Topic: Basic example for mp3 from sd card
Replies: 4
Views: 13747

Re: Basic example for mp3 from sd card

Hi @krzychb:
Thanks for your info, you are right, that example includes the answer to my question. :)
by escalator
Wed May 30, 2018 9:25 am
Forum: ESP-ADF
Topic: Basic example for mp3 from sd card
Replies: 4
Views: 13747

Re: Basic example for mp3 from sd card

Hi krzychb, Big thanks for the advice. But maybe I did not express myself correctly. I understand how to select between files inside the SD but my question is more about the right steps needed to reset the pipeline between file switching (pipeline run, stop, resume, init , terminate,etc...)or to aut...
by escalator
Tue May 29, 2018 11:25 am
Forum: ESP-ADF
Topic: Basic example for mp3 from sd card
Replies: 4
Views: 13747

Basic example for mp3 from sd card

Hi, I followed the examples included in esp32-adf sdk for single file mp3 playing from the sd card using an audio pipeline, it works well. But I would like to know how is the correct sequence to jump from file to file if you have many files on sd card during play not only a single file as the exampl...