Lpc1343 + sd card+ usb

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

Lpc1343 + sd card+ usb

1,456 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by thinkchip on Thu Aug 26 00:09:25 MST 2010
Hi, I want to know is there any example to use the lpc1343 reading a sd card with usb, like a usb mass storage? best regards
0 Kudos
Reply
4 Replies

1,397 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by domen on Thu Aug 26 23:06:32 MST 2010
Yes, it's possible to do the same with lpc1343. Chip lacks DMA, so you might not want that for performance reasons.

2 GB limit is not FAT16/filesystem related. Just SD vs. SDHC. Routines for SDHC are quite similar to SD, you just need to detect which type is it, and then use sector offsets (vs. byte offsets - and that's pretty much it IIRC)
0 Kudos
Reply

1,397 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by thinkchip on Thu Aug 26 18:31:28 MST 2010
Thanks!! in the example
[B]USB MSC (Mass Storage Controller) Example[/B]

Turns the RDB1768 into a mass storage device, allowing a micro-SD card to be  plugged in and accessed from the host PC. The micro-SD card is accessed by the MCU via the Serial Parallel Interface (SPI). Requires the USB Device Stack project to be installed in the same workspace. Note that only microSD cards <2GB are supported (none-SDHC)
Do you think is possible addapter this example whit LPC1343? I dont like that only support fat16 <2Gb :(
0 Kudos
Reply

1,397 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Thu Aug 26 10:38:12 MST 2010
Take a look at the RDB1768cmsis_efsl_demo and RDB1768cmsis_usb_msc available here:
http://support.code-red-tech.com/CodeRedWiki/RDB1768cmsisExampleProjects

Renan
0 Kudos
Reply

1,397 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Thu Aug 26 06:38:00 MST 2010
Hello,

You want to connect a SD to USB adapter?

LPC134x works like "device" and not as "Host".
So I think it is not possible (I am a novice in these matters).

With the LPC1768 might be possible, but is more expensive and complicated.

In future it may be that someone implements the functionality in software.

I would like to connect a Bluetooth USB adapter:
http://micah.navi.cx/2010/07/propeller-bluetooth-stack-demo/
0 Kudos
Reply