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

libraries/Arduino_H7_Video: Fix the DSI PLL configuration. #879

Merged
merged 1 commit into from
May 13, 2024

Conversation

iabdalkader
Copy link
Contributor

@iabdalkader iabdalkader commented May 10, 2024

With the current configuration (NDIV=125, PLLIDF=3, PLLODF=1) the DSI PLL outputs an out of spec 83MHz clock. This fix sets the output clock to the max supported clock of 62.5MHz, according to the datasheet.

Fixes #743

Current settings:
image

With the current configuration (NDIV=125, PLLIDF=3, PLLODF=1) the DSI
PLL outputs an out of spec 83MHz clock. This fix sets the output clock
to the max supported clock of 62.5MHz, according to the datasheet.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
@iabdalkader iabdalkader requested a review from facchinm May 10, 2024 12:55
@facchinm
Copy link
Member

Well spotted! This has been wrong for quite a while, since the first alpha batch of Gigas with 12MHz quartz 🤦‍♂️ Merging!

@facchinm facchinm merged commit f3c4be2 into arduino:main May 13, 2024
11 checks passed
@iabdalkader iabdalkader deleted the dsi_pll_fix branch May 13, 2024 10:23
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

Successfully merging this pull request may close these issues.

GIGA Display - Graphics offset when running on M4.
2 participants