# Olimex LPC-L2294 - SD/MMC connection problem

**URL:** <https://community.sparkfun.com/t/olimex-lpc-l2294-sd-mmc-connection-problem/17621>\
**Category:** MicroMod\
**Tags:** arm-lpc\
**Created:** [October 5, 2010, 1:16pm UTC](https://community.sparkfun.com/t/olimex-lpc-l2294-sd-mmc-connection-problem/17621 "2010-10-05T13:16:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DatoJashi](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@DatoJashi](https://community.sparkfun.com/u/DatoJashi)\
**Post date:** [October 5, 2010, 1:16pm UTC](https://community.sparkfun.com/t/olimex-lpc-l2294-sd-mmc-connection-problem/17621/1 "2010-10-05T13:16:31Z")

</div>

I have problem with SD/MMC on Olimex LPC-L2294. Using SanDisc SDHC card 4GB and the code currently in [http://www.nxp.com/documents/applicatio … N10406.pdf](http://www.nxp.com/documents/application_note/AN10406.pdf) (slightly altered as on the board SD/MMC connection is on SPI0). After getting the correct CMD0 Response, but then get in Response 0xff.

But most of my suspicion causes the fact, that low level of input on CS is about 1v. Card itself is working. I have tried two cards.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![cfb](https://avatars.discourse-cdn.com/v4/letter/c/eada6e/32.png) [@cfb](https://community.sparkfun.com/u/cfb)\
**Post date:** [October 6, 2010, 1:14am UTC](https://community.sparkfun.com/t/olimex-lpc-l2294-sd-mmc-connection-problem/17621/2 "2010-10-06T01:14:21Z")

</div>

Try using a 2Gb (or less) SD card instead of an SDHC card and see if that works OK.

---

<div class="post-metadata">

**Author:** ![DatoJashi](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@DatoJashi](https://community.sparkfun.com/u/DatoJashi)\
**Post date:** [October 6, 2010, 10:21am UTC](https://community.sparkfun.com/t/olimex-lpc-l2294-sd-mmc-connection-problem/17621/3 "2010-10-06T10:21:40Z")

</div>

Thank you

SD Card(512 mb) is working. But on this board can SDHC card be connected?

---

<div class="post-metadata">

**Author:** ![cfb](https://avatars.discourse-cdn.com/v4/letter/c/eada6e/32.png) [@cfb](https://community.sparkfun.com/u/cfb)\
**Post date:** [October 6, 2010, 11:32am UTC](https://community.sparkfun.com/t/olimex-lpc-l2294-sd-mmc-connection-problem/17621/4 "2010-10-06T11:32:11Z")

</div>

I don’t know for sure but I suspect you may be out of luck. The LPC-L2294 board specification only mentions ‘SD’ not ‘SDHC’.

Sandisk have this to say about SD/SDHC compatibility:

Q: What will happen if I use an SDHC/miniSDHC/microSDHC 4GB card in my standard SD/miniSD/microSD device?

A: Legacy devices cannot recognize the SDHC/miniSDHC/microSDHC memory card. SanDisk recommends using standard SD/miniSD/microSD cards up to 2-gigabytes.

[http://www.sandisk.com/Assets/File/pdf/retail/SDHC1.pdf](http://www.sandisk.com/Assets/File/pdf/retail/SDHC1.pdf)

---

<div class="post-metadata">

**Author:** ![DatoJashi](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@DatoJashi](https://community.sparkfun.com/u/DatoJashi)\
**Post date:** [October 7, 2010, 9:55am UTC](https://community.sparkfun.com/t/olimex-lpc-l2294-sd-mmc-connection-problem/17621/5 "2010-10-07T09:55:50Z")

</div>

Electrically and pinouts for SD and SDHC are the same. Hence IMHO on this board SDHC should work, so for SDHC not working properly code from NXP application note, but i have not found detailed documentation for SDHC SPI interface and commands, to make correction in the code.
