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 301c20055..9cd4d5951 100644 --- a/embassy-stm32/CHANGELOG.md +++ b/embassy-stm32/CHANGELOG.md | |||
| @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 13 | - fix: Fix vrefbuf building with log feature | 13 | - fix: Fix vrefbuf building with log feature |
| 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 | - fix: Fix XSPI not disabling alternate bytes when they were previously enabled | ||
| 16 | 17 | ||
| 17 | ## 0.3.0 - 2025-08-12 | 18 | ## 0.3.0 - 2025-08-12 |
| 18 | 19 | ||
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 |
