Skip to content

STM32H7RS HSLV and compensation cells#5861

Merged
xoviat merged 4 commits intoembassy-rs:mainfrom
TomDeRybel:stm32h7rs_rcc_io_compensation
Apr 15, 2026
Merged

STM32H7RS HSLV and compensation cells#5861
xoviat merged 4 commits intoembassy-rs:mainfrom
TomDeRybel:stm32h7rs_rcc_io_compensation

Conversation

@TomDeRybel
Copy link
Copy Markdown
Contributor

@TomDeRybel TomDeRybel commented Apr 15, 2026

Added HSLV support, as well as compensation cell support with their errata.

The XSPI flash example was updated to reflect the API changes, and how to use the errata work-around functions. With the changes, the flash can now work properly at its maximum speed of 200 MHz (in octospi).

HSLV and the compensation cells were also tested on GPIO pins, at 1V8, using MCO2, with an oscilloscope. The waveform rise/fall times are now on the order of 1.2 ns, with good symmetry. (Using VeryFast pin mode.)

Two things require attention:

  • I don't know if any critical sections are required in this code, this is not a subject I grasp enough to decide on.
  • Is there a better way to implement the two busy loop time-outs? The code is in the RCC set-up, so I don't know if a proper delay is already available?

@xoviat
Copy link
Copy Markdown
Contributor

xoviat commented Apr 15, 2026

@TomDeRybel can you run ./fmtall.sh?

@xoviat xoviat enabled auto-merge April 15, 2026 17:46
@xoviat xoviat added this pull request to the merge queue Apr 15, 2026
@TomDeRybel
Copy link
Copy Markdown
Contributor Author

Just ran the ./fmtall.sh script and it fixed what ailed.

Merged via the queue into embassy-rs:main with commit b596e12 Apr 15, 2026
7 checks passed
@TomDeRybel TomDeRybel deleted the stm32h7rs_rcc_io_compensation branch April 15, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants