Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4606

SDK • Difference between set_sys_clock_khz and set_sys_clock_pll?

$
0
0
Hi,

I am fiddling with scanvideo / VGA, which implies some sort of overclocking, and I am encountering a difference between set_sys_clock_khz and set_sys_clock_pll for one particular frequency.

"set_sys_clock_khz(292500L, false)" fails and return "false".

"[set_sys_clock_pll(1170000000L, 4, 1)" as given by "./src/rp2_common/hardware_clocks/scripts/vcocalc.py 292.5" effectively sets system clock to 292.5 MHz.

For other frequencies I used, vcocalc may either round them up or low, but set_sys_clock_khz does work with the rounded one.

What could be the reason for this discrepancy?

Statistics: Posted by CHiPs44 — Tue Feb 13, 2024 9:16 pm — Replies 0 — Views 13



Viewing all articles
Browse latest Browse all 4606

Trending Articles