SD Card + LPC175x

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SD Card + LPC175x

937 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by zepedrowdp on Wed Aug 20 17:42:55 MST 2014
Hey everyone!


Is LPC1754 or anyother uC from the LPC175x family, capable of running an SD card?

I'm asking this because on the LPCXpresso file "sdmmc_17xx_40xx.c", the SD functions seem to only be compiled for LPC177x or higher.

#if defined(CHIP_LPC177X_8X) || defined(CHIP_LPC40XX)
Labels (1)
0 Kudos
6 Replies

872 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by zepedrowdp on Mon Aug 25 17:57:41 MST 2014
Hmm...

Would it be possible to have some NXP representant input here?

Aren't there any LPC SD drivers for 175x/6x working with LPCOpen v2?
0 Kudos

872 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Fri Aug 22 12:53:03 MST 2014

Quote: zepedrowdp
Is there a better method than try to copy the files from v1 to v2 and see what happens?



Don't know if that's better  :quest:

AOAA CMSIS2.0 Samples: aoa_board_130410.zip

http://www.embeddedartists.com/products/app/aoa_kit.php

Or EFSL in:

http://www.support.code-red-tech.com/CodeRedWiki/RDB1768cmsisExampleProjects

http://www.support.code-red-tech.com/CodeRedWiki/RDB1768cmsisExampleProjects?action=AttachFile&do=ge...



0 Kudos

872 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by zepedrowdp on Fri Aug 22 12:30:26 MST 2014
Does anyone knows why wasn't this included on later versions?

Is there a better method than try to copy the files from v1 to v2 and see what happens?
0 Kudos

872 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Thu Aug 21 15:33:37 MST 2014

Quote: zepedrowdp
Although, I can't seem to find the FatFs' functions on my LPCOpen...



At least LPCOpen V2.10 isn't including it  :((

As mentioned here:

http://www.lpcware.com/content/nxpfile/an10916-fat-library-efsl-and-fatfs-port-nxp-lpc1700

there's an older version with includes CHANFATFS, V1.03...

http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages




0 Kudos

872 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by zepedrowdp on Thu Aug 21 14:40:53 MST 2014
Thanks LabRat!

From what I understood, there are two ways of accessing the SD card. Either directly with SPI commands, or using the chanFatFs library (where there is an abstraction of the SPI layer), is that correct?

Although, I can't seem to find the FatFs' functions on my LPCOpen... Do I have to download it separatly from chan's website and import it to my LPCXpresso project?
0 Kudos

872 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Wed Aug 20 17:46:38 MST 2014
Yes, see : http://www.lpcware.com/content/forum/lpc1769-sd-card-interface
0 Kudos