Forum : ST7/STM8
Post Information | Post |
---|---|
November 15, 2009 - 5:01pm
|
Hello I'm trying to have the MCU in Active Halt mode and have it wake up by external interrupt or 512msec timeout. I did the following: during initialization of the clock - CLK_DeInit(); Enabled interrupt from external push button, the interrupt does a XOR on output I/O pin. just before the main loop of the application: AWU_LSICalibrationConfig(128000); somewhere at the main loop I put the halt command - "_halt_();" when the debugger reaches the command I get "no response from the DTC, terminating debug session". It would have been great if the MCU can wake up from the Active Halt mode using internal interrupt from a timer, but if I understand correctly the timers are not functioning in that mode, so AWU will have to be used. other modes just take to much power. appreciate any help |
The new RKit-STM8 version 2.26.09.0317 fixed the problem