Hi Nordic:
Test with board nrf5340-dk ncs v1.9.1
prj.conf
# Console
CONFIG_LOG=y
CONFIG_LOG_PRINTK=y
CONFIG_LOG_DEFAULT_LEVEL=3
# UartConsole
CONFIG_UART_CONSOLE=y
CONFIG_LOG_BACKEND_UART=y
# RttConsole
CONFIG_RTT_CONSOLE=n
CONFIG_USE_SEGGER_RTT=n
CONFIG_LOG_BACKEND_RTT=n
# Power Manager
CONFIG_PM=y
CONFIG_PM_DEVICE=y
in test.c
printk("disable_console\n");
k_sleep(K_MSEC(500));
pm_device_action_run(console_dev, PM_DEVICE_ACTION_SUSPEND);
The Log message "disable_console" woun't disaplay on uart console.
Is there any APIs that can process the log output before console suspend.
Thanks
