
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
386 of 808
NXP Semiconductors
UM10360
Chapter 17: LPC17xx SPI
8.
Architecture
The block diagram of the SPI solution implemented in SPI0 interface is shown in the
.
Table 347: SPI Interrupt Register (S0SPINT - address 0x4002 001C) bit description
Bit Symbol Description
Reset
Value
0
SPIF
SPI interrupt flag. Set by the SPI interface to generate an interrupt. Cleared
by writing a 1 to this bit.
Note:
this bit will be set once when SPIE = 1 and at least one of SPIF and
WCOL bits is 1. However, only when the SPI Interrupt bit is set and SPI0
Interrupt is enabled in the NVIC, SPI based interrupt can be processed by
interrupt handling software.
0
7:1 -
Reserved, user software should not write ones to reserved bits. The value
read from a reserved bit is not defined.
NA
Fig 73. SPI block diagram
MOSI_IN
MOSI_OUT
MISO_IN
MISO_OUT
OUTPUT
ENABLE
LOGIC
SPI REGISTER
INTERFACE
SPI Interrupt
APB Bus
SPI SHIFT REGISTER
SCK_OUT_EN
MOSI_OUT_EN
MISO_OUT_EN
SCK_IN
SCK_OUT
SS_IN
SPI STATE CONTROL
SPI CLOCK
GENERATOR &
DETECTOR