What is the PID field byte for a PID code of '0010' in a USB packet structure?

  • Thread starter Thread starter Liamt
  • Start date Start date
  • Tags Tags
    Pid
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 2K views
Liamt
Messages
3
Reaction score
0
Hi i need help answering a question I am stuck on if anyones able to assist

if a PID code is ‘0010’ what should the PID field byte be?

Im really struggling on how to work it out
 
Physics news on Phys.org
Can you give a context here? What do you mean by PID code?

If its 0010 then that requires only 4 bits to store. Microcomputer memory is organized by bytes which are 8-bit entities.
 
jedishrfu said:
Can you give a context here? What do you mean by PID code?

If its 0010 then that requires only 4 bits to store. Microcomputer memory is organized by bytes which are 8-bit entities.

Basically the initial question is , The diagram below shows the structure of a USB token packet. Identify the function of each field.
then the next question is the one above 'if a pid code is 0010 ,what should the PID field byte be?