Hello,
I am developing a project on the nRF54L15 and encountered a system hang when using two UART instances simultaneously: UART20 (for logging and printk) and UART30 (for external device communication).
Symptoms:
-
When compiled with Default settings, the system hangs as soon as there is concurrent output from both the logs and UART30.
-
When compiled with the -g (Debug) flag, the program runs normally without any issues.
-
If I set
CONFIG_LOG=nin the Default build (printk can output), the program also runs normally.
Configuration:
-
UART30 is configured with
CONFIG_UART_INTERRUPT_DRIVEN=yandCONFIG_UART_30_INTERRUPT_DRIVEN=y.
I am unsure why the logging system is causing the crash in the release/default build while the debug build works fine. Are there known conflicts between the logging backend and interrupt-driven UART on this series? How can I resolve this?