Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDIO appears to sample data on falling edge when decoding messages from PHY, which does not work at higher clock rates. #3

Open
Marcus10110 opened this issue Jul 2, 2019 · 0 comments

Comments

@Marcus10110
Copy link
Contributor

From Wikipedia:
When the PHY drives the MDIO line, the PHY has to provide the MDIO signal between 0 and 300 ns after the rising edge of the clock.[1] Hence, with a minimum clock period of 400 ns (2.5 MHz maximum clock rate) the MAC can safely sample MDIO during the second half of the low cycle of the clock.

It sounds like if we depend on sampling on the falling edge, we might be sampling too soon if the half-period time is less than 300ns. The analyzer should handle this and ensure it's samples after 300ns.

This is based on user feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant