USCI Registers: SPI Mode
20-16
Universal Serial Communication Interface, SPI Mode
UCAxCTL0, USCI_Ax Control Register 0
UCBxCTL0, USCI_Bx Control Register 0
7
6
5
4
3
2
1
0
UCCKPH
UCCKPL
UCMSB
UC7BIT
UCMST
UCMODEx
UCSYNC=1
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
UCCKPH
Bit 7
Clock phase select.
0
Data is changed on the first UCLK edge and captured on the
following edge.
1
Data is captured on the first UCLK edge and changed on the
following edge.
UCCKPL
Bit 6
Clock polarity select.
0
The inactive state is low.
1
The inactive state is high.
UCMSB
Bit 5
MSB first select. Controls the direction of the receive and transmit shift
register.
0
LSB first
1
MSB first
UC7BIT
Bit 4
Character length. Selects 7-bit or 8-bit character length.
0
8-bit data
1
7-bit data
UCMST
Bit 3
Master mode select
0
Slave mode
1
Master mode
UCMODEx
Bits
2-1
USCI Mode. The UCMODEx bits select the synchronous mode when
UCSYNC = 1.
00
3-Pin SPI
01
4-Pin SPI with UCxSTE active high: slave enabled when UCxSTE = 1
10
4-Pin SPI with UCxSTE active low: slave enabled when UCxSTE = 0
11
I
2
C Mode
UCSYNC
Bit 0
Synchronous mode enable
0
Asynchronous mode
1
Synchronous Mode
Summary of Contents for MSP430x4xx Family
Page 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Page 2: ......
Page 6: ...vi ...
Page 114: ...3 76 RISC 16 Bit CPU ...
Page 304: ...5 20 FLL Clock Module ...
Page 340: ...7 8 Supply Voltage Supervisor ...
Page 348: ...8 8 16 Bit Hardware Multiplier ...
Page 372: ...9 24 32 Bit Hardware Multiplier ...
Page 400: ...10 28 DMA Controller ...
Page 428: ...13 10 Basic Timer1 ...
Page 466: ...15 24 Timer_A ...
Page 522: ...17 30 USART Peripheral Interface UART Mode ...
Page 544: ...18 22 USART Peripheral Interface SPI Mode ...
Page 672: ...23 12 Comparator_A ...
Page 692: ...24 20 LCD Controller ...
Page 746: ...26 28 ADC12 ...