calling __ISB(); in vPortSuppressTicksAndSleep will cause hardfault in STM32L031 #18
Unanswered
Scarittagle
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @Scarittagle, I don't have any 'L0 hardware to test on. Does this hardfault occur even when using basic sleep only -- no STOP mode? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
looks like a hardfault will occur whenever I called
osDelay()
or anything that uses it (for example:osThreadFlagsWait()
) .when tracing it down through debugger, it was stuck in here
ulp.c does not seems to be related, this happens with and without ulp.c enabled.
Because the project was generated by CubeMX, The FreeRTOS kernel has been replaced with version 10.4.0.
This problem does not occur in my STM32G0 implementation.
Beta Was this translation helpful? Give feedback.
All reactions