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

Search found 2 matches
CCS Forum Index
Author Message
  Topic: Need help with SPI modes when using PIC to ctrl 2 chips
akmal.wahab

Replies: 5
Views: 4552

PostForum: General CCS C Discussion   Posted: Tue Dec 02, 2008 12:55 pm   Subject: Need help with SPI modes when using PIC to ctrl 2 chips
Hi Robert,

The problem is when I probe the output of SCLK pin of the PIC, it always operate in mode 2 ie. SCLK is always HIGH unless there's any spi-write happening. I am not able to get any mode 0 ...
  Topic: Need help with SPI modes when using PIC to ctrl 2 chips
akmal.wahab

Replies: 5
Views: 4552

PostForum: General CCS C Discussion   Posted: Tue Dec 02, 2008 11:26 am   Subject: Need help with SPI modes when using PIC to ctrl 2 chips
Many thanks for your reply RLScott. Apologies for a minor mistake in the previous code. The SPI_SLAVE at the end of the code is suppose to be SPI_MASTER. I was doing some testing earlier and forgot to ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group