I see your point now william, i will review.

Did you check sd card specification to see if it will run correctly in
spi mode 00?

Matt.

On May 9, 4:17 pm, William <[email protected]> wrote:
> Hi Matt,
>
> On May 9, 12:06 pm, mattschinkel <[email protected]> wrote:
>
>
>
> > True, but with current implementation, if SD_ALWAYS_SET_SPI_MODE =
> > FALSE, it will also not mess with the mode in your case (except for
> > init proc).
>
> The current sd_card library has hard-coded mode 11 in sd_init. I'm
> sure you'll come up with something to allow the user to specify mode
> 00 if desired, probably better than my suggestion.  It's your library,
> and of course you'll do as you see fit.  But my opinion is that
> sd_init should never set the spi mode, period.
>
> William

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to