Sharing an SD card between ESP32 and STM32

I'm working on a project that involves both an ESP32 and an STM32 microcontroller.

I'm wondering if it's possible to share a single SD card between these two devices.

I know that both microcontrollers typically use SPI to communicate with SD cards.

My main concern is how to avoid conflicts and ensure proper data access if both microcontrollers are trying to access the SD card at the same time.

it would probably be easier to delegate the role of "data access" to one of the two MCUs and create an API for the other one to request the data

(FAT32's design does not include native locking or journaling to prevent conflicts, so if multiple systems try to access a FAT32 file system at the same time, they may cause data corruption, especially if one system writes while another reads or writes simultaneously.)

Not realistically doable.

Yes it is

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.