diff options
| -rw-r--r-- | embassy-stm32/CHANGELOG.md | 1 | ||||
| -rw-r--r-- | embassy-stm32/src/xspi/mod.rs | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/embassy-stm32/CHANGELOG.md b/embassy-stm32/CHANGELOG.md index da8bce0e2..dd82613d9 100644 --- a/embassy-stm32/CHANGELOG.md +++ b/embassy-stm32/CHANGELOG.md | |||
| @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 14 | - fix: Fix performing a hash after performing a hmac | 14 | - fix: Fix performing a hash after performing a hmac |
| 15 | - chore: Updated stm32-metapac and stm32-data dependencies | 15 | - chore: Updated stm32-metapac and stm32-data dependencies |
| 16 | - feat: stm32/adc/v3: allow DMA reads to loop through enable channels | 16 | - feat: stm32/adc/v3: allow DMA reads to loop through enable channels |
| 17 | - fix: Fix XSPI not disabling alternate bytes when they were previously enabled | ||
| 17 | 18 | ||
| 18 | ## 0.3.0 - 2025-08-12 | 19 | ## 0.3.0 - 2025-08-12 |
| 19 | 20 | ||
diff --git a/embassy-stm32/src/xspi/mod.rs b/embassy-stm32/src/xspi/mod.rs index 44c10b961..60ccf3c97 100644 --- a/embassy-stm32/src/xspi/mod.rs +++ b/embassy-stm32/src/xspi/mod.rs | |||
| @@ -429,6 +429,11 @@ impl<'d, T: Instance, M: PeriMode> Xspi<'d, T, M> { | |||
| 429 | w.set_abdtr(command.abdtr); | 429 | w.set_abdtr(command.abdtr); |
| 430 | w.set_absize(CcrAbsize::from_bits(command.absize.into())); | 430 | w.set_absize(CcrAbsize::from_bits(command.absize.into())); |
| 431 | }) | 431 | }) |
| 432 | } else { | ||
| 433 | T::REGS.ccr().modify(|w| { | ||
| 434 | // disable alternate bytes | ||
| 435 | w.set_abmode(CcrAbmode::B_0X0); | ||
| 436 | }) | ||
| 432 | } | 437 | } |
| 433 | 438 | ||
| 434 | // Configure dummy cycles | 439 | // Configure dummy cycles |
