Shop OBEX P1 Docs P2 Docs Learn Events
SD Card hookup with FutureTect SD card — Parallax Forums

SD Card hookup with FutureTect SD card

KamPuttyKamPutty Posts: 48
edited 2008-07-03 19:49 in Propeller 1
Hi all,

Hey, I just got the FutureTech SD card that I want to hookup to the prop...btw, it cost $7 for the complete board!
www.futurlec.com/Mini_SC.shtml

Now, I am having major brain farts here (truth be told, I cannot think today as we had to put our Dog down yesterday cry.gifcry.gifcry.gif )

I'm looking at the Prop Cookbook, and trying to hook up the board, and I cannot match all the pins up (there were no docs with the board)

Since I have already blown an io pin on my usb-prop, I'm alittle nervous about mis-wiring!

So, can anyone help with what I need to wire too on this board?

Thanks all...I'm just gonna sit and cry for awhile cry.gifcry.gifcry.gifcry.gifcry.gifcry.gifcry.gifcry.gifcry.gifcry.gifcry.gif

~Kam )^8*

Comments

  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2008-07-03 16:55
    Try this one.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Aka: CosmicBob
    778 x 389 - 39K
  • KamPuttyKamPutty Posts: 48
    edited 2008-07-03 17:11
    Bob,

    thanks for the info...now, according to the "Prop Cookbook", there are 4 connections that are connected from the prop to the sd

    #1. P0 --> DO
    #2. P1 --> CLK
    #3. P2 --> DI
    #4. P3 --> CS

    Now I need to map the SD end of the futureteck board

    #1. DO --> ????
    #2. CLK --> CLK(5)
    #3. DI --> ????
    #4. CS --> ????

    Thanks again!

    ~Kam (^8*
  • Matthew HayMatthew Hay Posts: 63
    edited 2008-07-03 18:32
    I've always looked at the documentation for the SD card adapter on this site:

    http://ucontroller.com/

    He has a lot of nice products made for the prop, check it out.

    Just scroll down to the SD Card Adapter and click the documentation button.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-07-03 18:39
    DATI looks like DI
    DATO look like DO
    CMD might be CS, try it
    There are pullups jumper selectable on the SPI pins.
    CS is the same as SSEL. Follow the traces on the board
    to make sure it connects to CMD.

    Post Edited (Mike Green) : 7/3/2008 6:46:46 PM GMT
  • Matthew HayMatthew Hay Posts: 63
    edited 2008-07-03 18:51
    Mike that is incorrect, if you check the documentation I talked about it gives pin numbers from the socket to go by. I just don't want to paste his information in the forums without getting his permission since he put a lot of work into it.
  • rokickirokicki Posts: 1,000
    edited 2008-07-03 18:51
    Looking at the schematic above, I believe (but am not sure) that:

    p0 = do = miso = dat0(7)
    p1 = clk = sclk = clk(5)
    p2 = di = mosi = cmd(2)
    p3 = cs = ssel = cd/dat3(1)

    The di/do names are from the perspective of the SD card; consider
    that di = mosi and do = miso (mosi=master out slave in, miso=master
    in slave out).

    If you are concerned about blowing pins, just use 150 ohm resistors
    in series on each line and use the slow sdspi.spin code, until you've
    gotten it to work, at which point you can remove the series resistors
    and go to the faster assembly language routines.
  • TimmooreTimmoore Posts: 1,031
    edited 2008-07-03 19:49
    http://pinouts.ru/Memory/sdcard_pinout.shtml gives the pin map to SPI names and ucontroller give the map to prop pin numbers
Sign In or Register to comment.