Skip to content

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 <[email protected]>
@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
@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