Motorola MCF5281, MCF5282 Command RAM Registers QCR0-QCR15, 8gives QCR field descriptions

Models: MCF5282 MCF5281

1 816
Download 816 pages 28.97 Kb
Page 471
Image 471

Programming Model

22.5.7 Command RAM Registers (QCR0–QCR15)

The command RAM is accessed using the upper byte of QDR. The QSPI cannot modify information in command RAM.

There are 16 bytes in the command RAM. Each byte is divided into two fields. The chip select field enables external peripherals for transfer. The command field provides transfer operations.

NOTE

The command RAM is accessed only using the most significant byte of QDR and indirect addressing based on QAR[ADDR].

Figure 22-10shows the command RAM register.

15

14

13

12

11

8

7

0

Field

CONT

BITSE

DT

DSCK

 

QSPI_CS

 

 

 

 

 

 

 

 

 

 

Reset

 

 

 

 

 

Undefined

 

 

 

 

 

 

 

 

 

 

 

R/W

 

 

 

 

 

Write Only

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

 

 

 

QAR[ADDR]

 

 

 

 

 

 

 

 

 

 

 

Figure 22-10. Command RAM Registers (QCR0–QCR15)

Table 22-8gives QCR field descriptions.

Table 22-8. QCR0–QCR15 Field Descriptions

Bits

Name

 

Description

 

 

 

15

CONT

Continuous.

 

 

0

Chip selects return to inactive level defined by QWR[CSIV] when transfer is complete.

 

 

1

Chip selects remain asserted after the transfer of 16 words of data (see note below).

 

 

 

14

BITSE

Bits per transfer enable.

 

 

0

Eight bits

 

 

1

Number of bits set in QMR[BITS]

 

 

 

13

DT

Delay after transfer enable.

 

 

0

Default reset value.

 

 

1

The QSPI provides a variable delay at the end of serial transfer to facilitate interfacing with

 

 

 

peripherals that have a latency requirement. The delay between transfers is determined by

 

 

 

QDLYR[DTL].

 

 

 

12

DSCK

Chip select to QSPI_CLK delay enable.

 

 

0

Chip select valid to QSPI_CLK transition is one-half QSPI_CLK period.

 

 

1

QDLYR[QCD] specifies the delay from QSPI_CS valid to QSPI_CLK.

 

 

 

11–8

QSPI_CS

Peripheral chip selects. Used to select an external device for serial data transfer. More than one chip

 

 

select may be active at once, and more than one device can be connected to each chip select. Bits

 

 

11–8 map directly to QSPI_CS[3:0], respectively. If it is desired to use those bits as a chip select

 

 

value, then an external demultiplexor must be connected to the QSPI_CS[3:0] pins.

 

 

 

7–0

Reserved, should be cleared.

 

 

 

 

MOTOROLA

Chapter 22. Queued Serial Peripheral Interface (QSPI) Module

22-15

Page 471
Image 471
Motorola MCF5281, MCF5282 Command RAM Registers QCR0-QCR15, 8gives QCR field descriptions, QCR0-QCR15 Field Descriptions