Posted on May 17, 2011 at 13:13Spot on Andreas. NVIC_GenerateSystemReset() did the trick. It is now functioning as I intended. Thanks very much. Can you tell me where this function is documented with this level of detail? The ST FWLib document just ...
Posted on May 17, 2011 at 13:13Thanks ST7. I don't think it could be a clock not restarting problem because the reboot sequence uses the same initialisation code as from the hard reset, which always works. Nevertheless its something to explore so I'...
Posted on May 17, 2011 at 13:13Thanks STOne-32. I have now managed to debug to a greater level and can now see that it is the main loop WFI that is causing interrupts to be ignored, but only after a PWR_EnterSTOPMode(PWR_Regulator_ON, PWR_STOPEntry_...
Posted on May 17, 2011 at 13:13Thanks Joseph and STOne-32. I can confirm that the FLITFEN bit was set (default value) as suggested in the errata: ''When using the Flash memory with two wait states and prefetch on, the FLITF clock must not be stopped...
Posted on May 17, 2011 at 13:13Hi, I have a problem with the WFI instruction on the STM32F101. My application has an OFF mode where all the peripherals are stopped and the STM32 put into stop mode with the function PWR_EnterSTOPMode(PWR_Regulator_ON...