Skip to content

Possible typo in maximal frequency. #144

@matoushybl

Description

@matoushybl

There are two different frequencies mentioned in the comments and in the code.

stm32f7xx-hal/src/rcc.rs

Lines 468 to 476 in 0a0d06d

let mut pclk1: u32 = min(max_pclk1, self.pclk1.unwrap_or(hclk));
// PCLK2 (APB2). Must be <= 108 Mhz. By default, min(hclk, 108Mhz) is
// chosen
// Add limits dependens on OD follows by DS Table 16.
let max_pclk2 = if sysclk <= 180_000_000 {
90_000_000
} else {
108_000_000
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions