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 Card in SPI mode Clock question

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







SD Card in SPI mode Clock question
PostPosted: Wed Jan 18, 2006 1:53 pm     Reply with quote

All,

I am using an SD Card with a PIC microcontroller. Is it possible to be able to suspend the clock going to the SPI I/F while I do something else such as an interrupt, and after the interrupt returns, go back to clocking the SPI I/F again, without losing data or running into timeout problems?
I would appreciate a response one way or the other as I have been searching for this info for about a week or so, and cannot find anything definitive. I want to ask before I change ny firmware because it's working fine now and I would like to be able to suspend the clock signal as a way of implementing some future features. I can't say what the features are at this point, but would like to knopw about suspending the clock. Any answers would be greatly appreciated. You can contact me offline at jim@jpes.com.

Thanks and Regards,

Jim
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Jan 18, 2006 6:16 pm     Reply with quote

I think it is possible, as long as you keep the chip select line activated. No time outs are mentioned in the specifications.
Some time ago in another thread the possibility of a datalogger application was discussed that would write a few bytes every second. I don't know if it was implemented but in theory it seemed possible.
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