Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

usb_2.0_english

.pdf
Скачиваний:
42
Добавлен:
03.05.2015
Размер:
5.98 Mб
Скачать

Universal Serial Bus Specification Revision 2.0

Host

(data toggle)

0

 

 

 

uFrame M

st1

SSPLIT

st1

 

 

 

 

st2

IN

st2

 

 

 

uFrame M+1

 

 

 

uFrame M+2

ct1

CSPLIT

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

ch6

NYET

ch4

 

 

 

uFrame M+3

ct1

CSPLIT

 

 

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

ch7

DATA0

cd1

 

 

 

1

uFrame M+4 Host does not issue 3rd CSPLIT,

because host already receives DATA0 on previous microframe.

uFrame M+5

Hub

(SS: start sp. status CS: comp. sp. status)

SS:Free/x

SS:Pending/x

CS:Ready/lastdata

CS:Old/lastdata

SS:Free/x

CS:Free/x

FS/LS device

(data toggle) 0

IN

DATA0

ACK

1

Figure A-75. CS Earlier No Smash(HS NYET and FS/LS Data Packet is on M+2)

523

Universal Serial Bus Specification Revision 2.0

Host

(data toggle) 0

uFrame M

st1

st2

uFrame M+1

uFrame M+2

ct1

ct2

ch6

uFrame M+3

ct1

ct2

ch5

uFrame M+4

ct1

ct2

ch7

1 uFrame M+5

Hub

(SS: start sp. status CS: comp. sp. status)

SS:Free/x

SSPLIT

st1

 

IN

st2

 

SS:Pending/x

CSPLIT

ct1

 

 

 

IN

ct2

 

 

 

NYET

ch4

 

 

 

CS1:Ready/moredata

CSPLIT

ct1

CS2:Ready/lastdata

 

 

IN

ct2

 

 

 

MDATA

cd2

CS1:Old/moredata

CSPLIT

 

SS:Free/x

ct1

CS1:Free/x

 

IN

ct2

 

 

 

DATA0

cd1

CS2:Old/lastdata

 

 

CS2:Free/x

FS/LS device

(data toggle) 0

IN

DATA0

ACK

1

Figure A-76. CS Earlier No Smash(HS NYET and MDATA and FS/LS Data Packet is on M+2 and M+3)

524

Universal Serial Bus Specification Revision 2.0

Host

(data toggle)

0

 

 

uFrame M

st1

SSPLIT

 

st2

IN

uFrame M+1

 

 

uFrame M+2

ct1

CSPLIT

 

ct2

IN

 

ch6

NYET

 

 

uFrame M+3

ct1

CSPLIT

 

 

ct2

IN

 

ch6

NYET

 

 

uFrame M+4

ct1

CSPLIT

 

 

ct2

IN

 

ch7

DATA0

 

 

1

 

 

uFrame M+5

 

 

Hub

(SS: start sp. status CS: comp. sp. status)

SS:Free/x

st1

st2

SS:Pending/x

ct1

ct2

ch4

ct1

ct2

ch4

 

CS:Ready/lastdata

 

SS:Free/x

ct1

 

ct2

 

cd1

CS:Old/lastdata

 

CS:Free/x

FS/LS device

(data toggle) 0

IN

DATA0

ACK

1

Figure A-77. CS Earlier No Smash(HS NYET and FS/LS Data Packet is on M+3)

525

Universal Serial Bus Specification Revision 2.0

Host

(data toggle)

0

 

 

 

uFrame M

st1

SSPLIT

st1

 

 

 

 

st2

IN

st2

 

 

 

uFrame M+1

 

 

 

uFrame M+2

ct1

CSPLIT

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

NYET

ch4

 

TRANS_ERR

 

 

ce1->ce8

 

 

 

ct1

CSPLIT(retry imm.)

 

 

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

ch6

NYET

ch4

 

 

 

uFrame M+3

ct1

CSPLIT

 

 

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

ch7

DATA0

cd1

 

 

 

1

uFrame M+4 Host does not issue 3rd CSPLIT,

because host already receives DATA0 on previous microframe.

uFrame M+5

Hub

(SS: start sp. status CS: comp. sp. status)

SS:Free/x

SS:Pending/x

CS:Ready/lastdata

CS:Old/lastdata

SS:Free/x

CS:Free/x

Figure A-78. CS Earlier HS NYET Smash

FS/LS device

(data toggle) 0

IN

DATA0

ACK

1

526

Universal Serial Bus Specification Revision 2.0

IN.CSPLIT earlier.HS NYET 3 strikes smash

Host

 

 

Hub

 

 

(SS: start sp. status

(data toggle)

 

 

 

 

CS: comp. sp. status)

 

 

 

0

 

 

SS:Free/x

uFrame M

st1

SSPLIT

st1

 

 

 

 

st2

IN

st2

 

 

 

 

 

 

SS:Pending/x

uFrame M+1

 

 

 

FS/LS device

(data toggle) 0

uFrame M+2

ct1

CSPLIT

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

NYET

ch4

 

TRANS_ERR

 

 

ce1->ce8

CSPLIT(retry imm.)

 

ct1

 

 

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

NYET

ch4

 

TRANS_ERR

 

 

ce1->ce8

 

 

 

ct1

CSPLIT(retry imm.)

 

 

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

NYET ch4

TRANS_ERR

ce1->ce7

ENDPOINT HALT

uFrame M+3 Host does not issue 2nd CSPLIT,

because this endpoint is already ENDPOINT HALT.

uFrame M+4 Host does not issue 3rd CSPLIT,

because this endpoint is already ENDPOINT HALT.

IN

DATA0

CS:Ready/lastdata

ACK

1

SS:Free/x

CS:Free/x

uFrame M+5

Figure A-79. CS Earlier HS NYET 3 Strikes Smash

527

Universal Serial Bus Specification Revision 2.0

Host

(data toggle)

0

 

 

 

uFrame M

st1

SSPLIT

st1

 

 

 

 

st2

IN

st2

 

 

 

uFrame M+1

 

 

 

uFrame M+2

ct1

CSPLIT

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

ch6

NYET

ch4

 

 

 

uFrame M+3

ct1

CSPLIT

 

 

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

ch6

NYET

ch4

 

 

 

uFrame M+4

ct1

CSPLIT

 

 

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

ce3

NYET

ch4

 

 

 

 

ce2->ce6

 

 

uFrame M+8

st1

SSPLIT(retry)

 

 

st1

 

 

 

 

st2

IN

st2

 

 

 

uFrame M+9

uFrame M+10

ct1

CSPLIT

ct1

 

 

 

 

ct2

IN

ct2

 

 

 

 

ch7

DATA0

cd1

 

 

 

1

 

 

 

Hub

(SS: start sp. status CS: comp. sp. status)

SS:Free/x

SS:Pending/x

IN

DATA0

SS:Free/x

FS/LS device

(data toggle) 0

Hub removes this data packet on a buffer and hub does not send ACK.

SS:Pending/x

IN

DATA0

CS:Ready/lastdata

ACK

1

CS:Old/lastdata

Figure A-80. Abort and Free Abort(HS NYET and FS/LS Transaction is Continued at End of M+3)

528

Universal Serial Bus Specification Revision 2.0

Host

 

 

Hub

 

 

(SS: start sp. status

(data toggle)

 

 

 

 

CS: comp. sp. status)

 

 

 

0

 

 

SS:Free/x

uFrame M

st1

SSPLIT

st1

 

 

 

 

st2

IN

st2

 

 

 

 

 

 

SS:Pending/x

uFrame M+1

 

 

 

FS/LS device

(data toggle) 0

uFrame M+2

ct1

CSPLIT

ct1

 

 

 

 

 

 

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

 

 

 

 

 

ch6

NYET

ch4

 

 

 

 

 

 

 

 

 

uFrame M+3

ct1

CSPLIT

 

 

 

 

 

ct1

 

 

 

 

 

 

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

 

 

 

 

 

ch6

NYET

ch4

 

 

 

 

 

 

 

 

 

uFrame M+4

ct1

CSPLIT

 

SS:Free/x

Hub frees this transaction from SS.

 

ct1

 

 

 

 

 

 

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

 

 

 

 

 

ce3

NYET

ch4

 

 

 

 

 

 

 

 

 

 

ce2->ce6

 

 

 

 

 

uFrame M+8

st1

SSPLIT(retry)

 

 

 

 

 

st1

 

 

 

 

 

 

 

 

 

 

st2

IN

st2

 

 

 

 

 

 

 

 

 

 

 

 

 

SS:Pending/x

 

 

uFrame M+9

 

 

 

 

 

IN

 

 

 

 

 

 

 

 

 

 

 

 

DATA0

 

 

 

 

CS:Ready/lastdata

ACK

 

 

 

 

 

 

1

uFrame M+10

ct1

CSPLIT

ct1

 

 

 

 

 

 

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

 

 

 

 

 

ch7

DATA0

cd1

CS:Old/lastdata

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

Figure A-81. Abort and Free Free(HS NYET and FS/LS Transaction is not Started at End of M+3)

529

Universal Serial Bus Specification Revision 2.0

Host

 

 

 

Hub

 

 

 

(SS: start sp. status

(data toggle)

 

 

 

 

 

 

CS: comp. sp. status)

 

 

 

 

0

 

 

 

SS:Free/x

uFrame M

st1

SSPLIT

 

 

 

 

st1

 

 

 

 

 

 

st2

IN

st2

 

 

 

 

 

 

 

 

 

SS:Pending/x

uFrame M+1

 

 

 

IN

 

 

 

 

NAK

 

 

 

 

CS:Ready/nak

uFrame M+2

ct1

CSPLIT

ct1

 

 

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

 

ch1

NAK

ch1

CS:Old/nak

 

 

 

 

uFrame M+3 Host does not issue 2nd CSPLIT,

CS:Free/x

 

because host already receives

 

 

NAK on previous microframe.

 

uFrame M+4 Host does not issue 3rd CSPLIT,

SS:Free/x

 

because host already receives

 

 

NAK on previous microframe.

 

uFrame M+8

 

SSPLIT(retry)

 

 

st1

 

 

 

st1

 

 

 

 

 

 

st2

IN

st2

 

 

 

 

 

 

 

 

 

SS:Pending/x

uFrame M+9

 

 

 

IN

 

 

 

 

DATA0

FS/LS device

(data toggle) 0

 

 

 

CS:Ready/lastdata

ACK

 

 

 

 

1

uFrame M+10

ct1

CSPLIT

ct1

 

 

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

 

 

DATA0

CS:Old/lastdata

 

 

ch7

cd1

 

 

 

 

 

1

 

 

 

 

Figure A-82. Device Busy No Smash(FS/LS NAK)

530

Universal Serial Bus Specification Revision 2.0

Host

 

Hub

 

(SS: start sp. status

(data toggle)

 

 

CS: comp. sp. status)

 

 

0

 

SS:Free/x

uFrame M

SSPLIT

 

st1

 

st1

 

 

st2

IN

st2

 

 

 

 

SS:Pending/x

uFrame M+1

 

IN

STALL

 

 

 

 

CS:Ready/stall

uFrame M+2

ct1

CSPLIT

ct1

 

 

 

 

 

 

ct2

IN

ct2

 

 

 

 

 

 

ce2

STALL

ch3

CS:Old/stall

 

 

 

 

 

ENDPOINT HALT

 

 

uFrame M+3

Host does not issue 2nd CSPLIT,

CS:Free/x

 

because this endpoint is already

 

 

ENDPOINT HALT.

 

 

uFrame M+4

Host does not issue 3rd CSPLIT,

SS:Free/x

 

because this endpoint is already

 

 

ENDPOINT HALT.

 

 

Figure A-83. Device Stall No Smash(FS/LS STALL)

FS/LS device

(data toggle) 0

531

Universal Serial Bus Specification Revision 2.0

A.5

Isochronous OUT Split-transaction Examples

 

 

 

 

 

 

 

Case

Reference

 

 

 

Figure

 

 

 

 

 

 

Normal: small payload (<=188)

1

 

 

 

 

 

 

Normal: large payload (> 188)

2

 

 

 

 

 

 

HS SSPLIT-all corrupted, HS OUT corrupted

3

 

 

 

 

 

 

HS DATA0 corrupted (small payload)

4

 

 

 

 

 

 

HS SSPLIT-begin corrupted

5

 

 

 

 

 

 

HS OUT after the HS SSPLIT-begin is corrupted

6

 

 

 

 

 

 

HS DATA0 corrupted (large payload)

7

 

 

 

 

 

 

HS SSPLIT-mid or OUT or DATA0 corrupted

8

 

 

 

 

532

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]