s132 nrf52.
After call this function I got reset. Why? How can I find reason of reset?
This devzone case might be helpful for you. This case too.