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 CCS Technical Support

SD/MMC Card without CS line?

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



Joined: 22 May 2006
Posts: 9

View user's profile Send private message

SD/MMC Card without CS line?
PostPosted: Tue May 30, 2006 10:49 pm     Reply with quote

Is it possible to perform any operations on an SD/MMC card with the CS line tied low on the card (SPI mode)?

I threw together a design and assumed (yes.. i know) that the CS line was only used for selecting which peripheral was active and as I am only using a single card I couldn't see the need for it.

Now it seems that the falling edge of the CS line is used by the SD card prior to bus transactions.

If anyone knows whether this is correct or not it would be appreciated.. I would like to avoid modifying my circuit if possible.

Regards

Matt
Guest








PostPosted: Tue May 30, 2006 11:26 pm     Reply with quote

i think you are fried, you can�t even init the card without changing the state of this line.
mbro131



Joined: 22 May 2006
Posts: 9

View user's profile Send private message

PostPosted: Tue May 30, 2006 11:29 pm     Reply with quote

Yer I suspected as much.. I guess my circuit just got uglier..

Lesson: Don't Assume!

Matt
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