Queued Serial Multi-Channel Module
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
15-17
To ensure proper operation, set the QSPI enable bit (SPE) in SPCR1 only after initializing the other control
registers. Setting this bit starts the QSPI.
Rewriting the same value to a control register does not affect QSPI operation with the exception of writing
NEWQP in SPCR2. Rewriting the same value to these bits causes the RAM queue pointer to restart
execution at the designated location.
Before changing control bits, the QSPI should be halted. Writing a different value into a control register
other than SPCR2 while the QSPI is enabled may disrupt operation. SPCR2 is buffered, preventing any
disruption of the current serial transfer. After the current serial transfer is completed, the new SPCR2 value
becomes effective.
15.6.1.1
QSPI Control Register 0 (SPCR0)
SPCR0 contains parameters for configuring the QSPI before it is enabled. The CPU has read/write access
to SPCR0, but the QSPI has read access only. SPCR0 must be initialized before QSPI operation begins.
Writing a new value to SPCR0 while the QSPI is enableddisrupts operation.
S/U
0x30 5180 –
0x30 51BF
Transmit Data RAM (32 half-words)
S/U
0x30 51C0 –
0x30 51DF
Command RAM (32 bytes)
1
S = Supervisor access only
S/U = Supervisor access only or unrestricted user access (assignable data space).
2
Eight-bit registers, such as SPCR3 and SPSR, are on 8-bit boundaries. 16-bit registers such as SPCR0 are on 16-bit
boundaries.
MSB
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LSB
15
Field MSTR
WOMQ
BITS
CPOL CPHA
SPBR
SRESET
0
0
0000
0
1
0000_0100
Addr
0x30 5018
Figure 15-11. QSPI Control Register 0 (SPCR0)
Table 15-12. QSPI Register Map (continued)
Access
1
Address
MSB
2
0
LSB
15
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...