Skip to content

Commit

Permalink
boards: stm32h573i_dk: Fix APB1 bus clock
Browse files Browse the repository at this point in the history
240MHz as APB1 bus clock is too fast to set I2C base bus speed.
Set bus pre-scaler to 2 and reach a safe 120MHz.

Signed-off-by: Erwan Gouriou <[email protected]>
  • Loading branch information
erwango authored and aescolar committed Mar 12, 2024
1 parent 749c0e4 commit caf4a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/st/stm32h573i_dk/stm32h573i_dk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
clocks = <&pll>;
clock-frequency = <DT_FREQ_M(240)>;
ahb-prescaler = <1>;
apb1-prescaler = <1>;
apb1-prescaler = <2>;
apb2-prescaler = <1>;
apb3-prescaler = <1>;
};
Expand Down

0 comments on commit caf4a29

Please sign in to comment.