| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | stm32: disable HSI48 if not in use | Bernát Süli | 2025-12-19 | 1 | -0/+6 |
| | | |||||
| * | stm32: disable HSI if not used | Bernát Süli | 2025-12-18 | 1 | -0/+5 |
| | | |||||
| * | Source system clock from MSIS before (de)configuring PLLs | goodhoko | 2025-12-15 | 1 | -0/+10 |
| | | | | | Fixes https://github.com/embassy-rs/embassy/issues/5072 | ||||
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -3/+6 |
| | | |||||
| * | Minor cleanup | Frank Stevenson | 2025-07-24 | 1 | -1/+1 |
| | | |||||
| * | Improved error checks, and some cleanup | Frank Stevenson | 2025-07-24 | 1 | -33/+39 |
| | | |||||
| * | Panic on improper auto-calibration configurations | Frank Stevenson | 2025-07-24 | 1 | -3/+2 |
| | | |||||
| * | Introduce configration options for Pll fast modes. | Frank Stevenson | 2025-07-24 | 1 | -5/+49 |
| | | | | | Ensure that the auto calibration is applied to an active clock. | ||||
| * | Make MSI calibration configurabke. | Frank Stevenson | 2025-07-23 | 1 | -34/+67 |
| | | | | | Refine detection and handling of shared clock sources between MSIS and MSIK | ||||
| * | Make more accurate table based MSI frequency calculation based on datasheet. | Frank Stevenson | 2025-06-17 | 1 | -4/+49 |
| | | |||||
| * | U5: Apply auto-calibration on MSIK and calculate frequencies for detuned LSE ↵ | Frank Stevenson | 2025-06-17 | 1 | -3/+31 |
| | | | | | input | ||||
| * | Use modify() for subsequent changes to RCC.cr() | Frank Stevenson | 2025-06-03 | 1 | -3/+3 |
| | | |||||
| * | feat(stm32-u5): provide a `const` constructor on `rcc::Config` | ROMemories | 2025-05-21 | 1 | -5/+11 |
| | | |||||
| * | stm32: update metapac, cleanup clocks a bit. | Dario Nieuwenhuis | 2025-04-18 | 1 | -4/+0 |
| | | |||||
| * | remove Hz from log | Steven Friedman | 2025-04-08 | 1 | -1/+1 |
| | | |||||
| * | Update STM32U5 OTG HS clock handling | Marvin Drees | 2024-12-10 | 1 | -0/+29 |
| | | | | | Signed-off-by: Marvin Drees <[email protected]> | ||||
| * | RCC: add lsi and lse clock frequency for STM32U5 | Christian Enderle | 2024-11-07 | 1 | -2/+6 |
| | | |||||
| * | RCC: added msik for stm32u5 | Christian Enderle | 2024-11-07 | 1 | -6/+36 |
| | | |||||
| * | fix: STM32U5 RCC fields | elagil | 2024-11-06 | 1 | -0/+2 |
| | | |||||
| * | Fix dma nvic issues on dual core lines | Alexandros Liarokapis | 2024-08-17 | 1 | -0/+1 |
| | | | | | | | This commit addresses #3256 by disabling dma NVIC interrupt enablement at startup. Instead, per-channel NVIC interrupt enablement is now done with the rest of the dma channel configuration. This ensures that each core will only handle the interrupts of the DMA channels that it uses. | ||||
| * | Remove redundant dsi_phy: None from rcc | Joël Schulz-Ansres | 2024-05-02 | 1 | -1/+0 |
| | | |||||
| * | Add stm32 dsihost driver | Joël Schulz-Ansres | 2024-05-02 | 1 | -0/+3 |
| | | |||||
| * | low power for h5 | eZio Pan | 2024-04-28 | 1 | -0/+1 |
| | | |||||
| * | stm32: autogenerate mux config for all chips. | Dario Nieuwenhuis | 2024-03-01 | 1 | -1/+6 |
| | | |||||
| * | stm32: update metapac. | Dario Nieuwenhuis | 2024-02-26 | 1 | -0/+2 |
| | | |||||
| * | stm32/rcc: unify naming sysclk field to `sys`, enum to `Sysclk`. | Dario Nieuwenhuis | 2024-02-26 | 1 | -10/+10 |
| | | |||||
| * | stm32/rcc: port U5 to new API, add all PLLs, all HSE modes. | Dario Nieuwenhuis | 2024-02-23 | 1 | -346/+281 |
| | | |||||
| * | stm32: update metapac. | Dario Nieuwenhuis | 2024-02-10 | 1 | -0/+1 |
| | | |||||
| * | stm32: autogenerate clocks struct, enable mux for all chips. | Dario Nieuwenhuis | 2024-02-02 | 1 | -14/+32 |
| | | |||||
| * | Fix formatting of comments | Tyler Gilbert | 2024-01-03 | 1 | -4/+4 |
| | | |||||
| * | Update u5.rs | Tyler | 2024-01-03 | 1 | -10/+8 |
| | | | | Update comments on p and q divider values to correctly describe what the clock outputs are used for. | ||||
| * | Update STM32 RCC U5 to support P and Q dividers | Tyler Gilbert | 2024-01-03 | 1 | -0/+18 |
| | | |||||
| * | stm32/rcc: consistent casing and naming for PLL enums. | Dario Nieuwenhuis | 2023-11-13 | 1 | -11/+11 |
| | | |||||
| * | stm32/rcc: add shared code for hsi48 with crs support. | Dario Nieuwenhuis | 2023-11-05 | 1 | -6/+3 |
| | | |||||
| * | stm32/rcc: merge wl into l4/l5. | Dario Nieuwenhuis | 2023-10-23 | 1 | -1/+1 |
| | | |||||
| * | stm32: rename HSI16 -> HSI | Dario Nieuwenhuis | 2023-10-22 | 1 | -14/+15 |
| | | |||||
| * | stm32: update metapac | xoviat | 2023-10-20 | 1 | -2/+2 |
| | | |||||
| * | stm32/rng: add test. | Dario Nieuwenhuis | 2023-10-16 | 1 | -1/+1 |
| | | |||||
| * | rcc: ahb/apb -> hclk/pclk | xoviat | 2023-10-15 | 1 | -8/+8 |
| | | |||||
| * | stm32/rcc: add LSE/LSI to all chips, add RTC to more chips. | Dario Nieuwenhuis | 2023-10-11 | 1 | -4/+5 |
| | | |||||
| * | stm32/rcc: use PLL enums from PAC. | Dario Nieuwenhuis | 2023-10-09 | 1 | -195/+81 |
| | | |||||
| * | stm32: u5: implement >55 MHz clock speeds | Will Glynn | 2023-10-05 | 1 | -85/+261 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit allows STM32U5 devices to operate at 160 MHz. On STM32U5, MSIS can run at 48 MHz and HSE can reach 50 MHz. Faster clocks require using PLL1's R output, though PLL1 can serve other functions besides using the R output for the system clock. This commit extracts a public `PllConfig` struct, primarily to place associated constructors on that type, but also with an eye towards enabling the P and Q outputs in a later commit. STM32U5 PLLs have various frequency requirements on each stage: after the `m` prescaler, after the `n` multiplier, and after the `r` divider. This commit implements the associated checks as assertions. This commit fixes clock calculation and PLL register configuration errors in PLL initialization. STM32U5 has a PWR peripheral which can be configured to push Vcore into different voltage ranges. System clocks exceeding 55 MHz require range 2, and system clocks exceeding 110 MHz require range 1. This commit adds `voltage_range` to `Config` and configures PWR as directed. The voltage range implies different performance limits on various clock signals, including inside a PLL. This commit implements voltage range <-> frequency range checks as assertions, and extracts the otherwise-repeated MSIS, HSI16, and HSE initialization into private methods on `Config`. STM32U5 frequencies above 55 MHz require using the PWR EPOD booster. The EPOD booster requires configuring a second `m` term for PLL1, `mboost`, such that it falls in a particular range. (Recall that >50 MHz cannot be reached without PLL1, so there is no scenario where EPOD is needed but PLL1 is not.) This commit configures and enables the EPOD booster automatically as required. | ||||
| * | stm32: use PAC enums for VOS. | Dario Nieuwenhuis | 2023-09-18 | 1 | -10/+10 |
| | | |||||
| * | stm32/rcc: convert bus prescalers to pac enums | xoviat | 2023-09-16 | 1 | -48/+8 |
| | | |||||
| * | stm32: add stm32wba support. | Dario Nieuwenhuis | 2023-09-16 | 1 | -1/+1 |
| | | |||||
| * | stm32/rcc: rename common to bus | xoviat | 2023-08-27 | 1 | -2/+2 |
| | | |||||
| * | stm32/rcc: extract and combine ahb/apb prescalers | xoviat | 2023-07-30 | 1 | -71/+8 |
| | | |||||
| * | Update stm32-metapac, includes chiptool changes to use real Rust enums now. | Dario Nieuwenhuis | 2023-06-29 | 1 | -1/+1 |
| | | |||||
| * | Fix APB clock calculation for several STM32 families | Eric Yanush | 2023-03-16 | 1 | -2/+2 |
| | | |||||
| * | stm32/rcc: fix u5 pll, add hsi48. | Dario Nieuwenhuis | 2023-01-11 | 1 | -8/+22 |
| | | |||||
