Cypress CY7C65113C User Manual

Browse online or download User Manual for Processors Cypress CY7C65113C. Cypress CY7C65113C User's Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 49
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
USB Hub with Microcontrolle
r
CY7C65113C
Cypress Semiconductor Corporation 198 Champion Court San Jose, CA 95134-1709 408-943-2600
Document #: 38-08002 Rev. *D Revised March 6, 2006
USB Hub with Microcontroller
[+] Feedback
Page view 0
1 2 3 4 5 6 ... 48 49

Summary of Contents

Page 1 - USB Hub with Microcontroller

USB Hub with MicrocontrollerCY7C65113CCypress Semiconductor Corporation • 198 Champion Court • San Jose, CA 95134-1709 • 408-943-2600Document #: 38-0

Page 2

CY7C65113CDocument #: 38-08002 Rev. *D Page 10 of 494.3 Instruction Set SummaryRefer to the CYASM Assembler User’s Guide for more details. Note that

Page 3

CY7C65113CDocument #: 38-08002 Rev. *D Page 11 of 495.0 Programming Model5.1 14-bit Program CounterThe 14-bit Program Counter (PC) allows access to

Page 4

CY7C65113CDocument #: 38-08002 Rev. *D Page 12 of 495.1.1 Program Memory Organization Note that the upper 32 bytes of the 8K PROM are reserved. Ther

Page 5

CY7C65113CDocument #: 38-08002 Rev. *D Page 13 of 495.2 8-bit Accumulator (A)The accumulator is the general-purpose register for the microcontroller

Page 6

CY7C65113CDocument #: 38-08002 Rev. *D Page 14 of 495.5 8-bit Data Stack Pointer (DSP)The Data Stack Pointer (DSP) supports PUSH and POP instruction

Page 7

CY7C65113CDocument #: 38-08002 Rev. *D Page 15 of 496.0 ClockingThe XTALIN and XTALOUT are the clock pins to the microcontroller. The user can conn

Page 8

CY7C65113CDocument #: 38-08002 Rev. *D Page 16 of 497.2 Watchdog ResetThe WDR occurs when the internal Watchdog Timer rolls over. Writing any value

Page 9

CY7C65113CDocument #: 38-08002 Rev. *D Page 17 of 499.0 General-purpose I/O PortsThere are 11 GPIO pins (P0[7:0] and P1[2:0]) for the hardware inte

Page 10 - CY7C65113C

CY7C65113CDocument #: 38-08002 Rev. *D Page 18 of 499.1 GPIO Configuration PortEvery GPIO port can be programmed as inputs with internal pull-ups, o

Page 11

CY7C65113CDocument #: 38-08002 Rev. *D Page 19 of 49 Q1, Q2, and Q3 discussed below are the transistors referenced in Figure 9-1. The available GPIO

Page 12

CY7C65113CDocument #: 38-08002 Rev. *D Page 2 of 49TABLE OF CONTENTS1.0 FEATURES ...

Page 13

CY7C65113CDocument #: 38-08002 Rev. *D Page 20 of 49Bit [7:0]: Timer lower eight bits. Bit [3:0]: Timer higher nibbleBit [7:4]: Reserved.11.0 I2C

Page 14

CY7C65113CDocument #: 38-08002 Rev. *D Page 21 of 4912.0 I2C-compatible ControllerThe I2C-compatible block provides a versatile two-wire communicat

Page 15

CY7C65113CDocument #: 38-08002 Rev. *D Page 22 of 49Bit 7 : MSTR ModeSetting this bit to 1 causes the I2C-compatible block to initiate a master mode

Page 16

CY7C65113CDocument #: 38-08002 Rev. *D Page 23 of 4913.0 Processor Status and Control Register Bit 0: RunThis bit is manipulated by the HALT instru

Page 17

CY7C65113CDocument #: 38-08002 Rev. *D Page 24 of 4914.0 InterruptsInterrupts are generated by GPIO pins, internal timers, I2C-compatible operation

Page 18

CY7C65113CDocument #: 38-08002 Rev. *D Page 25 of 49During a reset, the contents of the Global Interrupt Enable Register and USB End Point Interrupt

Page 19

CY7C65113CDocument #: 38-08002 Rev. *D Page 26 of 49Although Reset is not an interrupt, the first instruction executed after a reset is at PROM addr

Page 20

CY7C65113CDocument #: 38-08002 Rev. *D Page 27 of 4914.5 USB Endpoint InterruptsThere are five USB endpoint interrupts, one per endpoint. A USB endp

Page 21

CY7C65113CDocument #: 38-08002 Rev. *D Page 28 of 493. In slave transmit mode, after the slave transmits a byte of data: The ACK bit indicates if th

Page 22

CY7C65113CDocument #: 38-08002 Rev. *D Page 29 of 496. The host sends a request for the Device descriptor using the new USB address.7. Firmware deco

Page 23

CY7C65113CDocument #: 38-08002 Rev. *D Page 3 of 4916.0 USB HUB ...

Page 24

CY7C65113CDocument #: 38-08002 Rev. *D Page 30 of 49Bit [0..3] : Port x Speed (where x = 1..4).Set to 1 if the device plugged in to Port x is Low Sp

Page 25

CY7C65113CDocument #: 38-08002 Rev. *D Page 31 of 49The downstream USB ports are designed for connection of USB devices, but can also serve as outpu

Page 26

CY7C65113CDocument #: 38-08002 Rev. *D Page 32 of 49. Bit [0..3] : Port x Diff Data (where x = 1..4).Set to 1 if D+ > D- (forced differential 1,

Page 27

CY7C65113CDocument #: 38-08002 Rev. *D Page 33 of 49 Bit [0..3] : Resume x (where x = 1..4).When set to 1 Port x requesting to be resumed (set by ha

Page 28

CY7C65113CDocument #: 38-08002 Rev. *D Page 34 of 49Bit 3: Bus Activity.This is a “sticky” bit that indicates if any non-idle USB event has occurred

Page 29

CY7C65113CDocument #: 38-08002 Rev. *D Page 35 of 49When the SIE writes data to a FIFO, the internal data bus is driven by the SIE; not the CPU. Thi

Page 30

CY7C65113CDocument #: 38-08002 Rev. *D Page 36 of 49Bits[6:0] of the endpoint 0 mode register are locked from CPU write operations whenever the SIE

Page 31

CY7C65113CDocument #: 38-08002 Rev. *D Page 37 of 49Bit 6: Data Valid.This bit is set on receiving a proper CRC when the endpoint FIFO buffer is loa

Page 32

CY7C65113CDocument #: 38-08002 Rev. *D Page 38 of 49 ACK1. IN TokenHOSTDEVICESYNCINADDRCRC5ENDPSYNCDATA1/0CRC16SYNCDataToken Packet Data PacketHand

Page 33

CY7C65113CDocument #: 38-08002 Rev. *D Page 39 of 4918.0 USB Mode TablesModeThis lists the mnemonic given to the different modes that can be set in

Page 34

CY7C65113CDocument #: 38-08002 Rev. *D Page 4 of 49Figure 16-5. Hub Ports Force Low Register ...

Page 35

CY7C65113CDocument #: 38-08002 Rev. *D Page 40 of 49CommentsSome Mode Bits are automatically changed by the SIE in response to certain USB transacti

Page 36

CY7C65113CDocument #: 38-08002 Rev. *D Page 41 of 49. Table 18-3. Details of Modes for Differing Traffic Conditions (see Table 18-2 for the decode

Page 37

CY7C65113CDocument #: 38-08002 Rev. *D Page 42 of 490 0 1 0 Out !=2 UC valid updates 1 updates UC UC 1 UC 0 0 1 1 Stall yes0 0 1 0 Out > 10 UC x

Page 38

CY7C65113CDocument #: 38-08002 Rev. *D Page 43 of 49 19.0 Register Summary Address Register Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 R

Page 39

CY7C65113CDocument #: 38-08002 Rev. *D Page 44 of 49HUB PORT CONTROL, STATUS, SUSPEND RESUME, SE0, FORCE LOW 0x48 Hub Port Connect Status Reserved R

Page 40

CY7C65113CDocument #: 38-08002 Rev. *D Page 45 of 4920.0 Sample Schematic21.0 Absolute Maximum RatingsStorage Temperature ...

Page 41

CY7C65113CDocument #: 38-08002 Rev. *D Page 46 of 4922.0 Electrical CharacteristicsfOSC = 6 MHz; Operating Temperature = 0 to 70°C, VCC = 4.0V to 5

Page 42

CY7C65113CDocument #: 38-08002 Rev. *D Page 47 of 49 23.0 Switching Characteristics (fOSC = 6.0 MHz) Parameter Description Min. Max. UnitClock Sou

Page 43

CY7C65113CDocument #: 38-08002 Rev. *D Page 48 of 49© Cypress Semiconductor Corporation, 2006. The information contained herein is subject to chang

Page 44

CY7C65113CDocument #: 38-08002 Rev. *D Page 49 of 49Document History Page Document Title: CY7C65113C USB Hub with MicrocontrollerDocument Number: 38

Page 45

CY7C65113CDocument #: 38-08002 Rev. *D Page 5 of 491.0 Features• Full Speed USB hub with an integrated microcontroller• 8-bit USB optimized microco

Page 46

CY7C65113CDocument #: 38-08002 Rev. *D Page 6 of 492.0 Functional OverviewThe CY7C65113C device is a one-time programmable 8-bit microcontroller wi

Page 47

CY7C65113CDocument #: 38-08002 Rev. *D Page 7 of 49 Logic Block DiagramInterruptControllerPROM12-bitTimerResetWatchdogTimerRepeaterPower-onSCLKI2C c

Page 48

CY7C65113CDocument #: 38-08002 Rev. *D Page 8 of 494.0 Product Summary Tables4.1 Pin Assignments 3.0 Pin ConfigurationsTable 4-1. Pin Assignments

Page 49

CY7C65113CDocument #: 38-08002 Rev. *D Page 9 of 494.2 I/O Register SummaryI/O registers are accessed via the I/O Read (IORD) and I/O Write (IOWR, I

Comments to this Manuals

No comments