Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

None: RTOSv2+STM32+STOP mode

$
0
0
Hello, I am using CMSIS RTOSv2 running on a STM32F407 and I am trying to use the low-power STOP mode to put the micro and system to sleep and save power. When the system exits the STOP mode, via an interrupt, and then calls osDelay() a system Hardfault, INVPC, occurs. Functions that use osDelay() before entering STOP mode work as expected, but the same functions called after exiting STOP mode will Hardfault at the osDelay() call. I am not calling osDelay() from an interrupt(bee

Viewing all articles
Browse latest Browse all 3049

Trending Articles