UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
308 of 515
NXP Semiconductors
UM11029
Chapter 18: LPC84x SPI0/1
18.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 (
).
18.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”
.
•
In the PDAWAKE register, configure all peripherals that need to be running when the
part wakes up.
•
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.
18.4 Pin description
The SPI signals are movable functions and are assigned to external pins through the
switch matrix.
See
Section 10.3.1 “Connect an internal signal to a package pin”
to assign the SPI
functions to pins on the part.