<?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>Unable to get UART log output on nRF9151 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123818/unable-to-get-uart-log-output-on-nrf9151-dk</link><description>This seems like a silly issue, but I cannot get the UART output from the nRF9151 DK. Attached is a project that outputs via both LOG and printk() to a Segger RTT viewer without issue, but does not from UART (USB virtual via the DK). I normally use J-Link</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Aug 2025 17:02:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123818/unable-to-get-uart-log-output-on-nrf9151-dk" /><item><title>RE: Unable to get UART log output on nRF9151 DK</title><link>https://devzone.nordicsemi.com/thread/546250?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 17:02:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d583bef-a736-4da1-8c05-5370ed722046</guid><dc:creator>gterrell</dc:creator><description>&lt;p&gt;Big thanks Hakon, the correct&amp;nbsp;&lt;span&gt;nrf9151dk_nrf9151_common-pinctrl.dtsi did the trick. I must have accidently changed the file while creating the board definitions for our custom board.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get UART log output on nRF9151 DK</title><link>https://devzone.nordicsemi.com/thread/546232?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 15:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd1eee56-a000-4525-b103-a4270588be65</guid><dc:creator>gterrell</dc:creator><description>&lt;p&gt;My &lt;span&gt;nrf9151dk_nrf9151_common-pinctrl.dtsi does not match yours, it is likely that the file on my system was inadvertently changed. I have pasted your content in and will test UART log functionality today.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get UART log output on nRF9151 DK</title><link>https://devzone.nordicsemi.com/thread/546230?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 15:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b8b0ccd-2b85-4df1-a9dd-5b8814868f6f</guid><dc:creator>Hakon</dc:creator><description>[quote user="gterrell"]&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2068.nrf9151dk_5F00_nrf9151_5F00_common_2D00_pinctrl.dtsi"&gt;nrf9151dk_nrf9151_common-pinctrl.dtsi&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7840.nrf9151dk_5F00_nrf9151_5F00_common.dtsi"&gt;nrf9151dk_nrf9151_common.dtsi&lt;/a&gt;[/quote]
&lt;p&gt;Have you changed nrf9151dk_nrf9151_common-pinctrl.dtsi? It should look like this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2023 Nordic Semiconductor
 * SPDX-License-Identifier: Apache-2.0
 */

&amp;amp;pinctrl {
	uart0_default: uart0_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 27)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RTS, 0, 14)&amp;gt;;
		};
		group2 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 0, 26)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_CTS, 0, 15)&amp;gt;;
			bias-pull-up;
		};
	};

	uart0_sleep: uart0_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 27)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RX, 0, 26)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RTS, 0, 14)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_CTS, 0, 15)&amp;gt;;
			low-power-enable;
		};
	};

	uart1_default: uart1_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 29)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RTS, 0, 16)&amp;gt;;
		};
		group2 {
			psels = &amp;lt;NRF_PSEL(UART_RX, 0, 28)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_CTS, 0, 17)&amp;gt;;
			bias-pull-up;
		};
	};

	uart1_sleep: uart1_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 29)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RX, 0, 28)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_RTS, 0, 16)&amp;gt;,
				&amp;lt;NRF_PSEL(UART_CTS, 0, 17)&amp;gt;;
			low-power-enable;
		};
	};

	i2c2_default: i2c2_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 30)&amp;gt;,
				&amp;lt;NRF_PSEL(TWIM_SCL, 0, 31)&amp;gt;;
		};
	};

	i2c2_sleep: i2c2_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 30)&amp;gt;,
				&amp;lt;NRF_PSEL(TWIM_SCL, 0, 31)&amp;gt;;
			low-power-enable;
		};
	};

	pwm0_default: pwm0_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(PWM_OUT0, 0, 0)&amp;gt;;
		};
	};

	pwm0_sleep: pwm0_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(PWM_OUT0, 0, 0)&amp;gt;;
			low-power-enable;
		};
	};

	spi3_default: spi3_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 13)&amp;gt;,
				&amp;lt;NRF_PSEL(SPIM_MISO, 0, 12)&amp;gt;,
				&amp;lt;NRF_PSEL(SPIM_MOSI, 0, 11)&amp;gt;;
			nordic,drive-mode = &amp;lt;NRF_DRIVE_H0H1&amp;gt;;
		};
	};

	spi3_sleep: spi3_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 13)&amp;gt;,
				&amp;lt;NRF_PSEL(SPIM_MISO, 0, 12)&amp;gt;,
				&amp;lt;NRF_PSEL(SPIM_MOSI, 0, 11)&amp;gt;;
			low-power-enable;
		};
	};
};
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get UART log output on nRF9151 DK</title><link>https://devzone.nordicsemi.com/thread/546167?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 11:03:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ee1b83b-6623-4ce5-9b3a-2c40a9cfb98b</guid><dc:creator>gterrell</dc:creator><description>&lt;p&gt;No overlay, double checked. I don&amp;#39;t see the register addresses in my 9151 board pinctrl file, that must get translated during build into the dts file.&lt;/p&gt;
&lt;p&gt;Should I reinstall SDK 3.0.2?&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf9151dk_5F00_nrf9151_5F00_common_2D00_pinctrl.dtsi"&gt;devzone.nordicsemi.com/.../nrf9151dk_5F00_nrf9151_5F00_common_2D00_pinctrl.dtsi&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf9151dk_5F00_nrf9151_5F00_common.dtsi"&gt;devzone.nordicsemi.com/.../nrf9151dk_5F00_nrf9151_5F00_common.dtsi&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get UART log output on nRF9151 DK</title><link>https://devzone.nordicsemi.com/thread/546148?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 08:57:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad40316e-20f1-4829-a196-834b6a822126</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Are you using an overlay file that you did not upload in the zip? I get this when I diff your zephyr.dts file with mine&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1755680227494v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get UART log output on nRF9151 DK</title><link>https://devzone.nordicsemi.com/thread/546089?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 15:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d415f34-9a9e-4815-bdba-5efcdc0c49f1</guid><dc:creator>gterrell</dc:creator><description>&lt;p&gt;Settings are 115200, 8n1, no RTS/CTS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get UART log output on nRF9151 DK</title><link>https://devzone.nordicsemi.com/thread/546088?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 15:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4206dbf-b410-4b1f-8474-5f90c64653b4</guid><dc:creator>gterrell</dc:creator><description>&lt;p&gt;Files requested are attached in zip.&lt;/p&gt;
&lt;p&gt;Windows 11 is workstation OS. Tried using nRF Connect for Desktop, Serial Terminal and the nRF Terminal within VSCode. The 2nd virtual COM port attach the the TF-M works, I get a startup message on reset press (for both Desktop Serial Terminal and VSCode nRF Terminal). I have tried this on 2 different nRF9151 DK boards.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8032.build_5F00_files.zip"&gt;devzone.nordicsemi.com/.../8032.build_5F00_files.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get UART log output on nRF9151 DK</title><link>https://devzone.nordicsemi.com/thread/546085?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 15:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef49a777-1e15-46b8-bdfc-144b4d47b55d</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I tried running your code and it did successfully print on the UART. I did not do any modifications.&lt;/p&gt;
&lt;p&gt;Can you please provide full build config found in build/app_name/zephyr/.config and also zephyr.dts found in the same location? Also, can you describe what OS and program used to read the serial port? What are your settings there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>