
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
385 of 808
NXP Semiconductors
UM10360
Chapter 17: LPC17xx SPI
In Slave mode, the SPI clock rate provided by the master must not exceed 1/8 of the SPI
peripheral clock selected in
. The content of the S0SPCCR register is not
relevant.
7.5 SPI Test Control Register (SPTCR - 0x4002 0010)
Note that the bits in this register are intended for functional verification only. This register
should not be used for normal operation.
7.6 SPI Test Status Register (SPTSR - 0x4002 0014)
Note:
The bits in this register are intended for functional verification only. This register
should not be used for normal operation.
This register is a replication of the SPI Status Register. The difference between the
registers is that a read of this register will not start the sequence of events required to
clear these status bits. A write to this register will set an interrupt if the write data for the
respective bit is a 1.
7.7 SPI Interrupt Register (S0SPINT - 0x4002 001C)
This register contains the interrupt flag for the SPI0 interface.
Table 344: SPI Clock Counter Register (S0SPCCR - address 0x4002 000C) bit description
Bit
Symbol
Description
Reset Value
7:0
Counter
SPI0 Clock counter setting.
0x00
Table 345: SPI Test Control Register (SPTCR - address 0x4002 0010) bit description
Bit
Symbol
Description
Reset Value
0
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA
7:1
Test
SPI test mode. When 0, the SPI operates normally. When 1,
SCK will always be on, independent of master mode select, and
data availability setting.
0
Table 346: SPI Test Status Register (SPTSR - address 0x4002 0014) bit description
Bit
Symbol
Description
Reset Value
2:0
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA
3
ABRT
Slave abort.
0
4
MODF
Mode fault.
0
5
ROVR
Read overrun.
0
6
WCOL
Write collision.
0
7
SPIF
SPI transfer complete flag.
0