libraries/Arduino_H7_Video: Fix the DSI PLL configuration. #879
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.
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](https://private-user-images.githubusercontent.com/4498013/329977348-bcda4f9b-4c7f-4069-b08f-83d7a29fec15.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5NjU2MTEsIm5iZiI6MTczOTk2NTMxMSwicGF0aCI6Ii80NDk4MDEzLzMyOTk3NzM0OC1iY2RhNGY5Yi00YzdmLTQwNjktYjA4Zi04M2Q3YTI5ZmVjMTUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTlUMTE0MTUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTk3NDFjNGRmNTczM2MxZmFlNjI0ZmU4MTYwZDZjMzc4YjY2NWRkMzg0M2IwMWZkNjc3MjcwNWFmMDEyMjZhYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ZXI3tV47gfWE--rK2UlTwYXMNOC0Y-lt4fpmkeRzpUw)