[sdiy] 2xD / Digital Module .. saving samples
Jason Tribbeck
Jason.Tribbeck at ascom.com
Wed Nov 19 16:42:14 CET 2008
Hi,
> It wouldn't be fast enough for the actual RAM used during sampling and
> playback, but could be used for storing samples. However I don't
really
> want to go there with USB.
>
> A simpler solution would be to use SD/MMC cards which natively support
> SPI (at 3.3V too!) I don't want to include this on the PCB itself
> though as the SD card socket should be panel mounted to be accessible.
> But direct access to the dsPIC SPI pins will be provided, and
literally
> one can just hook up the SD card to the 3.3V, GND & SPI pins and it'll
> work (with appropriate software).
I started to go down this route; got a couple of boards made with SD/MMC
cards, but I couldn't get the FAT library compiling, yet alone working
(but then I'm not using Microchip's compiler). I found the Vinculum is
much easier to work with, and doesn't consume as much memory.
If you've got plenty of RAM spare (I think it's something like 1.5K for
the FAT library including writing for C30, 2.1K for PIC18), then it's an
option.
Microchip FAT library documentation (in case you haven't seen it):
http://ww1.microchip.com/downloads/en/AppNotes/01045b.pdf
--
Jason Tribbeck
More information about the Synth-diy
mailing list