UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
92 of 258
NXP Semiconductors
UM10429
Chapter 11: LPC1102 SPI0 with SSP
Remark:
Register names use the SSP prefix to indicate that the SPI controllers have full
SSP capabilities.
[1]
Reset Value reflects the data stored in used bits only. It does not include reserved bits content.
11.6.1 SPI/SSP Control Register 0
This register controls the basic operation of the SPI/SSP controller.
Table 90.
Register overview: SPI0 (base address 0x4004 0000)
Name
Access Address
offset
Description
Reset
Value
SSP0CR0
R/W 0x000
Control
Register
0. Selects the serial clock rate, bus type, and data size. 0
SSP0CR1
R/W
0x004
Control Register 1. Selects master/slave and other modes.
0
SSP0DR
R/W
0x008
Data Register. Writes fill the transmit FIFO, and reads empty the receive
FIFO.
0
SSP0SR
RO
0x00C
Status Register
0x0000
0003
SSP0CPSR
R/W
0x010
Clock Prescale Register
0
SSP0IMSC
R/W
0x014
Interrupt Mask Set and Clear Register
0
SSP0RIS
RO
0x018
Raw Interrupt Status Register
0x0000
0008
SSP0MIS
RO
0x01C
Masked Interrupt Status Register
0
SSP0ICR
WO
0x020
SSPICR Interrupt Clear Register
NA
Table 91:
SPI/SSP Control Register 0 (SSP0CR0 - address 0x4004 0000) bit description
Bit
Symbol
Value
Description
Reset
Value
3:0
DSS
Data Size Select. This field controls the number of bits
transferred in each frame. Values 0000 to 0010 are not
supported and should not be used.
0000
0x3
4-bit transfer
0x4
5-bit transfer
0x5
6-bit transfer
0x6
7-bit transfer
0x7
8-bit transfer
0x8
9-bit transfer
0x9
10-bit transfer
0xA
11-bit transfer
0xB
12-bit transfer
0xC
13-bit transfer
0xD
14-bit transfer
0xE
15-bit transfer
0xF
16-bit transfer