Search found 10 matches

by fernando306
Sat Sep 29, 2018 10:24 pm
Forum: General Discussion
Topic: How to get started? Bt AD2P + BLE project
Replies: 6
Views: 9321

Re: How to get started? Bt AD2P + BLE project

I'm happy to say that I found out what the problem was.
My DSP could run just fine with 32FS. The problem is that without use_apll=1 on the i2s config, the clock was unstable and the DSP refused to work. Once use_apll = 1 was set, everything worked.
by fernando306
Thu Sep 27, 2018 1:07 pm
Forum: ESP-ADF
Topic: Failed to run ADF bt_sink demo - keeps resetting.
Replies: 2
Views: 6628

Re: Failed to run ADF bt_sink demo - keeps resetting.

I just would like to highlight: [0;32mI (165) cpu_start: Starting scheduler on PRO CPU.[0m [0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m assertion “false && “item should have been present in cache”” failed: file “/Users/fernando/esp/esp-adf/esp-idf/components/nvs_flash/src/nvs_item_hash_l...
by fernando306
Thu Sep 27, 2018 12:06 am
Forum: ESP-ADF
Topic: Failed to run ADF bt_sink demo - keeps resetting.
Replies: 2
Views: 6628

Failed to run ADF bt_sink demo - keeps resetting.

Hello, I have the LyraT board with the WROVER module, and it works with the ADF bt_sink demo just fine. I am trying to get that demo to work on my ESP32 thing from Sparkfun, but after flashing, it simply keeps resetting. Any ideas why? :ugeek: This is what the UART shows: ets Jun 8 2016 00:22:57 rst...
by fernando306
Mon Sep 17, 2018 2:39 am
Forum: General Discussion
Topic: How to get started? Bt AD2P + BLE project
Replies: 6
Views: 9321

Re: How to get started? Bt AD2P + BLE project

Very well, On the file "bt_app_av.c" I found this and I added another line to "lock" the i2s clock / bit configuration in place: case ESP_A2D_AUDIO_CFG_EVT: { a2d = (esp_a2d_cb_param_t *)(p_param); ESP_LOGI(BT_AV_TAG, "A2DP audio stream configuration, codec type %d", a2d->audio_cfg.mcc.type); // for...
by fernando306
Sun Sep 16, 2018 10:07 pm
Forum: General Discussion
Topic: How to get started? Bt AD2P + BLE project
Replies: 6
Views: 9321

Re: How to get started? Bt AD2P + BLE project

Hello my friends, I've been trying very hard here to get this to work, any help is sincerely appreciated! I'm working with the "a2dp_gatts_coex" example. I changed the bits per sample to 32, and the sample rate to 48 KHz. That makes my BCK jump to the correct 64 FS to interface with my DSP via I2S. ...
by fernando306
Sun Sep 16, 2018 6:29 pm
Forum: General Discussion
Topic: How to get started? Bt AD2P + BLE project
Replies: 6
Views: 9321

Re: How to get started? Bt AD2P + BLE project

I've got the demo to work, but my Bit Clock pin is MCLK / 8 (or 32 x FS), which in this case is 1.411 MHz for a 44.1kHz sampling rate.

Is there ANYWAY to make this BCK pin MCLK / 4 (or 64 x FS)?

Thanks again!
by fernando306
Thu Sep 13, 2018 3:05 am
Forum: General Discussion
Topic: Clock out? Clock sync with the system
Replies: 2
Views: 4541

Re: Clock out? Clock sync with the system

Hey my friend, Thank you for your answer. Since I will have some audio stuff on the same PCB, it is good to run everything clock synchronized in order to avoid audible noise issues. I've had that kind of problem before, a slight deviation between two identical crystals caused an annoying background ...
by fernando306
Thu Sep 13, 2018 3:03 am
Forum: General Discussion
Topic: How to get started? Bt AD2P + BLE project
Replies: 6
Views: 9321

Re: How to get started? Bt AD2P + BLE project

Awesome, thank you!
by fernando306
Thu Sep 06, 2018 12:37 pm
Forum: General Discussion
Topic: Clock out? Clock sync with the system
Replies: 2
Views: 4541

Clock out? Clock sync with the system

Hello my friends, Is there anyway to have the ESP32 output a clock to synchronize with the rest of the system? It is good practice to have everything running from the same clock source rather than having multiple crystals / oscillator on the same PCB. A 12MHz output would be desirable. Any suggestio...
by fernando306
Wed Sep 05, 2018 11:27 pm
Forum: General Discussion
Topic: How to get started? Bt AD2P + BLE project
Replies: 6
Views: 9321

How to get started? Bt AD2P + BLE project

Hello my friends! I'm excited about learning this ESP32. I would like to ask your expert opinions on how to get started programming on it to stream audio from my phone (use I2S output from ESP32 to DAC), as well as send data via BLE (I can use SPI, UART or I2C from ESP32 to MCU). Should I use arduin...