2020-11-04 07:39 AM
Hello, i use stm8l-discovery board with stm8l152c6t6.
I need to sniff swim protocol and wrote the asm module for this purpose.
This module uses WFE instruction to wait PIN transition and TIMER4 for timeout.
If I use WFE for TIMER4 or PIN from only 1 source at a time then it works fine.
If I useWFE for both sources then debug connection losts and reset occurs.
Is there any way to workaround this issue?