MPC555CME Freescale Semiconductor, MPC555CME Datasheet - Page 486

KIT EVALUATION FOR MPC555

MPC555CME

Manufacturer Part Number
MPC555CME
Description
KIT EVALUATION FOR MPC555
Manufacturer
Freescale Semiconductor
Type
Microcontrollerr
Datasheet

Specifications of MPC555CME

Contents
Module Board, Installation Guide, Power Supply, Cable, Software and more
Processor To Be Evaluated
MPC555
Data Bus Width
32 bit
Interface Type
RS-232
For Use With/related Products
MPC555
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
14.7.4 QSPI Operation
MPC555
USER’S MANUAL
Master in slave out
Master out slave in
Serial clock
Peripheral chip selects
Peripheral chip select
Slave select
Slave select
NOTES:
The QSPI uses a dedicated 160-byte block of static RAM accessible by both the QSPI
and the CPU to perform queued operations. The RAM is divided into three segments:
32 command control bytes, 64 transmit data bytes, and 64 receive data bytes.
Once the CPU has set up a queue of QSPI commands, written the transmit data seg-
ment with information to be sent, and enabled the QSPI, the QSPI operates indepen-
dently of the CPU. The QSPI executes all of the commands in its queue, sets a flag
indicating completion, and then either interrupts the CPU or waits for CPU intervention.
QSPI RAM is organized so that one byte of command data, one word of transmit data,
and one word of receive data correspond to each queue entry, 0x0 to 0x2F.
The CPU initiates QSPI operation by setting up a queue of QSPI commands in com-
mand RAM, writing transmit data into transmit RAM, then enabling the QSPI. The
QSPI executes the queued commands, sets a completion flag (SPIF), and then either
interrupts the CPU or waits for intervention.
There are four queue pointers. The CPU can access three of them through fields in
QSPI registers. The new queue pointer (NEWQP), contained in SPCR2, points to the
first command in the queue. An internal queue pointer points to the command currently
being executed. The completed queue pointer (CPTQP), contained in SPSR, points to
the last command executed. The end queue pointer (ENDQP), contained in SPCR2,
points to the final command in the queue.
The internal pointer is initialized to the same value as NEWQP. During normal opera-
tion, the command pointed to by the internal pointer is executed, the value in the inter-
nal pointer is copied into CPTQP, the internal pointer is incremented, and then the
sequence repeats. Execution continues at the internal pointer address unless the
1. All QSPI pins (except SCK) can be used as general-purpose I/O if they are not used by the QSPI while the QSPI
2. An output (PCS[0]) when the QSPI is in master mode.
3. An input (SS) when the QSPI is in slave mode.
4. An input (SS) when the QSPI is in master mode; useful in multimaster systems.
is operating. SCK can only be used for general-purpose I/O if the QSPI is disabled.
Pin Names
/
MPC556
3
4
2
QUEUED SERIAL MULTI-CHANNEL MODULE
Mnemonic
Table 14-20 QSPI Pin Functions
PCS[1:3]
PCS[0]/
MISO
MOSI
SCK
SS
SS
1
Rev. 15 October 2000
Master
Master
Master
Master
Master
Master
Mode
Slave
Slave
Slave
Slave
Serial data input to QSPI
Serial data output from QSPI
Serial data output from QSPI
Serial data input to QSPI
Clock output from QSPI clock
Input to QSPI
Outputs select peripheral(s)
Output selects peripheral(s)
Input selects the QSPI
May cause mode fault
Function
MOTOROLA
14-24

Related parts for MPC555CME