| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update STM32 RCC U5 to support P and Q dividers | Tyler Gilbert | 2024-01-03 | 1 | -0/+2 |
| | | |||||
| * | ci: use beta, add secondary nightly ci. | Dario Nieuwenhuis | 2023-12-21 | 3 | -3/+0 |
| | | |||||
| * | stm32/rcc: consistent casing and naming for PLL enums. | Dario Nieuwenhuis | 2023-11-13 | 1 | -1/+1 |
| | | |||||
| * | usb: remove msos-descriptor feature. | Dario Nieuwenhuis | 2023-11-08 | 1 | -0/+1 |
| | | |||||
| * | stm32/rcc: add shared code for hsi48 with crs support. | Dario Nieuwenhuis | 2023-11-05 | 1 | -2/+1 |
| | | |||||
| * | stm32: rename HSI16 -> HSI | Dario Nieuwenhuis | 2023-10-22 | 1 | -2/+2 |
| | | |||||
| * | time: Update examples, tests, and other code to use new Timer::after_x ↵ | Adam Greig | 2023-10-15 | 1 | -3/+3 |
| | | | | | convenience methods | ||||
| * | stm32/rcc: use PLL enums from PAC. | Dario Nieuwenhuis | 2023-10-09 | 1 | -3/+3 |
| | | |||||
| * | stm32: u5: implement >55 MHz clock speeds | Will Glynn | 2023-10-05 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/otg: add VBUS detection. | Dario Nieuwenhuis | 2023-06-27 | 1 | -1/+3 |
| | | | | | Fixes #1442. | ||||
| * | stm32: move to bind_interrupts | xoviat | 2023-05-24 | 1 | -3/+6 |
| | | | | | disable lora functionality for now | ||||
| * | Fix some typos | Dirk Stolle | 2023-05-08 | 1 | -1/+1 |
| | | |||||
| * | usb: unify ControlHandler+DeviceStateHandler, route all control requests to ↵ | Dario Nieuwenhuis | 2023-02-08 | 1 | -1/+0 |
| | | | | | | | | | all handlers. - Allows classes to handle vendor requests. - Allows classes to use a single handler for multiple interfaces. - Allows classes to access the other events (previously only `reset` was available). | ||||
| * | stm32 otg: add examples. | chemicstry | 2023-01-11 | 1 | -0/+108 |
| | | |||||
| * | Split embassy-time from embassy-executor. | Dario Nieuwenhuis | 2022-08-18 | 1 | -2/+2 |
| | | |||||
| * | Remove HAL initialization from #[embassy::main] macro. | Dario Nieuwenhuis | 2022-08-17 | 1 | -2/+2 |
| | | |||||
| * | Split embassy crate into embassy-executor, embassy-util. | Dario Nieuwenhuis | 2022-07-29 | 1 | -3/+3 |
| | | |||||
| * | Run rustfmt. | Dario Nieuwenhuis | 2022-06-12 | 2 | -7/+2 |
| | | |||||
| * | stm32: add stm32u5 GPDMA, SPIv4 support, add HIL tests. | Dario Nieuwenhuis | 2022-04-27 | 1 | -0/+29 |
| | | |||||
| * | Use embassy/defmt-timestamp-uptime in all examples. | Dario Nieuwenhuis | 2022-04-02 | 1 | -3/+3 |
| | | |||||
| * | Update to defmt 3.0ish. | Bob McWhirter | 2021-11-15 | 1 | -1/+3 |
| | | | | | Lots of gitrevs deps. | ||||
| * | Omg. More formatting. | Bob McWhirter | 2021-11-02 | 1 | -1/+0 |
| | | |||||
| * | Need to include a bit of embassy for the NVIC. | Bob McWhirter | 2021-11-02 | 1 | -0/+3 |
| | | |||||
| * | Remove unused imports. | Bob McWhirter | 2021-11-02 | 1 | -14/+0 |
| | | |||||
| * | Formatting, per usual. | Bob McWhirter | 2021-11-02 | 1 | -5/+5 |
| | | |||||
| * | Add STM32U5 example. | Bob McWhirter | 2021-11-02 | 1 | -0/+28 |
