sir_jfreyes
Joined: 10 Aug 2009 Posts: 6
|
SPI Mode 30F4013 |
Posted: Fri Aug 14, 2009 10:39 am |
|
|
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 |
|