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 support@ccsinfo.com

Question about SPI_SS_DISABLED

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







Question about SPI_SS_DISABLED
PostPosted: Thu Sep 04, 2008 7:27 am     Reply with quote

Hi everybody !

I have some question about SPI...

When I'm using SPI communication between two 16F877, can I use the pin A5 from MASTER for I\O ? This pin on SLAVE is the SPI_SS Enable line, but in MASTER device is not necessary, correct ? The constant SPI_SS_DISABLED have effect on MASTER device??

Thanks
RLScott



Joined: 10 Jul 2007
Posts: 465

View user's profile Send private message

Re: Question about SPI_SS_DISABLED
PostPosted: Thu Sep 04, 2008 9:37 am     Reply with quote

Carlos Eguti wrote:
Hi everybody !

I have some question about SPI...

When I'm using SPI communication between two 16F877, can I use the pin A5 from MASTER for I\O ? This pin on SLAVE is the SPI_SS Enable line, but in MASTER device is not necessary, correct ? The constant SPI_SS_DISABLED have effect on MASTER device??

Thanks

No, the SPI_SS_DISABLED only applies to slave devices. There is no automatic SS function in master mode. You can define any I/O pin you want as the SS output from the master. It does not have to be pin A5.
_________________
Robert Scott
Real-Time Specialties
Embedded Systems Consulting
Carlos Eguti
Guest







Question about SPI_SS_DISABLED
PostPosted: Tue Sep 09, 2008 1:47 pm     Reply with quote

OK

Thanks a lot!
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