LS_Synchronous serial peripheral (SSP)
RM0082
278/844
Doc ID 018672 Rev 1
13.6.3 Register
description
13.6.4 SSPCR0
register
SSPCR0 is control register 0 and contains five bit fields that control various functions within
the SSP.
SSPCellID0
0xFF0
RO
8
8’hD
PrimeCell identification register bits 7:0
SSPCellID1
0xFF4
RO
8
8’hF0
PrimeCell identification register bits 15:8
SSPCellID2
0xFF8
RO
8
8’h5
PrimeCell identification register bits 23:16
SSPCellID3
0xFFC RO
8
8’hB1
PrimeCell identification register bits 31:24
Table 212.
SSP registers summary (continued)
Name
Offset Type
Width
(bit)
Reset
value
Description
Table 213.
SSPCR0 register bit assignments
Bit
Name
Type
Description
[15:08]
SCR
R/W
Serial clock rate. The value SCR is used to generate the transmit and
receive bit rate of the SSP.
The bit rate is:
PCLK
CPSDVR * (1 + SPR)
Where CPSDVSR is an even value from 2 to 254, programmed through
the SSPCPSR register and SCR is a value from 0 to 255.
[07]
SPH
R/W
CLKOUT
phase (applicable to Motorola SPI frame format only). See
Motorola SPI frame format on page xxx
[06]
SPO
R/W
CLKOUT
polarity (applicable to Motorola SPI frame format only). See
Motorola SPI frame format on page
[05:04]
FRF
R/W
Frame format:
2’b00 = Motorola SPI frame format
2’b01 = TI synchronous serial frame format
2’b10 = National microwire frame format
2’b11 = Reserved, undefined operation
[03:00]
DSS
R/W
Data size select:
4’b0000 = Reserved, undefined operation
4’b0001 = Reserved, undefined operation
4’b0010 = Reserved, undefined operation
4’b0011 = 4 bit data
4’b0100 = 5 bit data
…….
4’b1110 = 15 bit data
4’b1111 = 16 bit data