MPC561MZP56 Freescale, MPC561MZP56 Datasheet - Page 652

MPC561MZP56

Manufacturer Part Number
MPC561MZP56
Description
Manufacturer
Freescale
Datasheet

Specifications of MPC561MZP56

Cpu Family
MPC56x
Device Core
PowerPC
Device Core Size
32b
Frequency (max)
56MHz
Interface Type
QSPI/SCI/SPI/UART
Total Internal Ram Size
32KB
# I/os (max)
56
Number Of Timers - General Purpose
22
Operating Supply Voltage (typ)
2.6/5V
Operating Supply Voltage (max)
2.7/5.25V
Operating Supply Voltage (min)
2.5/4.75V
On-chip Adc
2(32-chx10-bit)
Instruction Set Architecture
RISC
Operating Temp Range
-40C to 125C
Operating Temperature Classification
Automotive
Mounting
Surface Mount
Pin Count
388
Package Type
BGA
Program Memory Type
ROMLess
Program Memory Size
Not Required
Lead Free Status / RoHS Status
Not Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MPC561MZP56
Manufacturer:
FREESCALE
Quantity:
852
Part Number:
MPC561MZP56
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MPC561MZP56
Manufacturer:
FREESCALE
Quantity:
852
Company:
Part Number:
MPC561MZP56
Quantity:
13
Part Number:
MPC561MZP56R2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Queued Serial Multi-Channel Module
Normally, the SPI bus performs synchronous bidirectional transfers. The serial clock on the SPI bus master
supplies the clock signal SCK to time the transfer of data. Four possible combinations of clock phase and
polarity can be specified by the CPHA and CPOL bits in SPCR0.
Data is transferred with the most significant bit first. The number of bits transferred per command defaults
to eight, but can be set to any value from eight to sixteen bits by writing a value into the BITS field in
SPCR0 and setting BITSE in command RAM.
Typically, SPI bus outputs are not open drain unless multiple SPI masters are in the system. If needed, the
WOMQ bit in SPCR0 can be set to provide wired-OR, open drain outputs. An external pull-up resistor
should be used on each output line. WOMQ affects all QSPI pins regardless of whether they are assigned
to the QSPI or used as general-purpose I/O.
15.6.5
Master Mode Operation
Setting the MSTR bit in SPCR0 selects master mode operation. In master mode, the QSPI can initiate serial
transfers, but cannot respond to externally initiated transfers. When the slave select input of a device
configured for master mode is asserted, a mode fault occurs.
Before QSPI operation begins, PQSPAR must be written to assign the necessary pins to the QSPI. The pins
necessary for master mode operation are MISO, MOSI, SCK, and one or more of the chip-select pins.
MISO is used for serial data input in master mode, and MOSI is used for serial data output. Either or both
may be necessary, depending on the particular application. SCK is the serial clock output in master mode
and must be assigned to the QSPI for proper operation.
The PORTQS data register must next be written with values that make the QGPIO6/SCK (bit 13 QDSCK
of PORTQS) and QGPIO[3:0]/PCS[3:0] (bits 12:9 QDPCS[3:0] of PORTQS) outputs inactive when the
QSPI completes a series of transfers. Pins allocated to the QSPI by PQSPAR are controlled by PORTQS
when the QSPI is inactive. PORTQS I/O pins driven to states opposite those of the inactive QSPI signals
can generate glitches that momentarily enable or partially clock a slave device.
For example, if a slave device operates with an inactive SCK state of logic one (CPOL = 1) and uses active
low peripheral chip-select PCS0, the QDSCK and QDPCS0 bits in PORTQS must be set to 0b11. If
QDSCK and QDPCS0 = 0b00, falling edges will appear on QGPIO6/SCK and GPIO0/PCS0 as the QSPI
relinquishes control of these pins and PORTQS drives them to logic zero from the inactive SCK and PCS0
states of logic one.
Before master mode operation is initiated, QSMCM register DDRQS is written last to direct the data flow
on the QSPI pins used. Configure the SCK, MOSI and appropriate chip-select pins PCS[3:0] as outputs.
The MISO pin must be configured as an input.
After pins are assigned and configured, write appropriate data to the command queue. If data is to be
transmitted, write the data to transmit RAM. Initialize the queue pointers as appropriate.
QSPI operation is initiated by setting the SPE bit in SPCR1. Shortly after SPE is set, the QSPI executes
the command at the command RAM address pointed to by NEWQP. Data at the pointer address in transmit
RAM is loaded into the data serializer and transmitted. Data that is simultaneously received is stored at the
pointer address in receive RAM.
MPC561/MPC563 Reference Manual, Rev. 1.2
15-34
Freescale Semiconductor

Related parts for MPC561MZP56