MC97F2664
164
April 11, 2014 Ver. 1.4
SPInCR (SPI 2/3 Control Register) : C2H/C5H, n= 2, 3
7
6
5
4
3
2
1
0
SPInEN
FLSBn
SPInMS
CPOLn
CPHAn
SPInDSCR
SPInSCR1
SPInSCR0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
SPInEN
This bit controls the SPI 2/3 operation
0
Disable SPI 2/3 operation
1
Enable SPI 2/3 operation
FLSBn
This bit selects the data transmission sequence
0
MSB first
1
LSB first
SPInMS
This bit selects whether Master or Slave mode
0
Slave mode
1
Master mode
CPOLn
CPHAn
This two bits control the serial clock (SCK2/3) mode.
Clock polarity(CPOLn) bit determine SCK2/3
’s value at idle mode.
Clcok phase (CPHAn) bit determine if data are sampled on the leading or
trailing edge of SCK2/3.
CPOLn CPHAn
Leading edge
Trailing edge
0
0
Sample (Rising)
Setup (Falling)
0
1
Setup (Rising)
Sample (Falling)
1
0
Sample (Falling)
Setup (Rising)
1
1
Setup (Falling)
Sample (Rising)
SPInDSCR
SPInSCR [1:0]
These three bits select the SCK2/3 rate of the device configured as a
master. When DSCR bit is written one, SCK2/3 will be doubled in master
mode.
SPInDSCR SPInSCR 1 SPInSCR 0 SCKn frequency
0
0
0
fx/4
0
0
1
fx/16
0
1
0
fx/64
0
1
1
fx/128
1
0
0
fx/2
1
0
1
fx/8
1
1
0
fx/32
1
1
1
fx/64
Содержание MC97F2664
Страница 20: ...MC97F2664 20 April 11 2014 Ver 1 4 4 Package Diagram Figure 4 1 64 Pin LQFP 1010 Package...
Страница 21: ...MC97F2664 April 11 2014 Ver 1 4 21 Figure 4 2 64 Pin LQFP 1414 Package...
Страница 22: ...MC97F2664 22 April 11 2014 Ver 1 4 Figure 4 3 64 Pin QFN Package...
Страница 23: ...MC97F2664 April 11 2014 Ver 1 4 23 Figure 4 4 44 Pin MQFP 1010 Package...