Matt,

The examples I've studied -- in datasheets, and also in Microchip's
C18 SPI library, all start with writing a zero to SSPCON.  And you may
need to adjust your clock frequency as well.  So, I recommend you just
call the init routine each time you want to talk to a different
device.  It may not be 'elegant', but you would agree that it will
certainly work?

If you don't mind, lets try and wrap this up soon, and move on to
other topics.

William


On Sep 3, 11:24 pm, mattschinkel <[email protected]> wrote:
>
> changing SSPCON_CKP and SSPSTAT_CKE without setting any other
> registers should allow changes to take affect right way, right?
> Does anyone know?
>

--~--~---------~--~----~------------~-------~--~----~
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