Enable ICACHE, LPTICKER, TRNG and WATCHDOG for STM32H5 #465
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of changes
Enables ICACHE, LPTICKER, TRNG and WATCHDOG features for the STM32H5 family.
MPU Region 5 is used to avoid hardfaults when ICACHE is enabled:
https://community.st.com/t5/stm32-mcus/how-to-avoid-a-hardfault-when-icache-is-enabled-on-the-stm32h5/ta-p/630085
Impact of changes
Migration actions required
Documentation
None
Pull request type
Test results
I run GreenTea tests on a NUCLEO-H563ZI board and passed the LPTICKER, TRNG and WATCHDOG tests.
The hal-sleep test failed when LPTICKER is used as wakup source from deepsleep mode, but it seems unrelated to LPTICKER itself: even if I comment out the code that setup the LPTICKER interrupt, the system will still wake up from deepsleep mode after 309 ticks. The netsocket related tests failed with Hard Faults. I'm not sure how to setup the test environments for netsocket tests or skip them.
greentea-log-nucleo-h563zi.txt