ChipFind - документация

Электронный компонент: AN2125S

Скачать:  PDF   ZIP

Document Outline

The EZ-USB
The EZ-USB
The EZ-USB
The EZ-USB
The EZ-USB
TM
TM
TM
TM
TM
Integrated Circuit
Integrated Circuit
Integrated Circuit
Integrated Circuit
Integrated Circuit
Technical Reference
The information in this document is subject to
change without notice and should not be
construed as a commitment by Cypress
Semiconductor Corporation. While reasonable
precautions have been taken, Cypress
Semiconductor Corporation assumes no
responsibility for any errors that may appear in
this document.
No part of this document may be copied or
reproduced in any form or by any means without
the prior written consent of Cypress
Semiconductor Corporation.
Cypress Semiconductor Corporation products are
not designed, intended, or authorized for use as
components in systems intended for surgical
implant into the body, or other applications
intended to support or sustain life, or for any
other application in which the failure of the
Cypress Semiconductor Corporation product
could create a situation where personal injury or
death may occur. Should Buyer purchase or use
Cypress Semiconductor Corporation products for
any such unintended or unauthorized application,
Buyer shall indemnify and hold Cypress
Semiconductor Corporation and its officers,
employees, subsidiaries, affiliates and distributors
harmless against all claims, costs, damages,
expenses, and reasonable attorney fees arising
out of, directly or indirectly, any claim of personal
injury or death associated with such unintended
or unauthorized use, even if such claim alleges
that Cypress Semiconductor Corporation was
negligent regarding the design or manufacture of
the part.
The acceptance of this document will be construed
as an acceptance of the foregoing conditions.
Appendices A, B, and C of this manual contain
copyrighted material that is the property of
Synopsys, Inc., 1998, ALL RIGHTS RESERVED.
The EZ-USB Technical Reference Manual
Copyright 2000, Cypress Semiconductor
Corporation.
All rights reserved.
Development Kit -- Getting Started
Documentation for the EZ-USBTM XceleratorTM Development it. Includes an
overview of the kit, descriptions of kit components with installation instruc-
tions, and details about the development board.
Technical Reference
Documentation of the EZ-USB controller. Includes details about the CPU,
memory, input/output, ReNumerationTM, bulk transfers, endpoint zero, iso-
chronous transfers, interrupts, resets, power management, registers, AC/
DC parameters, and packages.
Appendices
Documentation for the 8051 enhanced core. Includes an introduction, an
architectural overview, and a hardware description.
Registers
EZ-USB register maps.
Technical Support:
Phone: (858) 613-7929
E-mail: usbapps@cypress.com
Website:
www.cypress.com
EZ-USB
Technical Reference Manual
Version 1.9
May 2000
EZ-USB TRM v1.9
Table of Contents
i
EZ-USB
Technical Reference Manual
Table of Contents
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1
Introducing EZ-USB ......................................................................1-1
1.1
Introduction ............................................................................................. 1-1
1.2
EZ-USB Block Diagrams ....................................................................... 1-2
1.3
The USB Specification ........................................................................... 1-3
1.4
Tokens and PIDs ..................................................................................... 1-4
1.5
Host is Master ......................................................................................... 1-5
1.5.1
Receiving Data from the Host .................................................. 1-6
1.5.2
Sending Data to the Host ......................................................... 1-6
1.6
USB Direction ......................................................................................... 1-6
1.7
Frame ...................................................................................................... 1-6
1.7.1
Bulk Transfers .......................................................................... 1-7
1.7.2
Interrupt Transfers ................................................................... 1-7
1.8
EZ-USB Transfer Types ......................................................................... 1-7
1.8.1
Isochronous Transfers ............................................................. 1-8
1.8.2
Control Transfers ..................................................................... 1-8
1.9
Enumeration ............................................................................................ 1-9
1.10
The USB Core ....................................................................................... 1-10
1.11
EZ-USB Microprocessor ...................................................................... 1-11
1.12
ReNumeration` ...................................................................................... 1-12
1.13
EZ-USB Endpoints ............................................................................... 1-12
1.13.1
EZ-USB Bulk Endpoints ......................................................... 1-13
1.13.2
EZ-USB Control Endpoint Zero ............................................ 1-13
1.13.3
EZ-USB Interrupt Endpoints ................................................. 1-14
1.13.4
EZ-USB Isochronous Endpoints ............................................ 1-14
1.14
Fast Transfer Modes ............................................................................. 1-14
1.15
Interrupts ............................................................................................... 1-15
ii
Table of Contents
EZ-USB TRM v1.9
1.16
Reset and Power Management .............................................................. 1-15
1.17
EZ-USB Product Family ....................................................................... 1-16
1.18
Summary of AN2122, AN2126 Features ............................................. 1-16
1.19
Revision ID ........................................................................................... 1-17
1.20
Pin Descriptions .................................................................................... 1-18
2
EZ-USB CPU .................................................................................. 2-1
2.1
Introduction ............................................................................................. 2-1
2.2
8051 Enhancements ................................................................................ 2-1
2.3
EZ-USB Enhancements .......................................................................... 2-2
2.4
EZ-USB Register Interface ..................................................................... 2-2
2.5
EZ-USB Internal RAM ........................................................................... 2-3
2.6
I/O Ports .................................................................................................. 2-3
2.7
Interrupts ................................................................................................. 2-4
2.8
Power Control ......................................................................................... 2-5
2.9
SFRs ........................................................................................................ 2-6
2.10
Internal Bus ............................................................................................. 2-7
2.11
Reset ........................................................................................................ 2-7
3
EZ-USB Memory ............................................................................ 3-1
3.1
Introduction ............................................................................................. 3-1
3.2
8051 Memory .......................................................................................... 3-2
3.3
Expanding EZ-USB Memory ................................................................. 3-4
3.4
CS# and OE# Signals .............................................................................. 3-5
3.5
EZ-USB ROM Versions ......................................................................... 3-7
4
EZ-USB Input/Output ................................................................... 4-1
4.1
Introduction ............................................................................................. 4-1
4.2
IO Ports ................................................................................................... 4-2
4.3
IO Port Registers ..................................................................................... 4-5
4.4
I2C Controller ......................................................................................... 4-6
4.5
8051 I2C Controller ................................................................................ 4-6
4.5.1
START ...................................................................................... 4-8
4.5.2
STOP ........................................................................................ 4-8
4.6
Control Bits ............................................................................................. 4-8
4.6.1
LASTRD ................................................................................... 4-9
4.6.2
DONE ....................................................................................... 4-9
4.6.3
ACK .......................................................................................... 4-9
4.7
Status Bits ............................................................................................... 4-9
4.7.1
BERR ...................................................................................... 4-10