Page 1 of 1
ESP32-SD CARD
Posted: Fri Apr 16, 2021 11:51 am
by Divya_y
Hi everyone, i am using esp32, in this the VSPI we are using for DAC and SD CARD, when CS (GPIO2 PIN) is high, gets access to SD CARD and when it goes low, gets access to DAC. Here the issue i am facing is, whenever i try to access DAC and then access SD CARD, i am getting error as "fmount mount failed"
Please can anyone suggest me the solution
Thank you in advance
Re: ESP32-SD CARD
Posted: Sun Apr 18, 2021 10:09 am
by pipi61
use different pins for the cs
Re: ESP32-SD CARD
Posted: Mon Apr 19, 2021 9:52 am
by Divya_y
Hi,
Thanks for your feeback,
I want to make a correction of earlier statement as below,
We are using MUX to switch (GPIO2 PIN) between DAC and SD CARD.
when VSEL (GPIO2 PIN) is High SD CARD is active
when VSEL (GPIO2 PIN) is Low DAC is active
For Read/Write we are using GPIO5 PIN as CS
When DAC is accessed first & later we try to switch over to SD CARD we are getting error as "fmount failed"
i have also attached the block diagram for your reference.
Regards,
Divya
Re: ESP32-SD CARD
Posted: Sat Apr 24, 2021 10:09 pm
by pipi61
Hardware schematic?
what is VSEL ?
https://randomnerdtutorials.com/esp32-p ... nce-gpios/
why not use gpio2 for SDCARD CS and GPIO5 for DAC CS?