PIC driving SD card

Discuss PIC and electronic related things

Moderators: David Barker, Jerry Messina

Post Reply
matteo
Posts: 5
Joined: Fri Jun 13, 2008 7:51 am

PIC driving SD card

Post by matteo » Thu Sep 25, 2008 3:49 pm

Hi to all.
I am going to use a 3.3 Volts powered PIC that should read and write data on a Secure Digital card.
Do somebody knows if the SPI_DOUT SPI_DIN SPI_CLK and SPI_CS lines can be directly connected to the SD card or they need a pull-up?
Both the PIC and the SD card are 3.3V powered.
Thank you in advance

User avatar
ohararp
Posts: 194
Joined: Tue Oct 03, 2006 11:29 pm
Location: Dayton, OH USA
Contact:

Post by ohararp » Thu Sep 25, 2008 6:26 pm

You'll need pullups on the SDO and SDI lines (Pin7 and Pin 1 on the SD card). CS and CLK you can direct connect.
Thanks Ryan
$25 SMT Stencils!!!
www.ohararp.com/Stencils.html

matteo
Posts: 5
Joined: Fri Jun 13, 2008 7:51 am

Post by matteo » Fri Sep 26, 2008 9:29 am

thank you! :D

liak
Registered User
Registered User
Posts: 195
Joined: Fri Oct 05, 2007 12:26 am

Requests on pull up schematics

Post by liak » Tue Sep 30, 2008 9:54 am

Dear matteo and ohararp,
I have run into problems of interfacing a SD Card to my 18F2525. The two runs on different voltages so there is a voltage divider in between; schematic just exactly like Steven's wavplayer project (posted in the Wiki).
Can any of you show me any schematic of how to put those pull-up resistors, and what R values to use?

Thanks.

Regards,
Liak

Post Reply