Hi!
I am running Zephyr direction finding sample for AoA transmitter (nRF Connect SDK). At the end of main function I read DFECTRL1 register just to make sure that it is configured correctly:
printk("NUMBEROF8us: %ld\n", (NRF_RADIO -> DFECTRL1)&RADIO_DFECTRL1_NUMBEROF8US_Msk);
I flashed the board with sample application and printk reported that register value was set correctly. But then I wanted to do some debugging so I single stepped through main function and printk reported register value which was unexpected (default value of register). I am using Eclipse IDE so I then checked radio registers value while debugging and all registers had default values through whole application.
Can anyone explain me why do registers get different values if application is running normally versus single stepping through it? I read that Softdevice is blocking r/w operations on register but since I am using nRF Connect SDK I am not using Softdevice so I don't know where the problem is.
Next image show serial when I was first debugging and then ran application normally.

Thanks for helping.