cancel
Showing results for 
Search instead for 
Did you mean: 

WFE on stm8l152c6t6 with 2 sources at a time brings to unexpected reset.

ANiku.1
Associate

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?

0 REPLIES 0