Hi,
In my project, there is a device lock up and I found the problematic point that a debug log using nrf_serial_write() in critical region.
I think it is not a good idea to use debug log in critical region and I suspected if the previous critical region enter disabled irqs and nrf_serial_write would wait for timer forever or trying enter another critical region in nrf_queue_in before exit critical region.
However, I am not sure what exactly causes the lock up.
Could someone explain this?
Thank you.