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
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
260 of 571
NXP Semiconductors
UM10316
Chapter 18: LPC29xx SPI0/1/2
3.1 SPI configuration register
The SPI configuration register configures SPI operation mode.
Table 215. SPI_CONFIG register bit description (SPI_CONFIG0/1/2, addresses: 0xE004 7000
(SPI0), 0xE004 8000 (SPI1), 0xE004 9000 (SPI2))
* = reset value
Bit
Symbol
Access
Value
Description
31 to 16 INTER_SLAVE_DLY
R/W
The minimum delay between two transfers
to different slaves on the serial interface
(measured in clock cycles of
BASE_SPI_CLK)
The minimum value is 1.
0001h*
15 to 8
reserved
R
-
Reserved; do not modify. Read as logic 0
7
UPDATE_ENABLE
R/W
Update enable bit
This must be set by software when the
SLV_ENABLE register has been
programmed. It will be automatically cleared
when the new value is in use.
In sequential-slave mode the newly
programmed value will be used when the
pending sequential-slave transfer finishes.
In normal transmission mode the newly
programmed value will be used right away
(after a clock-domain synchronization delay)
1
The newly programmed value in the
SLV_ENABLE register is not used for
transmission yet. As soon as the value is
used this bit is cleared automatically.
0*
The current value in the SLV_ENABLE
register is used for transmission. A new
value may be programmed. As soon as
update enable is cleared again the new
value will be used for transmission
6
SOFTWARE_RESET R/W
Software reset bit.
1
Writing 1 to this bit resets the SPI module
completely. This bit is self-clearing
0*
5
TIMER_TRIGGER
R/W
Timer trigger-block bit
When set the trigger pulses received from a
timer (outside the SPI) enable the SPI
module; otherwise they are ignored.
NOTE: the SPI module can only be enabled
by the timer when in sequential-slave mode,
otherwise the trigger pulses are ignored.
Timer2 Match Outputs:
Tmr2, Match0 --> SP10, trigger in
Tmr2, Match1 --> SP11, trigger in
Tmr2, Match2 --> SP12, trigger in
1
Trigger pulses enable SPI module
0*
Trigger pulses are ignored