No, an SD card socket usually has a physical detect pin if a card is 
inserted (microSD sockets usually don't). 

I'm wondering if the SD code requires you to declare/not declare the 
existence of a detect pin and the associated PIC I/O if needed.  If you 
didn't declare a pin and it was looking for a signal, it might mess-up the 
code.


Thanks!

On Thursday, June 2, 2016 at 11:20:09 AM UTC-4, Matthew Schinkel wrote:
>
> Not sure what part of the code your referring to.
>
> Do you mean hardware spi? Hardware spi is faster then software spi
>
> Sent from my iPhone
>
> On Jun 2, 2016, at 10:53 AM, Guido Jones <[email protected] 
> <javascript:>> wrote:
>
> On last question; I don't see any use of a hardware SD card detect in the 
> 18F67J50 code example.
>
> Is there a choice between hardware detect and software detect? (some 
> parameter that needs to be set?)
>
>
>
> Thanks,
>
> On Wednesday, June 1, 2016 at 11:58:41 PM UTC-4, Matthew Schinkel wrote:
>>
>> *** To clarify, you simply changed the include statement from the 
>> 18F67J50 to the 18F46J50?
>>
>> Right, and you can do that with any PIC that has the required peripherals 
>> (USB, SPI, etc), ram, and available pins. Make sure you use one of the 
>> blink USB samples, running at 48 Mhz.
>>
>> I do know there are a few PICs that USB will not work with, but I'm sure 
>> they would give you compiler errors. Some updates to the libraries would 
>> need to be done.
>>
>> There are samples for how to do PPS (Peripheral Pin Select), but I am not 
>> familiar with it. Should work.
>>
>> Let me know if you get it working, we may be able to add a sample to 
>> jallib.
>>
>> Matt.
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "jallib" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] <javascript:>
> .
> Visit this group at https://groups.google.com/group/jallib.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to