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

Saving data to SD memory card
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
temtronic



Joined: 01 Jul 2010
Posts: 9658
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Jan 06, 2012 7:49 am     Reply with quote

no......
PIC is F series...
5 Volt PIC must have .8 * VDD !

.8*5 is 4.00 volts.

Anything less is 'marginal',might work,might not,sure won't work 100%,24/7/365 !
n-squared



Joined: 03 Oct 2006
Posts: 99

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

PostPosted: Fri Jan 06, 2012 8:15 am     Reply with quote

temtronic,
I refer you to Microchip document DS39631E, page 335.

D030A defines Input low voltage to be 0.8V max @ Vdd=5V
D040A defines Input high voltage to be 2.0V min @ Vdd=5V

BR
NN
_________________
Every solution has a problem.
Ttelmah



Joined: 11 Mar 2010
Posts: 20161

View user's profile Send private message

PostPosted: Fri Jan 06, 2012 9:27 am     Reply with quote

It depends on whether the input is TTL, or ST.
The SSP input is ST, so requires 0.8*Vdd. The lines you are looking at are for a TTL input....
D0041, is the entry for the SSP input.

Best Wishes
asmallri



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

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

PostPosted: Fri Jan 06, 2012 10:25 am     Reply with quote

Ttelmah wrote:
It depends on whether the input is TTL, or ST.
The SSP input is ST, so requires 0.8*Vdd. The lines you are looking at are for a TTL input....
D0041, is the entry for the SSP input.

Best Wishes


Adding to Ttelmah's response, it is this misconception that the SPI interface is a normal TTL interface that has led to the proliferation of poor quality "hobbyist" designs for integrating +5V PICs to 3.3V SD/MMC cards.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
n-squared



Joined: 03 Oct 2006
Posts: 99

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

PostPosted: Fri Jan 06, 2012 2:14 pm     Reply with quote

Guys,
I stand corrected Embarassed

BR
NN
_________________
Every solution has a problem.
jlucas



Joined: 08 May 2011
Posts: 41
Location: Carthage, MO

View user's profile Send private message Visit poster's website

PostPosted: Fri Jan 06, 2012 2:43 pm     Reply with quote

Thanks for all the help, guys.

This is turning out to be more expensive and/or more complicated than I first anticipated. There are a lot of options for how I can accomplish this, and it's going to take some time to sort everything out. I think I will wait and add this feature in ver. 2.
_________________
Always remember, things are never so bad that they can't get worse.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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