Skip to content

Conversation

@kfessel
Copy link
Contributor

@kfessel kfessel commented Jan 23, 2026

Contribution description

adds support for using external oscillator with xosc into pll into main_clk

the intermediate frequency is 1 -> should fit for all N MHz clk sources to N MHz cpu frequency

Testing procedure

set

#define XOSC0_FREQUENCY MHZ(24)
#define XOSC0_EXT_OSC (1)
#define USE_XOSC (1)

Frequency and XOSC<0|1> should be adjusted -> this configuration was a USB clk connect to XOSC0

do not set

EXTERNAL_OSC32_SOURCE

Issues/PRs references

@github-actions github-actions bot added Platform: ARM Platform: This PR/issue effects ARM-based platforms Area: cpu Area: CPU/MCU ports labels Jan 23, 2026
@kfessel kfessel requested review from maribu and removed request for benpicco and dylad January 23, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: cpu Area: CPU/MCU ports Platform: ARM Platform: This PR/issue effects ARM-based platforms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants