# SD card in spi mode with Q24+

**URL:** <https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958>\
**Category:** Legacy AirPrime modules\
**Created:** [March 3, 2008, 1:59pm UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958 "2008-03-03T13:59:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![thinkspider](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@thinkspider](https://forum.sierrawireless.com/u/thinkspider)\
**Post date:** [March 3, 2008, 1:59pm UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958/1 "2008-03-03T13:59:02Z")

</div>

[b]Hi, all

```
      I got a problem.......This is my 1st project...And only I am exiquiting this. I am trying to interfetching an external sd card with the module. I completed the hurdware like this...I connect...1. pin 1 of sd card (CS) with pin 28 of module.

```

1. Pin 5th of the sd card (Clk) with pin 10th of the module 3. connect the I/O pins of Sd card with Pin 8th of the module.

I am using the system for vehicle treaking. And I want to save the each second GPS data in the external memory card. my system can transmit the GPS data in a 10 minit interval. But I want to Save the data in 1 second interval.

i cant complit my programming…

I am using Open AT Software for it…If any Body over here can help me then it will be very plaser to me… [/b]

---

<div class="post-metadata">

**Author:** ![tangda](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@tangda](https://forum.sierrawireless.com/u/tangda)\
**Post date:** [May 23, 2009, 1:58am UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958/2 "2009-05-23T01:58:36Z")

</div>

i have the same problem

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [May 23, 2009, 5:55am UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958/3 "2009-05-23T05:55:18Z")

</div>

> [@thinkspider](#):
>
> i cant complit my programming.

Why not?

What is your specific difficulty?

> [@tangda](#):
>
> i have the same problem

How do you know it’s the same problem? - thinkspider hasn’t actually said what problem he’s having yet!

So, What is your specific difficulty?

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.sierrawireless.com/u/davidc)\
**Post date:** [May 24, 2009, 11:52pm UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958/4 "2009-05-24T23:52:19Z")

</div>

Hiya,

How well have you (both) investigated interfacing to a SD Card?

The SD card interface is proprietary (belongs to the SD Card Association [http://www.sdcard.org/home](http://www.sdcard.org/home)). Royalty fees must be paid both to join the Association (and get access to the complete spec) and for manufacturing and sale of both SD Cards and Host Adapters.

According to [Wikipedia](http://en.wikipedia.org/wiki/Secure_Digital_card) there is a cut-down version of the standard available from the SD card Association - have you looked at this yet? Have you looked at the Linux Implementation of the SD driver?

There’s plenty of info out there - some free, and some not. I doubt very much that someone on the forum is just going to ‘give’ you access to their code though - there’s a lot of work (and intelectual property) tied up in interfacing to a SD Card.

ciao, Dave

---

<div class="post-metadata">

**Author:** ![blackyblack](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@blackyblack](https://forum.sierrawireless.com/u/blackyblack)\
**Post date:** [May 26, 2009, 10:46am UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958/5 "2009-05-26T10:46:54Z")

</div>

All this is refferring to SD interface to SD cards standard, not the SPI interface. SPI interface is well known, but optional for microSD cards.

---

<div class="post-metadata">

**Author:** ![Madouc](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Madouc](https://forum.sierrawireless.com/u/Madouc)\
**Post date:** [May 26, 2009, 10:56am UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958/6 "2009-05-26T10:56:04Z")

</div>

> [@blackyblack](#):
>
> but optional for microSD cards.

ah, didn’t know it was optional.  
so there are SD-cards out there that don’t have a spi-interface?  
Or is it only optional for microSD cards?

---

<div class="post-metadata">

**Author:** ![blackyblack](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@blackyblack](https://forum.sierrawireless.com/u/blackyblack)\
**Post date:** [May 26, 2009, 11:30am UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958/7 "2009-05-26T11:30:06Z")

</div>

> [@](#):
>
> Or is it only optional for microSD cards?

Yes.

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [May 26, 2009, 12:05pm UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958/8 "2009-05-26T12:05:18Z")

</div>

> [@blackyblack](#):
>
> optional for microSD cards.

Is it?

Do you have a reference for that?

---

<div class="post-metadata">

**Author:** ![blackyblack](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@blackyblack](https://forum.sierrawireless.com/u/blackyblack)\
**Post date:** [May 26, 2009, 3:36pm UTC](https://forum.sierrawireless.com/t/sd-card-in-spi-mode-with-q24/1958/9 "2009-05-26T15:36:46Z")

</div>

> [@](#):
>
> Do you have a reference for that?

“All memory cards must support all three modes, except for microSD where SPI is optional.” A quote from the same SD card article from Wikipedia. You can see a link to it above.
