Navigation Menu

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

firmware: fix MMCM multiplier & divisor calculation #462

Merged
merged 1 commit into from Dec 28, 2018

Conversation

rohitk-singh
Copy link
Member

Previously, the resulting pixel clock was 1/10th of the actual value. This PR fixes the calculation. Also added a warning in case the VCO frequency goes outside the allowed range.

The HDMI output is now working in Mimas A7 with this fix.

Also warn if the calculated VCO frequency strays outside the
datasheet specified range

Signed-off-by: Rohit Singh <rohit91.2008@gmail.com>
@rohitk-singh
Copy link
Member Author

@mithro @enjoy-digital Admittedly, we need better multiplier and divisor calculation. In the meantime, I've just added a warning in case VCO is configured with frequency outside the range.

@mithro mithro merged commit 72a58c2 into timvideos:master Dec 28, 2018
@rohitk-singh rohitk-singh deleted the mmcm_fix branch January 29, 2019 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants