Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 8 of 8

Thread: SD Socket / Footprint

  1. #1
    Junior Member
    Join Date
    Sep 2020
    Posts
    16

    SD Socket / Footprint

    I want to integrate the Audio Shield into a custom board.
    Does anybody know what SD socket is used?
    Maybe with a footprint for Target or KiCad?
    Or at best: Is there a PCB layout (Target or KiCad) available for the Audio Shield?

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    7,658
    You can use any - they need to be compatible to SD - not Teensy
    Just make your layout compatible to the socket you use.

  3. #3
    Junior Member
    Join Date
    Sep 2020
    Posts
    16
    I don't want to be insolent....
    Can you tell me how to connect Pin 10..13 from Teensy to the SD-Card (DAT2, DAT3/CD, CMD, CLK, DAT0, DAT1)?

  4. #4
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    7,658
    You can find the schematics on this page: https://www.pjrc.com/store/teensy3_audio.html
    Does this answer your question ?

    I use Eagle - the SD-Socket-Libs show the pins (names).. I guess it's the same for Target or Kicad(?)

  5. #5
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany
    Posts
    7,658

  6. #6
    Junior Member
    Join Date
    Sep 2020
    Posts
    16
    The second link helps a lot, thank you!
    My diagram looks like:
    Teensy <----> SD Socket
    10-(CS) <---> 2(CS)
    11-(MOSI) <---> 7(DAT0, Data Out)
    12-(MISO) <---> 3(CMD, Data In)
    13-(SCK) <---> 5(CLK)

    I'm not really sure about MOSI&MISO. Are they connected MOSI to Data Out(like above) or are they being crossed?

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,485
    Maybe this diagram of the connector we use on the audio shield and Teensy 3.5, 3.6, 4.1 can help?

    Click image for larger version. 

Name:	sc.png 
Views:	7 
Size:	3.4 KB 
ID:	22511

    This is a top view where the SD card inserts from the right hand side with its pins facing down.

    SO means MISO
    SI means MOSI

    Here's a nice pinout diagram I found with a quick Google search which might help you visualize together with the connector.

    Click image for larger version. 

Name:	Micro-SD-Card-Pinout.png 
Views:	8 
Size:	28.9 KB 
ID:	22512

  8. #8
    Junior Member
    Join Date
    Sep 2020
    Posts
    16
    The right connection is:

    Teensy4.0 <----> SD Socket
    10-(CS) <---> 2(CS)
    11-(MOSI) <---> 3(CMD, Data In)
    12-(MISO) <---> 7(DAT0, Data Out)
    13-(SCK) <---> 5(CLK)

    Thank you Paul, thank you Frank!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •