<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ERROR CONFIGURE UART IN CUSTOM BOARD NRF54L15</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118909/error-configure-uart-in-custom-board-nrf54l15</link><description>Hi everyone, I have a problem when I tried to configure UART ( baudrate, parity, data_bits, stop_bits, flow_ctrl). I upload my project: 
 
 #include &amp;quot;myuart.h&amp;quot; 
 #include &amp;lt;zephyr/sys/printk.h&amp;gt; 
 
 /* 1000 msec = 1 sec */ 
 #define SLEEP_TIME_MS 1000 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Feb 2025 07:25:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118909/error-configure-uart-in-custom-board-nrf54l15" /><item><title>RE: ERROR CONFIGURE UART IN CUSTOM BOARD NRF54L15</title><link>https://devzone.nordicsemi.com/thread/522778?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 07:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15e28be9-5233-4f52-8657-cd9706f99819</guid><dc:creator>Nguyen Kha Duong</dc:creator><description>&lt;p&gt;I installed it successfully, thank you for your feedback on my post.&lt;br /&gt;&lt;br /&gt;Best regard,&lt;br /&gt;Nguyen Kha Duong&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR CONFIGURE UART IN CUSTOM BOARD NRF54L15</title><link>https://devzone.nordicsemi.com/thread/522774?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 07:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58d478cf-7c4b-414c-bc2f-7d7f2286b90c</guid><dc:creator>jing</dc:creator><description>&lt;p&gt;must be&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_&lt;/span&gt;&lt;span&gt;UART_USE_RUNTIME_CONFIGURE=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;with the &amp;quot;CONFIG_&amp;quot; in front and without &amp;lt;space&amp;gt; before &amp;quot;=&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR CONFIGURE UART IN CUSTOM BOARD NRF54L15</title><link>https://devzone.nordicsemi.com/thread/522772?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 07:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a59f86ab-bf1c-4859-a388-579370c7a834</guid><dc:creator>Nguyen Kha Duong</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;I upload my prj.conf as below:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_GPIO&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_CONSOLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;#Enable the UART driver&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_ASYNC_API&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRFX_UARTE0&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SERIAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;UART_USE_RUNTIME_CONFIGURE&lt;/span&gt;&lt;span&gt; =y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_HEAP_MEM_POOL_SIZE&lt;/span&gt;&lt;span&gt;=2048&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# Bluetooth configuration&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_BT=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_BT_PERIPHERAL=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# Enable bonding&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BT_SETTINGS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_FLASH&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_FLASH_PAGE_LAYOUT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_FLASH_MAP&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# This example requires more stack&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MAIN_STACK_SIZE&lt;/span&gt;&lt;span&gt;=1152&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE&lt;/span&gt;&lt;span&gt;=2048&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# Config logger&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USE_SEGGER_RTT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_RTT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_UART&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_PRINTK&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I added &amp;quot;UART_USE_RUNTIME_CONFIGURE =y&amp;quot; as you instructed, but when I build the program, an error occurs:&lt;br /&gt;&lt;br /&gt;warning: BT_SETTINGS (defined at C:/ncs/v2.9.0/zephyr/subsys/bluetooth/host/Kconfig:195,&lt;br /&gt;subsys/bluetooth\host/Kconfig:195) was assigned the value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these&lt;br /&gt;unsatisfied dependencies: ((SETTINGS &amp;amp;&amp;amp; BT_HCI_HOST &amp;amp;&amp;amp; BT_RPC_STACK) || (SETTINGS &amp;amp;&amp;amp; BT_HCI_HOST &amp;amp;&amp;amp;&lt;br /&gt;BT_HCI &amp;amp;&amp;amp; BT)) (=n). See &lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_SETTINGS"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt; and/or&lt;br /&gt;look up BT_SETTINGS in the menuconfig/guiconfig interface. The Application Development Primer,&lt;br /&gt;Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be&lt;br /&gt;helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;warning: NRFX_UARTE0 (defined at C:/ncs/v2.9.0/zephyr/modules/hal_nordic\nrfx/Kconfig:1024,&lt;br /&gt;modules\hal_nordic\nrfx/Kconfig:1024, drivers/serial\Kconfig.nrfx_uart_instance:32) was assigned the&lt;br /&gt;value &amp;#39;y&amp;#39; but got the value &amp;#39;n&amp;#39;. Check these unsatisfied dependencies: (HAS_HW_NRF_UART0 ||&lt;br /&gt;HAS_HW_NRF_UARTE0) (=n). See &lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_NRFX_UARTE0"&gt;docs.zephyrproject.org/.../kconfig.html&lt;/a&gt;&lt;br /&gt;and/or look up NRFX_UARTE0 in the menuconfig/guiconfig interface. The Application Development&lt;br /&gt;Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual&lt;br /&gt;might be helpful too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;C:/Brain-Life/Nordic/FIRMWARE/nordic_nrf5283/UART-BLE/prj.conf:10: warning: ignoring malformed line &amp;#39;UART_USE_RUNTIME_CONFIGURE =y&amp;#39;&lt;br /&gt;&lt;br /&gt;error: Aborting due to Kconfig warnings&lt;br /&gt;&lt;br /&gt;Parsing C:/ncs/v2.9.0/zephyr/Kconfig&lt;br /&gt;Loaded configuration &amp;#39;C:/Brain-Life/Nordic/FIRMWARE/nordic_nrf5283/boards/nrf54l15_customboard/nrf54l15_custom/nrf54l15_custom_nrf54l15_cpuapp_defconfig&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/Brain-Life/Nordic/FIRMWARE/nordic_nrf5283/UART-BLE/prj.conf&amp;#39;&lt;br /&gt;Merged configuration &amp;#39;C:/Brain-Life/Nordic/FIRMWARE/nordic_nrf5283/UART-BLE/build_1/UART-BLE/zephyr/.config.sysbuild&amp;#39;&lt;br /&gt;CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/kconfig.cmake:396 (message):&lt;br /&gt; command failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.9.0/nrf/cmake/modules/kconfig.cmake:29 (include)&lt;br /&gt; C:/ncs/v2.9.0/zephyr/cmake/modules/zephyr_default.cmake:133 (include)&lt;br /&gt; C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:2 (find_package)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):&lt;br /&gt; CMake configure failed for Zephyr project: UART-BLE&lt;br /&gt;&lt;br /&gt; Location: C:/Brain-Life/Nordic/FIRMWARE/nordic_nrf5283/UART-BLE&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; cmake/modules/sysbuild_images.cmake:20 (ExternalZephyrProject_Cmake)&lt;br /&gt; cmake/modules/sysbuild_default.cmake:20 (include)&lt;br /&gt; C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)&lt;br /&gt; C:/ncs/v2.9.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)&lt;br /&gt; C:/ncs/v2.9.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)&lt;br /&gt; template/CMakeLists.txt:10 (find_package)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;See also &amp;quot;C:/Brain-Life/Nordic/FIRMWARE/nordic_nrf5283/UART-BLE/build_1/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/b620d30767/opt/bin/python.exe &amp;#39;-Bc:\Brain-Life\Nordic\FIRMWARE\nordic_nrf5283\UART-BLE\build_1&amp;#39; -GNinja -DBOARD=nrf54l15_custom/nrf54l15/cpuapp -DNCS_TOOLCHAIN_VERSION=NONE &amp;#39;-DBOARD_ROOT=c:\Brain-Life\Nordic\FIRMWARE\nordic_nrf5283&amp;#39; &amp;#39;-SC:\ncs\v2.9.0\zephyr\share\sysbuild&amp;#39; &amp;#39;-DAPP_DIR:PATH=c:\Brain-Life\Nordic\FIRMWARE\nordic_nrf5283\UART-BLE&amp;#39;&lt;br /&gt;&lt;br /&gt; * The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR CONFIGURE UART IN CUSTOM BOARD NRF54L15</title><link>https://devzone.nordicsemi.com/thread/522769?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 06:58:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd39f73c-8744-47c3-911c-8b00f807f64f</guid><dc:creator>jing</dc:creator><description>&lt;p&gt;yes.&lt;/p&gt;
&lt;p&gt;add CONFIG_&lt;span&gt;UART_USE_RUNTIME_CONFIGURE=y in your prj.conf and do a pristine build&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;jing&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR CONFIGURE UART IN CUSTOM BOARD NRF54L15</title><link>https://devzone.nordicsemi.com/thread/522768?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 06:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a2443ed-f85c-433e-a0bd-099a0b1286a2</guid><dc:creator>Nguyen Kha Duong</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;It&amp;#39;s mean, add &amp;quot;UART_USE_RUNTIME_CONFIGURE =y&amp;quot; in prj.conf file, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ERROR CONFIGURE UART IN CUSTOM BOARD NRF54L15</title><link>https://devzone.nordicsemi.com/thread/522767?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 06:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68ec4d17-6e17-4665-b9db-30ff92740ee9</guid><dc:creator>jing</dc:creator><description>&lt;p&gt;you need to enable UART_USE_RUNTIME_CONFIGURE to use&amp;nbsp;&lt;span&gt;uart_configure()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;jing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>