UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
281 of 464
NXP Semiconductors
UM10850
Chapter 22: LPC5410x Serial Peripheral Interfaces (SPI0/1)
In Deep-sleep or Power-down mode, the SPI clock is turned off as are all peripheral
clocks. However, if the SPI is configured in slave mode and an external master on the
provides the clock signal, the SPI can create an interrupt asynchronously. This interrupt, if
enabled in the NVIC and in the SPI’s INTENSET register, can then wake up the core.
22.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 (
).
22.3.1.2 Wake-up from Deep-sleep or Power-down mode
•
Configure the SPI in slave mode. See
. The SCK function must be
connected to a pin and the pin connected to the master.
•
Enable the SPI interrupt in the STARTER0 register. See
register 0 (STARTER0, address 0x4000 0240) bit description”
.
•
Enable the SPI interrupt in the NVIC.
•
Enable the interrupt in the INTENSET register which configures the interrupt as
wake-up event (
). Examples are the following wake-up events:
–
A change in the state of the SSEL pins.
–
Data available to be received.
–
Receiver overrun.