Cypress CY7C65113C manual Dtog Dval Count

Page 41

CY7C65113C

.

Table 18-3. Details of Modes for Differing Traffic Conditions (see Table 18-2for the decode legend)

SETUP (if accepting SETUPs)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Properties of Incoming Packet

 

 

Changes made by SIE to Internal Registers and Mode Bits

 

 

 

 

 

 

Mode Bits

 

 

token

count

buffer

dval

DTOG

DVAL

COUNT

Setup

In

Out

ACK

Mode Bits

Response

Intr

See Table 18-1

 

Setup

<= 10

data

valid

updates

1

updates

1

UC

UC

1

0

0

0

1

ACK

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

See Table 18-1

 

Setup

> 10

junk

x

updates

updates

updates

1

UC

UC

UC

NoChange

ignore

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

See Table 18-1

 

Setup

x

junk

invalid

updates

0

updates

1

UC

UC

UC

NoChange

ignore

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Properties of Incoming Packet

 

 

Changes made by SIE to Internal Registers and Mode Bits

 

 

 

 

 

 

Mode Bits

 

 

token

count

buffer

dval

DTOG

DVAL

COUNT

Setup

In

Out

ACK

Mode Bits

Response

Intr

DISABLED

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

0

 

x

x

UC

x

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Nak

In/Out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

1

 

Out

x

UC

x

UC

UC

UC

UC

UC

1

UC

NoChange

NAK

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

1

 

In

x

UC

x

UC

UC

UC

UC

1

UC

UC

NoChange

NAK

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ignore In/Out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

0

0

 

Out

x

UC

x

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

0

0

 

In

x

UC

x

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Stall

In/Out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

1

1

 

Out

x

UC

x

UC

UC

UC

UC

UC

1

UC

NoChange

Stall

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

1

1

 

In

x

UC

x

UC

UC

UC

UC

1

UC

UC

NoChange

Stall

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONTROL WRITE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Properties of Incoming Packet

 

 

Changes made by SIE to Internal Registers and Mode Bits

 

 

 

 

 

 

Mode Bits

 

 

token

count

buffer

dval

DTOG

DVAL

COUNT

Setup

In

Out

ACK

Mode Bits

Response

Intr

Normal Out/premature status In

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

1

 

Out

<= 10

data

valid

updates

1

updates

UC

UC

1

1

1

0

1

0

ACK

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

1

 

Out

> 10

junk

x

updates

updates

updates

UC

UC

1

UC

NoChange

ignore

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

1

 

Out

x

junk

invalid

updates

0

updates

UC

UC

1

UC

NoChange

ignore

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

1

 

In

x

UC

x

UC

UC

UC

UC

1

UC

1

NoChange

TX 0

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NAK

 

Out/premature status In

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

0

 

Out

<= 10

UC

valid

UC

UC

UC

UC

UC

1

UC

NoChange

NAK

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

0

 

Out

> 10

UC

x

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

0

 

Out

x

UC

invalid

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

0

 

In

x

UC

x

UC

UC

UC

UC

1

UC

1

NoChange

TX 0

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Status In/extra Out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

1

0

 

Out

<= 10

UC

valid

UC

UC

UC

UC

UC

1

UC

0

0

1

1

Stall

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

1

0

 

Out

> 10

UC

x

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

1

0

 

Out

x

UC

invalid

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

1

0

 

In

x

UC

x

UC

UC

UC

UC

1

UC

1

NoChange

TX 0

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONTROL READ

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Properties of Incoming Packet

 

 

Changes made by SIE to Internal Registers and Mode Bits

 

 

 

 

 

 

Mode Bits

 

 

token

count

buffer

dval

DTOG

DVAL

COUNT

Setup

In

Out

ACK

Mode Bits

Response

Intr

Normal In/premature

status

Out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

1

 

Out

2

UC

valid

1

1

updates

UC

UC

1

1

NoChange

ACK

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

1

 

Out

2

UC

valid

0

1

updates

UC

UC

1

UC

0

0

1

1

Stall

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

1

 

Out

!=2

UC

valid

updates

1

updates

UC

UC

1

UC

0

0

1

1

Stall

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

1

 

Out

> 10

UC

x

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

1

 

Out

x

UC

invalid

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

1

 

In

x

UC

x

UC

UC

UC

UC

1

UC

1

1

1

1

0

ACK (back)

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Nak

In/premature status Out

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

0

 

Out

2

UC

valid

1

1

updates

UC

UC

1

1

NoChange

ACK

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

0

 

Out

2

UC

valid

0

1

updates

UC

UC

1

UC

0

0

1

1

Stall

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

0

 

Out

!=2

UC

valid

updates

1

updates

UC

UC

1

UC

0

0

1

1

Stall

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

0

 

Out

> 10

UC

x

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

0

 

Out

x

UC

invalid

UC

UC

UC

UC

UC

UC

UC

NoChange

ignore

no

1

1

1

0

 

In

x

UC

x

UC

UC

UC

UC

1

UC

UC

NoChange

NAK

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Status Out/extra In

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

1

0

 

Out

2

UC

valid

1

1

updates

UC

UC

1

1

NoChange

ACK

yes

0

0

1

0

 

Out

2

UC

valid

0

1

updates

UC

UC

1

UC

0

0

1

1

Stall

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Document #: 38-08002 Rev. *D

Page 41 of 49

[+] Feedback

Image 41
Contents Cypress Semiconductor Corporation USB Hub with MicrocontrollerCY7C65113C 17.0 16.018.0 19.0List of Tables Features Gpio Functional OverviewI2C USBLogic Block Diagram Product Summary Tables Pin ConfigurationsPin Assignments Top View CY7C65113C 28-pin SoicI/O Register Summary Instruction Set Summary Instruction Set SummaryMnemonic Operand Opcode Cycles14-bit Program Counter Programming ModelKB -32 Prom ends here CY7C65113C Program Memory begins here8-bit Program Stack Pointer PSP 8-bit Accumulator a8-bit Temporary Register MOV A, Dspinit 8-bit Data Stack Pointer DSPAddress Modes Clocking Power-on ResetXtalout XtalinWatchdog Reset Suspend ModePort 0 Data Address General-purpose I/O PortsPort 0,1 Low Isink Gpio Configuration Address Gpio Configuration PortPort 0 Interrupt Enable 10.0 12-bit Free-Running TimerGpio Interrupt Enable Ports Timer LSB Address 11.0 I2C Configuration RegisterTimer MSB Address 2C Configuration AddressI2C Data Address 12.0 I2C-compatible Controller2C Status and Control Address ACKContinue/Busy Write 1 to indicate ready for next transaction IRQ Processor Status and Control RegisterProcessor Status and Control Address 0xFF Interrupts Global Interrupt Enable Register AddressUSB Endpoint Interrupt Enable Address Interrupt Vectors Interrupt Controller Function DiagramInterrupt Latency USB Bus Reset InterruptTimer Interrupt USB Hub Interrupt USB Endpoint InterruptsGpio Interrupt 14.8 I2C InterruptUSB Serial Interface Engine SIE USB OverviewUSB Enumeration ACK/NAK/STALLHub Ports Connect Status Connecting/Disconnecting a USB DeviceUSB Hub Hub Ports Enable Register Hub Ports Enable Register AddressEnabling/Disabling a USB Device Hub Downstream Ports Status and ControlHub Ports SE0 Status Address 0x4F Hub Downstream Ports Control Register Address 0x4BHub Ports Force Low Hub Ports Data Downstream Port Suspend and ResumeHub Ports Data Register Hub Ports Suspend Address 0x4DUSB Status and Control Address 0x1F USB Upstream Port Status and ControlHub Ports Resume Address 0x4E USB Device Addresses USB Serial Interface Engine OperationUSB Device Endpoints USB Device Address Device A, B Addresses 0x10A and 0x40BSize Label Start Address USB Control Endpoint Mode RegistersUSB Device Endpoint Zero Mode A0, B0 USB Non-control Device Endpoint Mode USB Non-control Endpoint Mode RegistersUSB Endpoint Counter Registers StallUpdate Endpoint Mode/Count Registers Update and Locking MechanismSetup Data Update only if Fifo is WrittenSet Data SetSetup OUT USB Mode TablesDtog Dval Count Dtog Dval Count Endpoint Ports Register SummaryLOW Absolute Maximum Ratings Sample SchematicParameter Description Conditions Min Max Unit General Electrical CharacteristicsUSB Interface Upstream/Downstream PortUSB Full-speed Signaling10 Switching Characteristics fOSC = 6.0 MHzTimer Signals Parameter Description Min Max Unit Clock SourceOrdering Information Package DiagramOrdering Code Prom Size Package Type Operating Range CY7C65113C-SXCTREV ECN no Issue Date Orig. Description of ChangeDocument History