aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/spi/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* stm32: block stop2 for wle and misc fixesxoviat2025-12-151-1/+1
|
* stm32/spi: make SS signal polarity configurable on supported hardwarePietro Lorefice2025-12-111-2/+38
|
* low-power: use scoped block stopxoviat2025-12-081-1/+9
| | | | Co-authored-by: hjeldin <[email protected]>
* Merge pull request #4971 from SL-RU/mainxoviat2025-12-011-7/+44
|\ | | | | | | Fix SPI: SSM and SSOE in STM32 driver behavior, add nss_output_disable to SPI Config
| * fix: SSM and SSOE in SPI STM32 driver behavior, add nss_output_disable in ↵Lutsai Aleksandr2025-12-021-7/+44
| | | | | | | | SPI Config
* | restricting bidi mode just to spi v1, v2, v3Elias Hanelt2025-12-011-1/+3
| |
* | add bidi mode to spiElias Hanelt2025-11-111-0/+46
|/
* feat: stm32 spi driver slave modeCristian Milatinov2025-11-041-22/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add SPI slave constructors Fix SPI slave constructors Fix embedded hal async trait One more constructor fix Set SSM bit in SPI driver according to CommunicationMode Fix embedded_hal_async trait to be generic for both master and slave Fix I2S driver to use async master SPI Forgot import from spi mode Fix CommunicationMode associated const conditionals Duplicate doc for CommunicationMode const Add missing nss argument Fix existing SPI tests not compiling Fix stm32h7rs examples not compiling Fix failing stm32l4 example Fix stm32h7 example Fix stm32h7 spi_bdma example Fix stm32h7 spi example Fix stm32f4 example docs: added entry in changelog.md fix: spi_v3 vals mismatch + rise_fall_speed renamed to gpio_speed fix: added spi_v6 conditional compilation feature fix: use if_afio macro in slave constructors fix: add missing trait bound fix: if_afio for cs pin trait fix: changelog message fix: broken rebase
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-4/+4
|
* stm32/afio: make the A generic param only appear in chips with AFIO.Dario Nieuwenhuis2025-09-051-24/+24
|
* Add STM32F1 AFIO remapFabian Wolter2025-09-051-31/+31
|
* stm32/spi: update for new version numbering, add i2s support for all versions.Dario Nieuwenhuis2025-09-051-67/+67
|
* rename rise_fall_speed to gpio_speed for spiSüha Ünüvar2025-08-081-16/+16
|
* stm32/dma: fix packing/unpacking not working.Dario Nieuwenhuis2025-07-041-1/+1
|
* Disable SPI before changing config, then re-enable SPI on STM32Sebastian Gabrielli2025-04-221-0/+8
| | | | Fixes #2259
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-43/+42
|
* stm32/hash: remove DMA generic param.Dario Nieuwenhuis2025-03-251-1/+1
|
* Implement `core::error::Error` for STM32 Serial DevicesGuy Marino2025-02-261-0/+15
|
* chore: fix buildelagil2025-01-031-12/+12
|
* more cfg gatingAnatol Ulrich2024-12-191-6/+9
|
* fix importsAnatol Ulrich2024-12-191-1/+1
|
* embassy-stm32: make SPI slew rate/speed configurable and change default to ↵Anatol Ulrich2024-12-191-9/+24
| | | | `Medium`
* Revise I2S interface to ring-buffered.Alexandros Liarokapis2024-10-161-7/+6
|
* stm32/spi: fix hang/corruption of word sizes other than 8bit.Dario Nieuwenhuis2024-09-231-46/+26
|
* stm32/spi: issue correct DMA word length when readingShaw Drastin2024-09-221-2/+2
| | | | | | Currently, when calling read() of the SPI bus, DMA always transmits u8, which will cause hang if SPI transfer size > 8bit. Use matching word size for TX DMA instead.
* Update to Rust 1.80, make check-cfg unconditional.Dario Nieuwenhuis2024-07-251-0/+1
|
* stm32/gpio: refactor AfTypeJan Špaček2024-06-161-22/+32
|
* Use raw slices .len() method instead of unsafe hacks.Dario Nieuwenhuis2024-06-131-5/+3
| | | | Stabilized in 1.79.
* Add Clone and Copy to Error typesdvdsk2024-06-061-1/+1
| | | | | None of them are `non-exaustative`, they are all small enough to be copy (I estimate none are larger than 4 bytes).
* Merge pull request #3006 from honzasp/harmonize-newDario Nieuwenhuis2024-06-031-19/+20
|\ | | | | | | stm32: Make initialization of I2C and USART consistent with SPI
| * stm32/spi: move init code to function that's not generic in TJan Špaček2024-06-011-19/+20
| |
* | stm32/spi: fix blocking_write on nosck spi.Dario Nieuwenhuis2024-06-031-9/+57
|/ | | | Fixes #2902.
* stm32/spi: restrict txonly_nosck to SPIv1, it hangs in other versions.Dario Nieuwenhuis2024-05-311-0/+2
|
* stm32/spi: fix spiv1 rxonly hanging.Dario Nieuwenhuis2024-05-311-3/+4
|
* Merge pull request #3002 from honzasp/rcc-infoDario Nieuwenhuis2024-05-301-5/+5
|\ | | | | | | stm32/rcc: replace generated enable/disable code with runtime info
| * stm32/rcc: replace generated enable/disable code with runtime infoJan Špaček2024-05-251-5/+5
| |
* | address review commentsAlexandros Liarokapis2024-05-281-18/+5
| |
* | add spi_v4 and spi_v5 support but block i2scfg rx-only configurationAlexandros Liarokapis2024-05-281-5/+7
| |
* | remove rx-only support for new spi versions with missing I2SCFGR registerAlexandros Liarokapis2024-05-271-5/+5
| |
* | broaden tsize read support to other spi versionsAlexandros Liarokapis2024-05-271-17/+7
| |
* | fix spi panic on read due to i2s configuration conversion checkAlexandros Liarokapis2024-05-271-23/+29
| |
* | add proper rxonly support for spi_v3 and force tx dma stream requirement on ↵Alexandros Liarokapis2024-05-271-4/+117
|/ | | | others
* Naming: Change pullup to pullJoël Schulz-Ansres2024-05-241-6/+6
|
* Change bool to PullJoël Schulz-Ansres2024-05-231-28/+6
|
* Merge branch 'embassy-rs:main' into add-miso-pullupJoel Schulz-Andres2024-05-231-117/+120
|\
| * stm32: use funcs for info/state, const for ENABLE_BIT.Dario Nieuwenhuis2024-05-211-61/+61
| |
| * stm32/spi: remove peripheral generic param.Dario Nieuwenhuis2024-05-201-117/+120
| |
* | Remove Speed::Input in order to move it into separate PRJoël Schulz-Ansres2024-05-221-2/+2
| |
* | Cargo formatJoël Schulz-Ansres2024-05-151-9/+18
| |
* | Add miso pullup to spi configuration, add input as field for speedJoël Schulz-Ansres2024-05-151-2/+27
|/