C8051F015DK Silicon Laboratories Inc, C8051F015DK Datasheet - Page 127

MCU, MPU & DSP Development Tools Dev Kit for F015-19

C8051F015DK

Manufacturer Part Number
C8051F015DK
Description
MCU, MPU & DSP Development Tools Dev Kit for F015-19
Manufacturer
Silicon Laboratories Inc
Datasheet

Specifications of C8051F015DK

Processor To Be Evaluated
C8051F01x
Interface Type
USB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
17.4.
The SPI is accessed and controlled through four special function registers in the system controller: SPI0CN Control
Register, SPI0DAT Data Register, SPI0CFG Configuration Register, and SPI0CKR Clock Rate Register. The four
special function registers related to the operation of the SPI Bus are described in the following section.
127
C8051F000/1/2/5/6/7
C8051F010/1/2/5/6/7
Bit7:
Bit6:
Bits5-3: BC2-BC0: SPI Bit Count.
Bits2-0: SPIFRS2-SPIFRS0: SPI Frame Size.
.
CKPHA
R/W
Bit7
SPI Special Function Registers
This bit controls the SPI clock phase.
0: Data sampled on first edge of SCK period.
1: Data sampled on second edge of SCK period.
This bit controls the SPI clock polarity.
0: SCK line low in idle state.
1: SCK line high in idle state.
Indicates which of the up to 8 bits of the SPI word have been transmitted.
These three bits determine the number of bits to shift in/out of the SPI shift register
during a data transfer in master mode. They are ignored in slave mode.
CKPHA: SPI Clock Phase.
CKPOL: SPI Clock Polarity.
CKPOL
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
R/W
Bit6
BC2-BC0
SPIFRS
Figure 17.5. SPI0CFG: SPI Configuration Register
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
BC2
Bit5
R
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
BC1
Bit4
Bits Shifted
Bit Transmitted
R
Bit 0 (LSB)
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7 (MSB)
1
2
3
4
5
6
7
8
Rev. 1.7
BC0
Bit3
R
SPIFRS2
R/W
Bit2
SPIFRS1
R/W
Bit1
SPIFRS0
R/W
Bit0
SFR Address:
Reset Value
00000111
0x9A

Related parts for C8051F015DK