nrf51822 production is sometimes hanging (no response) in high current state (almost 250 uA -> normally 20uA).
before this issue, there is similar issue about twi that waiting twi event sometimes hanged (not exactly same code, twi->ready ).
So I added watch dog timer , It resets after a watchdog period of time.
I thinks it is different issue.
As I searched, I suspected that It was in debug mode in high current. so I attach pull down resistor to swd_clk pin.
But it happens equally.
what should I start with?