3 class 3-non-data command, 2 dma protocol, 3 class 3—non-data command – Freescale Semiconductor MPC5200B User Manual

Page 397

Advertising
background image

MPC5200B Users Guide, Rev. 1

11-32

Freescale Semiconductor

ATA Bus Background

Figure 11-6. Timing Diagram—PIO Write Command (Class 2)

11.7.4.1.3

Class 3—Non-Data Command

The Non-Data Command is as follows:

1.

HOST: Write to ATA control/command block registers to setup for data read.

2.

HOST: Write to ATA command register to execute read command.

3.

DRIVE: Execute command.

Figure 11-7

shows the Non-Data Command.

Figure 11-7. Timing Diagram—Non-Data Command (Class 3)

11.7.4.2

DMA Protocol

The DMA protocol has the following commands:

READ DMA

WRITE DMA

The Host selects the multiword DMA protocol as follows:

1.

Write 00100b to upper 5 bits ([7:3]) of sector count register to select multiword DMA protocol. Write desired mode value to lower
3 bits ([2:0]) of sector count register to set multiword DMA transfer mode (mode 0=000b, mode 1=001b, etc.).

2.

Write sub-command code 0x03 to features register to set transfer mode, based on value in sector count register.

Set Up

Register

Block

Send

Command

Read

Status

Write

Sector

Buffer

Write

Sector

Read

Status

Write

Sector

Buffer

Write

Sector

Host

Drive

DRDY

BSY

DRQ

INTRQ

Set Up

Register

Block

Send

Command

Execute

Command

Host

Drive

DRDY

BSY

DRQ

INTRQ

Set Up

Register

Block

Send

Command

Execute

Command

Advertising