Token packets - universal serial bus, Computer Engineering

Assignment Help:

Token packets in universal serial bus - computer architecture:

Token packets consist of a PID byte followed by two payload bytes: a 5-bit CRC and 11 bits of address. Tokens are just sent by the host, never by a device.

IN and OUT tokens have a 4-bit device number (for multifunction devices) and 7-bit function number and command the components to transmit DATA x packets, or retain the following DATA x packets, respectively.

An IN token expects a response from a device. The response can be a STALL or NAK response, or can be a DATA x frame response. In the afterward case, the host issues an ACK handshake if it is appropriate.

An OUT token is followed immediately by a DATA x frame. The component responds with, STALL, NYET, ACK or NAK as appropriate. SETUP operates mostly like an OUT token, but it is used for initial component setup. It is followed by an 8-byte.DATA0 frame with a standardized format.

In every millisecond (12000 full-speed bit times), the USB host transmits a special SOF (start of frame) token which is containing an 11-bit incrementing frame number in place of a component address. It is used to synchronize isochronous data flows. High-speed USB 2.0 devices retain 7 additional duplicate SOF tokens per frame, each introducing a 125 µs "micro frame" (60000 high-speed bit times each).

USB 2.0 added a PING token, which asks components if it is ready to retain an OUT/DATA packet pair. The components respond with NAK, ACK or STALL, as appropriate. It avoids the requirement to send the DATA packet if the components know that it will just respond with NAK.

USB 2.0 also added a larger 3-byte SPLIT token having a, 12 bits of control flags, 7-bit hub number and a 5-bit CRC. It is used to perform split transactions. Or else tie up the high-speed USB bus sending data to a slower USB device, the closest high-speed capable hub retain a SPLIT token followed by 1 or 2 USB packets at high speed, performs the data transfer at low or full speed, and provides the response at high speed when prompted by a second SPLIT token. The details are completed; see the USB specification.


Related Discussions:- Token packets - universal serial bus

Explain the processor-memory interconnection network (pmin), Processor-Memo...

Processor-Memory Interconnection Network (PMIN): It's a switch which attaches several processors to distinct memory modules. Connecting each processor to every memory module in

Draw a circuit of TTL gates with Wired-AND connection, Draw a circuit of TT...

Draw a circuit of TTL gates with Wired-AND connection and explain its operation. Wired - AND Connection In digital IC's NAND and NOR gates are most frequently used. For th

What is drawbacks of cd- rom, Q. What is Drawbacks of CD- ROM? Drawbac...

Q. What is Drawbacks of CD- ROM? Drawbacks of CD- ROM are as below: 1. It is read-only and can't be updated. 2. It has an access time much longer than magnetic disk dri

Uniform path cost search - artificial intelligence, Uniform Path Cost Searc...

Uniform Path Cost Search - artificial intelligence: A breadth first search will find the solution with the shortest path length from the initial state to the goal state. In fa

Chains of inference, Chains of Inference: Now we have to look at how t...

Chains of Inference: Now we have to look at how to get an agent to prove a given theorem using various search strategies? Thus we have noted in previous lectures that, there i

Explain form and input tag, Q. Explain FORM and INPUT Tag? A good way t...

Q. Explain FORM and INPUT Tag? A good way to learn about forms is to make use your notepad editor and make a new HTML document. Save it as form1.htm in some folder somewhere. Y

What are ramps, Ramps A network planning method that makes the most wel...

Ramps A network planning method that makes the most well-organized use of manpower, materials and cash resources between several projects going on concurrently.

Find resolution & volts of a 2-digit BCD D/A converter, A 2-digit BCD D/A c...

A 2-digit BCD D/A converter is a weighted resistor type with E R = 1 Volt, with R = 1M? , R f = 10K? . Find resolution in Percent and Volts. Ans. Resolution = 1/2 2 = 0.25 vo

Transportation model, advantages and disadvantages of northwest corner meth...

advantages and disadvantages of northwest corner method and least cost method

Draw a schematic for managing dynamic storage allocation, Draw a simple sch...

Draw a simple schematic for managing dynamic storage allocation. A simple schematic for managing dynamic storage allocation is as follows: Block size pointe

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd