EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
FPGA
»
USB NRZI data encoding
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: USB NRZI data encoding (Read 2119 times)
0 Members and 1 Guest are viewing this topic.
promach
Frequent Contributor
Posts: 878
Country:
USB NRZI data encoding
«
on:
August 17, 2020, 11:44:18 am »
Why the
following USB signalling bits
do not seem to follow NRZI data encoding ?
Logged
hexreader
Frequent Contributor
Posts: 269
Country:
Re: USB NRZI data encoding
«
Reply #1 on:
August 17, 2020, 12:11:47 pm »
My guess is that you are looking at the "bits" field in your diagram rather than the waveforms at the top.
NRZI applies to the waveforms on the USB bus, not the data bits.
Logged
The following users thanked this post:
promach
promach
Frequent Contributor
Posts: 878
Country:
Re: USB NRZI data encoding
«
Reply #2 on:
August 17, 2020, 01:07:18 pm »
what the spec labels "NRZI" is the signalling bits line in Sigrok, and what the spec labels "data" is the signalling symbols. ??
Logged
hexreader
Frequent Contributor
Posts: 269
Country:
Re: USB NRZI data encoding
«
Reply #3 on:
August 17, 2020, 02:48:22 pm »
My understanding of "symbols" is poor, but I see that user FVM has answered you on the edaboard forum. I trust him to have given the correct answer.
Logged
voltsandjolts
Supporter
Posts: 2454
Country:
Re: USB NRZI data encoding
«
Reply #4 on:
August 17, 2020, 02:59:29 pm »
Cross ref to that post on edaboard:
https://www.edaboard.com/threads/usb-nrzi-data-encoding.394296/
Logged
GeorgeOfTheJungle
Super Contributor
!
Posts: 2699
Country:
Re: USB NRZI data encoding
«
Reply #5 on:
August 17, 2020, 04:17:12 pm »
Low speed USB uses Manchester encoding IIRC.
Logged
The further a society drifts from truth, the more it will hate those who speak it.
ataradov
Super Contributor
Posts: 11780
Country:
Re: USB NRZI data encoding
«
Reply #6 on:
August 17, 2020, 04:46:50 pm »
You can see from the capture that it is NRZI encoded. Even in the SYNC sequence you can see that 0 is encoded as a transition between the states, and for the last "1" in the SYNC the state remain "K".
«
Last Edit: August 18, 2020, 02:19:02 am by ataradov
»
Logged
Alex
The following users thanked this post:
promach
promach
Frequent Contributor
Posts: 878
Country:
Re: USB NRZI data encoding
«
Reply #7 on:
August 18, 2020, 02:04:23 am »
Low speed USB uses Manchester encoding or NRZI encoding ?
Logged
ataradov
Super Contributor
Posts: 11780
Country:
Re: USB NRZI data encoding
«
Reply #8 on:
August 18, 2020, 02:18:31 am »
All of them use NRZI with bit stuffing to prevent long runs of 1s. There is no Manchester anywhere in USB. You can clearly see it on your log.
Logged
Alex
The following users thanked this post:
promach
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
FPGA
»
USB NRZI data encoding
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee