cancel
Showing results for 
Search instead for 
Did you mean: 

Why do it immediately exit halt mode with in about 10us?

Wonjeong
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Issamos
Lead II

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

View solution in original post

2 REPLIES 2
Issamos
Lead II

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

Thank you so much your help. I will check as you told that.