2023-09-11 10:44 PM - edited 2023-09-11 11:26 PM
Hello guys :)
I am programming with stm8s105k4
it immediately exit halt mode with in about 10us When It enter the Halt mode.
What is it?
I knew the exit condition from halt mode is only EXT INT, But I naver enable any EXT INT.
What happend with my MCU.
There are not any Interrupts(include comm int.) and no reset.
I don,t know What is it.
Solved! Go to Solution.
2023-09-12 02:40 AM
Hello @Wonjeong
To wake-up from halt mode the reason can be a reset, an EXTI activation, an end of transfer in spi, an I2C interruption or a wwdg reset on halt if WWDG_HALT is set to 1.
Then I suggest you to verify each and every peripheral activation in halt mode(using a deep debug and an oscilloscope to visualise some values).
Best regards.
II
2023-09-12 02:40 AM
Hello @Wonjeong
To wake-up from halt mode the reason can be a reset, an EXTI activation, an end of transfer in spi, an I2C interruption or a wwdg reset on halt if WWDG_HALT is set to 1.
Then I suggest you to verify each and every peripheral activation in halt mode(using a deep debug and an oscilloscope to visualise some values).
Best regards.
II
2023-09-12 07:24 AM
Thank you so much your help. I will check as you told that.