UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
1017 of 1269
40.1 How to read this chapter
The SPI controller is available on all LPC43xx parts.
40.2 Basic configuration
The SPI is configured as follows:
•
See
for clocking and power control.
•
The SPI is reset by the SPI_RST (reset # 58).
•
The SPI interrupt is connected to NVIV slot # 20 in the Cortex-M0 NVIC.
40.3 Features
•
Compliant with Serial Peripheral Interface (SPI) specification.
•
Synchronous, Serial, Full Duplex Communication.
•
SPI master or slave.
•
Maximum data bit rate of one eighth of the peripheral clock rate.
•
8 to 16 bits per transfer.
40.4 General description
SPI is a full duplex serial interface. It can handle multiple masters and slaves being
connected to a given bus. Only a single master and a single slave can communicate on
the interface during a given data transfer. During a data transfer the master always sends
8 to 16 bits of data to the slave, and the slave always sends a byte of data to the master.
The block diagram of the SPI solution implemented in SPI interface is shown in the
.
UM10503
Chapter 40: LPC43xx SPI
Rev. 1.3 — 6 July 2012
User manual
Table 883. SPI clocking and power control
Base clock
Branch clock
Operating
frequency
Clock to SPI; peripheral SPI
clock
BASE_SPI_CLK
CLK_SPI
up to 204 MHz
Clock to the peripheral bus
controller
BASE_PERIPH_CLK CLK_PERIPH_BUS
up
to
204 MHz
Clock to the peripheral core
controller
BASE_PERIPH_CLK BASE_PERIPH_CORE up
to
204 MHz