Search found 8 matches
- Wed Jan 24, 2024 2:34 pm
- Forum: ESP-IDF
- Topic: Accessing NVS/FAT from task where stack is in external RAM
- Replies: 6
- Views: 2326
Re: Accessing NVS/FAT from task where stack is in external RAM
Interesting phrasing Yes sorry, what I meant to ask was if accessing NVS/FAT from task where stack is in external RAM is something that is expected to work or not, given that it do work on 4.4.4 and not on 5.1.2. I have a project with several task with stack in external RAM, all of which are readin...
- Tue Jan 23, 2024 5:28 pm
- Forum: ESP-IDF
- Topic: Accessing NVS/FAT from task where stack is in external RAM
- Replies: 6
- Views: 2326
Re: Accessing NVS/FAT from task where stack is in external RAM
I made an example where I can reproduce the issue: #include "esp_log.h" #include "nvs.h" #include "nvs_flash.h" #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <string> #define TAG "MAIN" #define NVS_STORAGE "storage" #define NVS_READ_WRITE_TASK_STACK 8192 nvs_handle_t _nvs_handle...
- Wed Jan 17, 2024 4:08 pm
- Forum: ESP-IDF
- Topic: Accessing NVS/FAT from task where stack is in external RAM
- Replies: 6
- Views: 2326
Accessing NVS/FAT from task where stack is in external RAM
Hi! I'm using ESP32-S2 with an external 2MB PSRAM. In my program I have various tasks, all of which where I allocate the task stack in external RAM (using CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY and xTaskCreateStatic() with EXT_RAM_BSS_ATTR StackType_t _main_event_stack[MAIN_EVENT_TASK_STACK]). In...
- Mon Jul 25, 2022 3:38 pm
- Forum: ESP-ADF
- Topic: Ogg decoder - 24 bits or higher output
- Replies: 0
- Views: 1830
Ogg decoder - 24 bits or higher output
Hi! I'm using the esp-adf built in ogg decoder, but I'm unable to make it output anything other than 16 bits ints. My DAC support 24 bits, and I would like to utilize this. There is nothing in the ogg decoder configuration to configure this, as far as I'm aware. This is what I get from the decoder: ...
- Mon Jul 25, 2022 3:34 pm
- Forum: ESP-ADF
- Topic: Can ESP32 S2 run as a wifi webserver and play mp3 audio at the same time?
- Replies: 4
- Views: 5385
Re: Can ESP32 S2 run as a wifi webserver and play mp3 audio at the same time?
Yes this is possible. I'm using ESP-ADF on a ESP32-S2 to stream music from an remote HTTPS server, decrypt it, OGG decode it and then feeding it to the DAC, at the same time as there is a web-server running, another websocket connection open as well as continuous separate HTTPS calls happening (for ...
- Mon May 01, 2017 4:37 pm
- Forum: General Discussion
- Topic: I2S syncronized MCLK output
- Replies: 3
- Views: 12263
Re: I2S syncronized MCLK output
I found the issue, with help from this one: https://github.com/espressif/esp-idf/issues/300 There where actually three problems: 1) the one that they suggest in the link, that is, push data to I2s only once, after the loop. 2) I had changed the sample rate from 36000 to 32000, but I hadn't changed t...
- Sun Apr 30, 2017 10:30 am
- Forum: General Discussion
- Topic: I2S syncronized MCLK output
- Replies: 3
- Views: 12263
I2S syncronized MCLK output
Hi! I have an external DAC, namely a CS4344, that needs a MCLK that is 256x LRCK. Documentation states "there is no required phase relationship, but MCLK, LRCK and SCLK must be synchronous". There are some threads here touching the subject: https://esp32.com/viewtopic.php?t=1585 https://esp32.com/vi...
- Sat Apr 29, 2017 6:00 pm
- Forum: General Discussion
- Topic: How to output I2Sn_CLK for external codec/DAC use(master clock,Not BCLK)
- Replies: 2
- Views: 6363
Re: How to output I2Sn_CLK for external codec/DAC use(master clock,Not BCLK)
Hi,
Did you find an answer to your question? I'm also interested in how to output the master clock.
Did you find an answer to your question? I'm also interested in how to output the master clock.