ANT S212, nRF52:
I've read all the links in the forum regarding serial port running in debug mode and not in run mode.
In my case, it works in RUN mode until softdevice_setup() is called.
In other words:
s_write("tst2\n\r"); // this prints in RUN
softdevice_setup();
s_write("tst3\n\r"); // this prints in DEBUG, does not in RUN.
Could this be a HFCLK issue?
I have followed the serial_pca10040 settings but that is not accessing the softdevice functionality.
My code is based upon the scan_and_forward application, which I had modified to use a 16 bit device id.
It steps through correctly under the debugger, so the fault may not be there.
My feeling is that the uart interrupt handler has a conflict with the scan_and_forward interrupts ?