2005-10-06 01:36 AM
2005-10-05 05:17 AM
I am working on a project using WFI sleep mode to reduce power consumption. In that mode, I want to wake up only under an IO.
I am looking for a sample code to save the hardware configuration of all the embeded devices of the STR71x, and another function to restore it. That way, I can stop all devices except WDG, RTC and GPIO. Do you think it is as simple as saving hardware registers in RAM. Maybe the soft already exist? Ludo2005-10-05 07:56 PM
You shouldnt need to save any register values when going into any of the low power modes (not Standby).
2005-10-06 01:34 AM
Yes, but I wanted to disable devices(through APB command) during wait and reenable it after wakeup.
2005-10-06 01:36 AM
if you just stop the clock using the apb registers then you just need to restart them again before using the peripherals