6 Commits

Author SHA1 Message Date
Matt Johnston
5f7da4cfc8 stm32: xspi fixes and consistency
Fix some incorrect DTR flags, fix _bit vs _Bit inconsistency (copied
from qspi and ospi).

Use the same NCS pullup for all constructors.

xspi is now enabled in PWR register
2025-04-04 17:41:53 +08:00
Matt Johnston
6b80f3bada stm32: xspi: rework switching between ncs1 and ncs2 2025-04-04 17:41:53 +08:00
Matt Johnston
e22fe7cbcf stm32: xspi wait for prescaler change
This is documented as being required (and is done by stm32cube),
hasn't been observed as a problem though.
2025-04-04 17:41:53 +08:00
Matt Johnston
65f849a589 stm32: xspi update for Peri 2025-04-04 17:41:53 +08:00
Matt Johnston
36a5b02774 stm32: Update xspi for stm32-metapac changes
This is now closer to the original ospi, using more idiomatic naming.

Some dead code is removed (previously was hidden by [allow(dead_code)]).
2025-04-04 17:41:52 +08:00
Rick Rogers
6d384a1a39 introduce stm32h7rs xspi 2025-04-04 15:36:33 +08:00