将缓冲区从PSRAM通过SD_MMC获得的文件描述符f.write()写入SD卡的速度相当缓慢,只有0.5MB每秒
最快的方法应该是通过DMA直接从PSRAM搬运数据到SD卡,但是我没有找到相关的例程
有人知道我应该怎么做吗?
已经查看https://esp32.com/viewtopic.php?t=13758, 不过那是对于esp32而言
我现在使用的是ESP32S3, 4bit SDIO
Search found 8 matches
- Fri Apr 18, 2025 6:58 am
- Forum: ESP-IDF 中文讨论版
- Topic: 如何使用DMA从PSRAM配合SD_MMC写入数据到SD卡
- Replies: 0
- Views: 206
- Tue Apr 01, 2025 10:51 am
- Forum: 硬件问题讨论
- Topic: 适用于ESP32S3的外部FFT加速器
- Replies: 0
- Views: 492
适用于ESP32S3的外部FFT加速器
ESP32S3没有硬件fft加速器,计算起来太慢了。执行1024浮点运算需要300~600us。
有人知道什么硬件可以通过UART或者其他协议挂载并协助FFT计算吗?
有人知道什么硬件可以通过UART或者其他协议挂载并协助FFT计算吗?
- Mon Mar 24, 2025 3:25 am
- Forum: ESP-IDF 中文讨论版
- Topic: 求助,ESP32S3的日志打印串口与特定GPIO的冲突
- Replies: 1
- Views: 587
Re: 求助,ESP32S3的日志打印串口与特定GPIO的冲突
最好查看pinout或者数据表谨慎选择使用的引脚,有些引脚不是GPIO,用了就会产生问题


- Sun Mar 23, 2025 10:02 pm
- Forum: General Discussion
- Topic: ESP32 with libraries: sketch size too big.
- Replies: 3
- Views: 2791
Re: ESP32 with libraries: sketch size too big.
I don't think you can minimize sketch if those library does not provide custom option.
In platformIO, you can do:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_build.partitions = huge_app.csv
I have not try this in ArduinoIDE but I will assume solution is similar.
In platformIO, you can do:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_build.partitions = huge_app.csv
I have not try this in ArduinoIDE but I will assume solution is similar.
- Sun Mar 23, 2025 6:16 am
- Forum: Hardware
- Topic: I2S audio distortion issue
- Replies: 5
- Views: 1406
Re: I2S audio distortion issue
Assuming your PCB is ok, and assuming their library is ok, then the problem may be with your code. Is your wav file single channel, if not you can't write it to i2s directly like the example code you show does.
- Fri Mar 21, 2025 3:26 pm
- Forum: Hardware
- Topic: I2S audio distortion issue
- Replies: 5
- Views: 1406
Re: I2S audio distortion issue
Hard to tell where exactly the problem is. But speaking with the parameter, It's not clear exactly which i2s format micropython calls the underlying i2s controller. Maybe check the format configuration (Pin16 of PCM5102A) in your PCB first.
- Wed Mar 12, 2025 3:37 am
- Forum: ESP32 Arduino
- Topic: Availability of PCB for ESP32-Based Industrial IoT Sensor Node
- Replies: 4
- Views: 1215
Re: Availability of PCB for ESP32-Based Industrial IoT Sensor Node
You can assess datasheet to view the circuit diagram and understand how to start to use their module: https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32e_esp32-wroom-32ue_datasheet_en.pdf
Often they provide simple power supply instructions and a startup reset circuit design ...
Often they provide simple power supply instructions and a startup reset circuit design ...
- Wed Mar 12, 2025 3:26 am
- Forum: ESP-ADF 中文讨论版
- Topic: 是否可能在通过esp_dsp的双边fft以后恢复原信号
- Replies: 1
- Views: 11009
是否可能在通过esp_dsp的双边fft以后恢复原信号
void setup() {
Serial.begin(115200);
delay(1000);
fft_in = (float*)heap_caps_malloc(2 * N * sizeof(float), MALLOC_CAP_SPIRAM);
if (fft_in != nullptr) Serial.println("✅ PSRAM 分配成功!");
dsps_fft2r_init_fc32(NULL, CONFIG_DSP_MAX_FFT_SIZE);
// 生成测试信号
for (int i = 0; i < N; i++) {
float t ...
Serial.begin(115200);
delay(1000);
fft_in = (float*)heap_caps_malloc(2 * N * sizeof(float), MALLOC_CAP_SPIRAM);
if (fft_in != nullptr) Serial.println("✅ PSRAM 分配成功!");
dsps_fft2r_init_fc32(NULL, CONFIG_DSP_MAX_FFT_SIZE);
// 生成测试信号
for (int i = 0; i < N; i++) {
float t ...