DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
207 of 313
NXP Semiconductors
UM10601
Chapter 17: LPC800 SPI0/1
If the SPI is configured for slave mode, the SPI block can create an interrupt on a received
signal even when the SPI receives no clocks from the ARM Cortex-M0+ core, which is the
case when the system is in deep-sleep or power-down mode.
17.3.1.1 Wake-up from Sleep mode
•
Configure the SPI in either master or slave mode. See
.
•
Enable the SPI interrupt in the NVIC.
•
Any SPI interrupt wakes up the part from sleep mode. Enable the SPI interrupt in the
INTENSET register (
).
17.3.1.2 Wake-up from Deep-sleep or Power-down mode
•
Configure the SPI in slave mode. See
. You must connect the SCK function
to a pin and connect the pin to the master.
•
Enable the SPI interrupt in the STARTERP1 register. See
interrupt wake-up enable register (STARTERP1, address 0x4004 8214) bit
description”
.
•
Enable the SPI interrupt in the NVIC.
•
The SPI wakes up the part from Deep-sleep or Power-down mode on the following
events that cause an interrupt:
–
A change in the state of the SSEL pin.
–
<tbd>.
Remark:
Enable the interrupt for each wake-up event in the INTENSET register
).
17.4 Pin description
The SPI signals are movable functions and are assigned to external pins through the
switch matrix.
See
Section 9.3.1 “Connect an internal signal to a package pin”
functions to pins on the LPC800 package.