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

SDK • Re: 'clock_get_hz' was not declared in this scope

$
0
0
clk_usb is fixed at 48 MHz

Try

Code:

clock_get_hz(clk_peri)
clk_peri is driving UARTs and SPI
normally is linked to clk_sys (as source), but switches to clk_usb (48MHz fixed source)
It is older, done for safety, but usually overlooked.

Statistics: Posted by gmx — Mon Sep 30, 2024 6:48 am



Viewing all articles
Browse latest Browse all 8037

Trending Articles