Microcontroller User's Manual

MOTOROLA Chapter 22. Queued Serial Peripheral Interface (QSPI) Module 22-11
Programming Model
Figure 22-4 shows an example of a QSPI clocking and data transfer.
Figure 22-4. QSPI Clocking and Data Transfer Example
22.5.2 QSPI Delay Register (QDLYR)
Figure 22-5 shows the QDLYR.
8 CPHA Clock phase. Defines the QSPI_CLK clock-phase.
0 Data captured on the leading edge of QSPI_CLK and changed on the following edge of QSPI_CLK.
1 Data changed on the leading edge of QSPI_CLK and captured on the following edge of QSPI_CLK.
7–0 BAUD Baud rate divider. The baud rate is selected by writing a value in the range 2–255. A value of zero disables
the QSPI. A value of 1 is an invalid setting. The desired QSPI_CLK baud rate is related to the system clock
and QMR[BAUD] by the following expression:
QMR[BAUD] = f
SYS
/ [2 × (desired QSPI_CLK baud rate)]
15 14 8 7 0
Field SPE QCD DTL
Reset 0000_0100_0000_0100
R/W R/W
Address IPSBAR + 0x344
Figure 22-5. QSPI Delay Register (QDLYR)
Table 22-4. QMR Field Descriptions (continued)
Bits Name Description
QSPI_CLK
QSPI_Dout
QSPI_Din
QSPI_CS
A
B
QMR[CPOL] = 0
QMR[CPHA] = 1
QCR[CONT] = 0
Chip selects are active low
A = QDLYR[QCD]
B = QDLYR[DTL]
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
msb