cyw43-pio

Crates

git

Versions

default

Flavors

cyw43_pio

Constant DEFAULT_CLOCK_DIVIDER

Source
pub const DEFAULT_CLOCK_DIVIDER: FixedU32<U8>;
Expand description

The default clock divider that works for Pico 1 and 2 W. As well as the RM2 on rp2040 devices. same speed as pico-sdk, 62.5Mhz This is actually the fastest we can go without overclocking. According to data sheet, the theoretical maximum is 100Mhz Pio => 50Mhz SPI Freq. However, the PIO uses a fractional divider, which works by introducing jitter when the divider is not an integer. It does some clocks at 125mhz and others at 62.5mhz so that it averages out to the desired frequency of 100mhz. The 125mhz clock cycles violate the maximum from the data sheet.