| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | cfg out unused items | everdrone | 2025-11-11 | 1 | -1/+2 |
| | | |||||
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -2/+2 |
| | | |||||
| * | fix: build | elagil | 2025-09-05 | 1 | -2/+2 |
| | | |||||
| * | fix: modified dma channel state management | etiennecollin | 2025-09-05 | 1 | -2/+2 |
| | | | | | | See https://github.com/embassy-rs/embassy/pull/3923#discussion_r2094570176 | ||||
| * | ucpd: Add software trim setting of the CC Rp/Rd for stm32u5 parts. | Piotr Esden-Tempski | 2025-08-01 | 1 | -0/+31 |
| | | |||||
| * | Remove Peripheral trait, rename PeripheralRef->Peri. | Dario Nieuwenhuis | 2025-03-27 | 1 | -12/+10 |
| | | |||||
| * | fix: UCPD drop logic | elagil | 2025-02-07 | 1 | -6/+11 |
| | | | | | Read rxpaysz immediately | ||||
| * | fix: STM32H5 UCPD reception | elagil | 2025-01-26 | 1 | -6/+14 |
| | | |||||
| * | chore: fix build | elagil | 2025-01-03 | 1 | -5/+5 |
| | | |||||
| * | chore: clean up stm32h5 ucpd | elagil | 2025-01-03 | 1 | -14/+8 |
| | | |||||
| * | fix: docstrings | elagil | 2024-12-22 | 1 | -2/+2 |
| | | |||||
| * | fix: h5-only rx filter | elagil | 2024-12-22 | 1 | -0/+2 |
| | | |||||
| * | feat: stm32h5 UCPD example | elagil | 2024-12-22 | 1 | -0/+40 |
| | | |||||
| * | [UCPD] Add support for non-SOP packets | Sjoerd Simons | 2024-08-18 | 1 | -4/+73 |
| | | | | | | | | | Allow capturing (and distinguishing) non-SOP packets as well. The default configuration will just configure SOP packets. For ease of use the default receive function signature is unchanged as for PD sinks (which is likely the common usage) just SOP is enough so no need to differentiate. | ||||
| * | [USPD] clear interrupt flags right after reception | Sjoerd Simons | 2024-06-16 | 1 | -7/+6 |
| | | | | | | | | | | | | Clearing the interrupt flags at beginning of reception will masks overruns and cause corrupted packets to be received. Instead clear the flags right after disabling the interrupt/after reception, so overruns on the next receive can be caught. Tested by forcing overruns due to explicit sleeps Signed-off-by: Sjoerd Simons <[email protected]> | ||||
| * | [UCPD] Don't disable ucpd rx after each reception | Sjoerd Simons | 2024-06-16 | 1 | -2/+4 |
| | | | | | | | | | When disabling the UCPD RX after every reception it's relatively easy to drop packets. This seems to happen in particular with GoodCRC packets which can be sent very quickly by a receiver. To avoid this enable reception as soon as the pd phy get split out (preparing for packet processing) and only disable again when the pd phy gets dropped. | ||||
| * | stm32/rcc: replace generated enable/disable code with runtime info | Jan Špaček | 2024-05-25 | 1 | -4/+4 |
| | | |||||
| * | [UCPD] Use `ChannelAndRequest` helper | Timo Kröger | 2024-05-10 | 1 | -24/+16 |
| | | |||||
| * | Fix PeripheralRef soundness issue allowing &T. | Dario Nieuwenhuis | 2024-05-07 | 1 | -11/+11 |
| | | | | | | | Fix soundness issue introduced in a previous soundness fix https://github.com/embassy-rs/embassy/pull/2602 . PeripheralRef must not implement DerefMut itself, but the blanket impl must still require DerefMut. Otherwise you can create two instances of a driver on the same uart by using `&my_uart`. | ||||
| * | stm32: add support for STM32H7[RS] "bootflash line", add HIL tests. | Dario Nieuwenhuis | 2024-05-01 | 1 | -1/+1 |
| | | |||||
| * | stm32: use private_bounds for sealed traits. | Dario Nieuwenhuis | 2024-03-23 | 1 | -31/+29 |
| | | |||||
| * | [UCPD] Fix dead-battery disable for G0 | Timo Kröger | 2024-03-15 | 1 | -2/+2 |
| | | | | | Inverted flag got missed in the original PR. | ||||
| * | [UCPD] Enable RX PHY only when receiving | Timo Kröger | 2024-03-14 | 1 | -38/+23 |
| | | |||||
| * | [UCPD] Set CC pins to analog mode | Timo Kröger | 2024-03-14 | 1 | -2/+6 |
| | | | | | Example: On STM32G431 CC2 has a pull-up (default JTAG signal) which needs to be disabled. | ||||
| * | [UCPD] RXORDSETEN can only be modified when disabled | Timo Kröger | 2024-03-14 | 1 | -10/+9 |
| | | |||||
| * | [UCPD] Fix hard reset interrupt disable flags | Timo Kröger | 2024-03-14 | 1 | -2/+2 |
| | | |||||
| * | [UCPD] Adjust TX clock divider | Timo Kröger | 2024-03-14 | 1 | -4/+2 |
| | | |||||
| * | [UCPD] Take interrupt in constructor and enable it | Timo Kröger | 2024-03-14 | 1 | -0/+6 |
| | | |||||
| * | [UCPD] Disable dead-battery resistor for all families | Timo Kröger | 2024-03-12 | 1 | -12/+46 |
| | | | | | | | | Using the code from PR #2683, thank you @ExplodingWaffle Removes the dead-battery as selectable option because its unclear if it can be re-enabled. Also there is no use case for it because the same resistor can be configured with the sink option. | ||||
| * | [UCPD] Disable RCC clock on drop | Timo Kröger | 2024-03-12 | 1 | -0/+2 |
| | | |||||
| * | [UCPD] Split into CC and PD phy | Timo Kröger | 2024-03-12 | 1 | -76/+135 |
| | | | | | | PD3.0 spec requires concurrent control of CC resistors for collision avoidance. Needed to introduce some "ref counting" (its just a bool) for drop code. | ||||
| * | [UCPD] Fix build for devices with GPDMA | Timo Kröger | 2024-03-12 | 1 | -7/+1 |
| | | | | | | Do not use a flag that is DMA/BDMA only, not required anyway the transfer should run in the background nevertheless | ||||
| * | [UCPD] Implement hard reset transmission | Timo Kröger | 2024-03-12 | 1 | -0/+51 |
| | | |||||
| * | [UCPD] Receive hard resets | Timo Kröger | 2024-03-12 | 1 | -7/+35 |
| | | |||||
| * | [UCPD] Improve example and defmt Format for enums | Timo Kröger | 2024-03-12 | 1 | -0/+3 |
| | | |||||
| * | [UCPD] Combine RX and TX | Timo Kröger | 2024-03-12 | 1 | -67/+58 |
| | | | | | | | | | `select(rx.receive(), tx.transmit()` had subtle interrupt enable race conditions. Combine receiver and transmitter into one new `PdPhy` struct to disallow the problematic pattern. Scanning through the USB PD 2.0 specification there is no need to have RX and TX running concurrently (after all the USB PD communication is half-duplex). | ||||
| * | [UCPD] Implement PD transmitter | Timo Kröger | 2024-03-12 | 1 | -1/+80 |
| | | |||||
| * | [UCPD] Implement PD receiver | Timo Kröger | 2024-03-12 | 1 | -2/+97 |
| | | |||||
| * | [UCPD] Prepare for PD communication implementation | Timo Kröger | 2024-03-12 | 1 | -1/+46 |
| | | |||||
| * | [UCPD] Improve Type-C CC handling | Timo Kröger | 2024-03-12 | 1 | -22/+40 |
| | | | | | | | * Improved interrupt handling: Clear flags in ISR, check state change in future * Disable pull-up/pull-down resistors and voltage monitor on drop * nightly rustfmt | ||||
| * | [UCPD] Configuration Channel (CC) handling | Timo Kröger | 2024-03-12 | 1 | -4/+165 |
| | | |||||
| * | [UCPD] Prepare interrupt handle | Timo Kröger | 2024-03-12 | 1 | -2/+31 |
| | | |||||
| * | [UCPD] Instance and Pin Traits | Timo Kröger | 2024-03-12 | 1 | -0/+28 |
| Skip FRSTX pin for now. Its available twice in the device JSON as FRSTX1 and FRSTX2 both with the same pins as targets. I don’t know enough about the FRS (fast role switch) feature to understand if that is correct and how to handle the pins. | |||||
