Queued Serial Multi-Channel Module
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
15-11
The port QS data register (PORTQS) latches I/O data. PORTQS writes drive pins defined as outputs.
PORTQS reads return data present on the pins. To avoid driving undefined data, write the first data to
PORTQS before configuring DDRQS.
15.5.1
Port QS Data Register (PORTQS)
PORTQS determines the actual input or output value of a QSMCM port pin if the pin is defined as
general-purpose input or output. All QSMCM pins can be used as general-purpose input and/or output.
When the SCIx transmitter is disabled, TXDx is a discrete output; when the SCIx receiver is disabled,
RXDx is a discrete input. Writes to this register affect the pins defined as outputs; reads of this register
return the actual value of the pins.
NOTE
The PORTQS register can be written either as a half-word (16-bit) or as 2
individual bytes (8-bit). This allows the SCI GPIO pin data to written
separately than the QSPI GPIO pin values. This allows either the SCI pins
or the QSPI pins to be used independently as GPIO.
Table 15-8. Effect of DDRQS on QSPI Pin Function
QSMCM Pin
Mode
DDRQS Bit
Bit State
Pin Function
MISO
Master
DDQS0
0
Serial data input to QSPI
1
Disables data input
Slave
0
Disables data output
1
Serial data output from QSPI
MOSI
Master
DDQS1
0
Disables data output
1
Serial data output from QSPI
Slave
0
Serial data input to QSPI
1
Disables data input
SCK
1
1
SCK/QGPIO6 is a digital I/O pin unless the SPI is enabled (SPE set in SPCR1), in which case
it becomes the QSPI serial clock SCK.
Master
DDQS2
—
Clock output from QSPI
Slave
—
Clock input to QSPI
PCS0/SS
Master
DDQS3
0
Assertion causes mode fault
1
Chip-select output
Slave
0
QSPI slave select input
1
Disables slave select input
PCS[1:3]
Master
DDQS[4:6]
0
Disables chip-select output
1
Chip-select output
Slave
0
Inactive
1
Inactive
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...