Skip to content
Commit 72aee4b9 authored by Marc Desvaux's avatar Marc Desvaux Committed by Carles Cufí
Browse files

drivers: clock_control: stm32: add an option to enable CRS for HSI48



for nucleo_stm32g0b1 board.
the HSI48 clock is the clock used by default for the USB controller,
however its default tolerance is not enough for the USB specification,
leading to some random errors depending on many factors, including the
upstream HUB or host.

this commit adds an option in the device tree to enable the STM32 Clock
recovery system (CRS) using USB SOF packet reception as a reference,
which brings the HSI48 within the required accuracy for USB transfers.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
Signed-off-by: default avatarMarc Desvaux <marc.desvaux-ext@st.com>
parent a1920f25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment