使用ESP-32S3读取TF卡,返回错误 0x107,但是我使用spi-lcd后,就能读取tf卡

QbasicJacky
Posts: 14
Joined: Mon Apr 10, 2023 3:52 am

使用ESP-32S3读取TF卡,返回错误 0x107,但是我使用spi-lcd后,就能读取tf卡

Postby QbasicJacky » Wed Jun 04, 2025 11:25 pm

ret = spi_bus_initialize(SPI2_HOST, &bus_cfg, SDSPI_DEFAULT_DMA);
if (ret != ESP_OK) {
ESP_LOGE(TAG, "Failed to initialize bus.");
return;
}

ESP_LOGI(TAG, "Mounting filesystem");
ret = esp_vfs_fat_sdspi_mount(mount_point, &host, &slot_config, &mount_config, &card);
if (ret != ESP_OK) {
....

Who is online

Users browsing this forum: No registered users and 3 guests