Extend 10Base-T decoder to catch wide eye at the beginning of the preamble of TX frames - #1114
Open
juan-domenech wants to merge 1 commit into
Open
Extend 10Base-T decoder to catch wide eye at the beginning of the preamble of TX frames#1114juan-domenech wants to merge 1 commit into
juan-domenech wants to merge 1 commit into
Conversation
…able of TX frames
Author
|
Waveform used in the test http://juan-domenech.github.io/chan2-source.csv.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix for issue:
Ethernet10BaseTDecoder expects frames to begin with a falling edge. In some cases TX frames (from the host computer to the network) begin with a positive edge.
Also, in these cases, the first zero crossing is 100ns long instead of the 50ns we see in RX frames.
This causes the decoder to not decode TX frames.
Debug log of the issue:
Beginning of the 10Base-T transmission frame:

Proposed solution:
This has been tested using Ethernet 10Mbits hardware and waveforms from a Rigol oscillloscope.
Additional context on this Youtube▶️ video:
Exploring Ethernet: Decoding 10BASE-T (success!)