Queued Serial Peripheral Interface (QSPI)
Freescale Semiconductor
25-2
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
25.1.2
Overview
The queued serial peripheral interface module provides a serial peripheral interface with queued transfer
capability. It allows users to queue up to 16 transfers at once, eliminating CPU intervention between
transfers. Transfer RAM in the QSPI is indirectly accessible using address and data registers.
NOTE
The GPIO module must be configured to enable the peripheral function of
the appropriate pins (refer to
Chapter 14, “General Purpose I/O Module”
)
prior to configuring the QSPI module.
25.1.3
Features
Features include:
•
Programmable queue to support up to 16 transfers without user intervention
— 80 bytes of data storage provided
•
Supports transfer sizes of 8 to 16 bits in 1-bit increments
•
Four peripheral chip-select lines for control of up to 15 devices (All chip selects may not be
available on all devices. See
Chapter 2, “Signal Descriptions,”
for details on which chip-selects are
pinned-out.)
•
Baud rates from 117.6 Kbps to 15 Mbps at 60 MHz internal bus frequency
•
Programmable delays before and after transfers
•
Programmable QSPI clock phase and polarity
•
Supports wraparound mode for continuous transfers
25.1.4
Modes of Operation
Because the QSPI module only operates in master mode, the master bit in the QSPI mode register
(QMR[MSTR]) must be set for the QSPI to function properly. If the master bit is not set, QSPI activity is
indeterminate. The QSPI can initiate serial transfers but cannot respond to transfers initiated by other QSPI
masters.
25.2
External Signal Description
The module provides access to as many as 15 devices with a total of seven signals: QSPI_DOUT,
QSPI_DIN, QSPI_CLK, QSPI_CS[3:0].
Peripheral chip-select signals, QSPI_CS
n
, are used to select an external device as the source or destination
for serial data transfer. Signals are asserted when a command in the queue is executed. More than one
chip-select signal can be asserted simultaneously.
Although QSPI_CS
n
signals function as simple chip selects in most applications, up to 15 devices can be
selected by decoding them with an external 4-to-16 decoder.
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60