Applications Engineering
Microcontroller Division
Hong Kong
To provide the most up-to-date information, the revision of our documents on the World Wide Web will be
the most current. Your printed copy may be an earlier revision. To verify you have the latest information
available, refer to:
http://www.freescale.com
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc.
This product incorporates SuperFlash® technology licensed from SST.
USB2.0 to ATA/ATAPI Bridge Designer Reference Manual, Rev. 0
Freescale Semiconductor3
Revision History
The following revision history table summarizes changes contained in this document. For your
convenience, the page number designators have been linked to the appropriate location.
Revision History
Date
Jan 20050Initial releaseN/A
Revision
Level
Description
Page
Number(s)
USB2.0 to ATA/ATAPI Bridge Designer Reference Manual, Rev. 0
USB2.0 to ATA/ATAPI Bridge Designer Reference Manual, Rev. 0
6Freescale Semiconductor
Chapter 1
System Overview
1.1 Introduction
This manual describes a reference design of a Universal Serial Bus (USB) 2.0 to ATA/ATAPI Bridge
solution by using the MC9S12UF32 microcontroller.
Since the MC9S12UF32 is a highly integrated USB 2.0 high speed device for mass storage applications,
the system consists of the MC9S12UF32 and passive components only. All hardware schematic
diagrams and most firmware source codes are available as reference materials.
1.2 System Features
•USB 2.0 High Speed and Full Speed compliance
•Windows 98 SE, Windows 2000, and Windows XP Compatible
•Supports ATA/ATAPI devices higher than 137G bytes capacity
•Supports PIO mode 0 to 4
•Supports UMDA mode 0 to 4
•Maximum 60M bytes per second burst transfer rate
•In-circuit evaluation and programming
1.3 MC9S12UF32
The MC9S12UF32 microcontroller (hereafter referred as UF32) features an integrated Universal Serial
Bus (USB) 2.0 controller and physical layer transceivers to provide comprehensive USB specification
implementation for both high-speed (480 Mbps) and full-speed (12 Mbps) operations. The high-speed
operation, running at bus speeds of 30 MHz, implements fast large data transfers for applications such
as real-time movies that were impractical at the previous lower-speed operation.
Besides standard USB functionality, the UF32 enables control of external harddisk drives, CD-ROM and
DVD-ROM drives. The UF32 also enables controls of different common Flash memory devices such as
CompactFlash, Secure Digital, MultiMediaCards, SmartMedia, and Memory Stick memory cards.
The availability of up to 75 programmable I/O lines helps to minimize the system costs and enhance
flexibility.
The UF32 is designed to reduce overall system components count and improves performance by
off-loading peripheral overhead functions from the CPU. The on-board Flash enables the peripheral
system to accommodate future software changes. The UF32 can be used in card readers for popular
Flash memory cards, ATA/ATAPI bridges for external hard disks and DVD ROM, USB Flash disks and
digital wallets.
There are 100 pins and 64 pins options for the UF32. The 100 pin device is designed for card reader and
digital wallet applications while the 64 pin device is designed for ATA/ATAPI bridge with SD or USB Flash
disk with SD and MS, and other USB applications that do not require so many I/O pins.
USB2.0 to ATA/ATAPI Bridge Designer Reference Manual, Rev. 0
•Universal Serial Bus 2.0 controller and transceivers
•Integrated Queue controller
•ATA/ATAPI controller
•CompactFlash controller
•Secure Digit and MultiMediaCards controller
•SmartMedia and NAND Flash controller
•Memory Stick controller
•8-channel, 16-bit timer
•Serial communications interface
1.4 System Overview
To PC System
USB SIE
Standard ATA (IDE) Interface
(Harddisk, CDR, CDRW, DVDR, DVDRW...)
9S12UF32
ATA/ATAPI Device
Figure 1-1. Block Diagram of USB2.0 to ATA/ATAPI Bridge
Since UF32 is a highly integrated USB 2.0 high speed device with embedded ATA controller, the system
consists of the UF32 and passive components only.
USB2.0 to ATA/ATAPI Bridge Designer Reference Manual, Rev. 0
8Freescale Semiconductor
Chapter 2
Hardware Overview
2.1 Introduction
The system consists of the 64 pin package UF32 and passive components only. The major external
component is an MOSFET used for 5V to 3.3V voltage regulation. There are two reference demo boards
available: one is USB bus powered for 2.5" hard disk use, another is self-powered for 3.5" hard disk and
ATAPI devices use.
Figure 2-1. USB Bus Powered Demo Board
Figure 2-2. Self-Powered Demo Board
USB2.0 to ATA/ATAPI Bridge Designer Reference Manual, Rev. 0
Freescale Semiconductor9
Hardware Overview
2.2 Hardware Functions
3V
5V
VDDR
REF3V
VDD3X
VDD Core
VDDX
3V
VDDA
3V
5V
2.5V
REG
2.5V
CORE
USB
5V / 3.3V
5V
3V
MC9S12UF32
PORTE
PORTM
PORTJ
PORTQ
PORTT
PORTU
PORTS
PORTB
PORTA
Figure 2-3. Hardware Functions
The hardware functions can be divided into the following parts:
•Voltage regulation
•Background debug interface
•USB interface
•ATA interface
BKGD
USB Power
CS0–1, IOWR
DA0–2, IORD, DMACK
RESET
IORDY
DMARQ, INTRQ
D0–D7
D8–D15
BDM
USB
ATA
2.3 Voltage Regulation
The UF32 is designed for a single 5V voltage input. There are three kinds of I/Os:
•Port E of 5V I/Os
•Port J, M, and Q of 5V or 3.3V I/O powered by V
•Port A, B, S, T, and U of 5V or 3.3V I/O powered by VDDX
However, for UF32 to be used in ATA applications VDD3X and VDDX must be with 3.3V, hence, only the
port E is with 5V I/Os while the others are with 3.3V I/Os.
The UF32 has four built-in voltage regulators:
•3.3V regulator for USB transceiver and PLL use
•3.3V regulator (with a required external MOSFET) for I/O use
•2.5V regulator for S12 CPU core use
•2.5V regulator for USB transceiver use
The UF32 needs 5V power supplied to V
3.3V supply to V
DD3X and VDDX. The USB transceivers and PLL are powered by the internal 3.3V
DDR. The external MOSFET is regulated by the UF32 to provide
regulator and the S12 CPU core is powered by the internal 2.5V regulator.
USB2.0 to ATA/ATAPI Bridge Designer Reference Manual, Rev. 0
DD3X
10Freescale Semiconductor
Background Debug Interface
2.4 Background Debug Interface
The single-wired background debug pin BKGD is used for software development and programming.
2.5 USB Interface
The UF32 features an integrated Universal Serial Bus (USB) 2.0 controller and physical layer
transceivers. An external 1.5kΩ pullup resistor, 510Ω reference resistor, and four serial resistors are
required for USB connection. The USB power detection is used for self-powered system only.
2.6 ATA Interface
A standard 40 pin ATA connector is used. Only pullup, pulldown and serial termination resistors are
needed to connect the UF32 to the ATA device. The ATA CSEL pin is shorted to ground and the firmware
has fixed the device to be master, therefore the ATA/ATAPI device must be set for the option of either
master or cable select.
USB2.0 to ATA/ATAPI Bridge Designer Reference Manual, Rev. 0
Freescale Semiconductor11
Hardware Overview
USB2.0 to ATA/ATAPI Bridge Designer Reference Manual, Rev. 0
12Freescale Semiconductor
Loading...
+ 26 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.