CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Connect sd card to pic18F ?!

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
romaind35



Joined: 21 Apr 2009
Posts: 2

View user's profile Send private message MSN Messenger

Connect sd card to pic18F ?!
PostPosted: Tue Apr 21, 2009 6:13 am     Reply with quote

hello,
I would like to know how to connect my sd-card(16MB) connector has one pic18f2520 - 10Mhz - SPI mode
help me please !
sorry for my bad english but I am french.

this is my schema:

http://dl.free.fr/jco7YHGgL


thanks for help me.

Romain
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Tue Apr 21, 2009 10:29 pm     Reply with quote

I could not download your schematic because I could not understand the web page. However you will find examples of interfacing a PIC18F series PIC here: http://www.brushelectronics.com/index.php?page=projects

Common mistakes are forgetting to include a pull-up resistor on DO out from the card, incorrect level translation between the 5 volt pic and the 3.3 volt card, insufficient power supply to handle the transient (100mA+) draw from the 3.3 volt rail. You need filtering capacitors and power supply decoupling capacitors as close as practical to the card. I generally use a 22uF tantalum and 0.1uF ceramic for this purpose in addition to large capacitors before and after the regulators.

16MB is small for an SD card - are you sure it is not an MMC card?
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group