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
ESP32-SD CARD
Re: ESP32-SD CARD
use different pins for the cs
Re: ESP32-SD CARD
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
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
- Attachments
-
- DAC - SD CARD Selection.jpg (41.34 KiB) Viewed 3508 times
Re: ESP32-SD CARD
Hardware schematic?
what is VSEL ? https://randomnerdtutorials.com/esp32-p ... nce-gpios/
why not use gpio2 for SDCARD CS and GPIO5 for DAC CS?
what is VSEL ? https://randomnerdtutorials.com/esp32-p ... nce-gpios/
why not use gpio2 for SDCARD CS and GPIO5 for DAC CS?
Who is online
Users browsing this forum: No registered users and 88 guests