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

SDRAM.h uses PLL2 instead of HCLK3 (same freq on Portenta) #994

Open
Bexin3 opened this issue Nov 9, 2024 · 1 comment
Open

SDRAM.h uses PLL2 instead of HCLK3 (same freq on Portenta) #994

Bexin3 opened this issue Nov 9, 2024 · 1 comment

Comments

@Bexin3
Copy link

Bexin3 commented Nov 9, 2024

Hello,
It seems ram_internal.c and .h / SDRAM init uses and fully defines PLL2, leaving one with no configurable clocks if using a display. This seems pointless on Portenta, as using HCLK would result in same 200mhz for the FMC clock, while on giga it's 240mhz, which is a slightly higher, but it gets divided by two into 120, staying within the spec of 166mhz. Further in my pull request for giga I changed the frequency defined, and I believe based on this timings get automatically calculated to ensure the correct delays,
Not having PLL2 available is a huge limited on projects.

@Bexin3
Copy link
Author

Bexin3 commented Nov 10, 2024

After checking again, it is already divided so it would be running at 120mhz still within spec, I have now opened a pull request #995 to change this

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