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

SPI Mode 30F4013

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



Joined: 10 Aug 2009
Posts: 6

View user's profile Send private message

SPI Mode 30F4013
PostPosted: Fri Aug 14, 2009 10:39 am     Reply with quote

CKE: SPI Clock Edge Select bit
1 = Serial output data changes on transition from active clock state to Idle clock state.
0 = Serial output data changes on transition from Idle clock state to active clock state.

CKP: Clock Polarity Select bit
1 = Idle state for clock is a high level; active state is a low level.
0 = Idle state for clock is a low level; active state is a high level.

... I have a question. According to this link http://www.totalphase.com/support/articles/article03/#modes

Mode 0 CKP=0 CKE=0;
Mode 1 CKP=0 CKE=1;
Mode 2 CKP=1 CKE=0;
Mode 3 CKP=1 CKE=1;

Is this correct? Thanks for your answers
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