We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See https://github.com/STMicroelectronics/stm32h5xx_hal_driver/blob/0de1dbf8ad03e6e466ed55d1c174656561e3240d/Src/stm32h5xx_hal_dac.c#L1349-L1371
When the ICACHE is enabled it prevents reading the PACKAGE version causing the function to failed. More info here: https://community.st.com/t5/stm32-mcus/how-to-avoid-a-hardfault-when-icache-is-enabled-on-the-stm32h5/ta-p/630085
Workaround is to disable it adding a file named hal_conf_extra.h with:
hal_conf_extra.h
#define HAL_ICACHE_MODULE_DISABLED
Originally posted by @fpistm in #2383 (reply in thread)
The text was updated successfully, but these errors were encountered:
fix(h5): disable cache during DAC channel configuration
170c472
Fixes stm32duino#2508 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
8be148c
Fixes #2508 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Successfully merging a pull request may close this issue.
See https://github.com/STMicroelectronics/stm32h5xx_hal_driver/blob/0de1dbf8ad03e6e466ed55d1c174656561e3240d/Src/stm32h5xx_hal_dac.c#L1349-L1371
When the ICACHE is enabled it prevents reading the PACKAGE version causing the function to failed.
More info here:
https://community.st.com/t5/stm32-mcus/how-to-avoid-a-hardfault-when-icache-is-enabled-on-the-stm32h5/ta-p/630085
Workaround is to disable it adding a file named
hal_conf_extra.h
with:Originally posted by @fpistm in #2383 (reply in thread)
The text was updated successfully, but these errors were encountered: