Chapter 12 universal serial bus (usb) – Freescale Semiconductor MPC5200B User Manual
Page 10
Table of Contents
Paragraph
Page
Number
Number
MPC5200B Users Guide, Rev. 1
Freescale Semiconductor
TOC-9
11.3.3.5
ATA Drive Error Register—MBAR + 0x3A64 .......................................................................................11-14
11.3.3.6
ATA Drive Sector Count Register—MBAR + 0x3A68 ...........................................................................11-15
11.3.3.7
ATA Drive Sector Number Register—MBAR + 0x3A6C .......................................................................11-15
11.3.3.8
ATA Drive Cylinder Low Register—MBAR + 0x3A70 .........................................................................11-16
11.3.3.9
ATA Drive Cylinder High Register—MBAR + 0x3A74 .........................................................................11-16
11.3.3.10
ATA Drive Device/Head Register—MBAR + 0x3A78 ..........................................................................11-17
11.3.3.11
ATA Drive Device Command Register—MBAR + 0x3A7C ..................................................................11-17
11.3.3.12
ATA Drive Device Status Register—MBAR + 0x3A7C .........................................................................11-19
11.4
ATA Host Controller Operation ............................................................................................................................11-20
11.4.1
PIO State Machine ..........................................................................................................................................11-21
11.4.2
DMA State Machine .......................................................................................................................................11-22
11.4.2.1
Software Requirements .............................................................................................................................11-22
11.5
Signals and Connections .......................................................................................................................................11-23
11.6
ATA Interface Description ....................................................................................................................................11-24
11.7
ATA Bus Background ...........................................................................................................................................11-26
11.7.1
Terminology ....................................................................................................................................................11-26
11.7.2
ATA Modes ....................................................................................................................................................11-27
11.7.3
ATA Addressing .............................................................................................................................................11-27
11.7.31
ATA Register Addressing ........................................................................................................................11-28
11.7.3.2
Drive Interrupt ..........................................................................................................................................11-28
11.7.3.3
Sector Addressing .....................................................................................................................................11-28
11.7.3.4
Physical/Logical Addressing Modes ........................................................................................................11-29
11.7.4
ATA Transactions ...........................................................................................................................................11-30
11.7.4.1
PIO Mode Transactions ............................................................................................................................11-30
11.7.4.1.1
Class 1—PIO Read ............................................................................................................................11-30
11.7.4.1.2
Class 2—PIO Write ............................................................................................................................11-31
11.7.4.1.3
Class 3—Non-Data Command ...........................................................................................................11-32
11.7.4.2
DMA Protocol ..........................................................................................................................................11-32
11.7.4.3
Multiword DMA Transactions .................................................................................................................11-35
11.7.4.3.1
Class 4—DMA Command .................................................................................................................11-35
11.7.4.4
Ultra DMA Protocol .................................................................................................................................11-35
11.8
ATA RESET/Power-Up .......................................................................................................................................11-36
11.8.1
Hardware Reset ...............................................................................................................................................11-36
11.8.2
Software Reset ................................................................................................................................................11-36
11.9
ATA I/O Cable Specifications ..............................................................................................................................11-37