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

Minimum and maximum algorithm, For this assignment, you will need to create...

For this assignment, you will need to create an ARM assembly language code routine that implements an algorithm to search through an array and find BOTH the minimum and maximum val

Learning weights in perceptrons, Learning Weights in Perceptrons In det...

Learning Weights in Perceptrons In detail we will look at the learning method for weights in multi-layer networks next chapter. The following description of learning in percept

Explain the stack storage allocation model, Explain the stack storage alloc...

Explain the stack storage allocation model. In a stack-based allocation, all objects are allocated in last-in, first-out data structure and a stack. For example: Recursive subr

Indian standard code for information interchange, The ISCII is an 8-bit cod...

The ISCII is an 8-bit code which contains standard ASCII values till 127 from 128-225 it contains characters necessary in ten Brahmi-based Indian scripts. It is defined in IS 13194

Returns and procedures definitions in 8086, Q. Returns and Procedures defin...

Q. Returns and Procedures definitions in 8086? 8086 microprocessor supports RET and CALL instructions for procedure call. CALL instruction not only branches to indicate address

Database management system, what is time out based schemes in concurrency c...

what is time out based schemes in concurrency control

How many types memory mgt can divided, They are of two types. They are big ...

They are of two types. They are big endian and little endian. Memory is separated into two bank, 1:even bank 2:odd bank.

Example on sorting using combinational circuit, Q. Example on Sorting using...

Q. Example on Sorting using Combinational Circuit? Example: Think about a unsorted list having element values like given below {3,9,8,5,10,12,14,20,90,95,60,40,23,35,18,0}

Discuss in detail about micro computer, Discuss in detail about Micro compu...

Discuss in detail about Micro computer A microcomputer's CPU is a microprocessor. The microcomputer was originated in late 1970s. The first microcomputer was built around 8-bit

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