Pages: [1]   Go Down
Author Topic: Sharing SD Card Module not a Shield  (Read 214 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a project that I created that used an SD Card Module. I have another project that will have it's own Micro Controller. Is it possible for the 2 projects to share the same SD Card Module. If so am I correct that both micro controllers SCK, MISO, & MOSI would all be connected to the same pin, but for the CS pin would does it matter what pin they use say 10, & 4?

Thanks
Scott 
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you mean at the same time, then that would mean you have two SPI bus masters, that isn't going to work unless they both agree which of them is going to be the bus master at any given moment.

You might find it's easier to provide a communication mechanism between them and let the one owning the SD card act as a 'file server' for the other.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Pages: [1]   Go Up
Jump to: