<?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>nRF Connect SDK v1.7.0 printk()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91800/nrf-connect-sdk-v1-7-0-printk</link><description>Hi, 
 
 I&amp;#39;m working with a nRF9160 and nRF Connect SDK v1.7.0. 
 
 It looks like printk() is not outputting to UART, it previously was working when I was using nRF Connect SDK v1.6.1. 
 
 Could you let me know what I need to enable in my proj.conf file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Sep 2022 09:09:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91800/nrf-connect-sdk-v1-7-0-printk" /><item><title>RE: nRF Connect SDK v1.7.0 printk()</title><link>https://devzone.nordicsemi.com/thread/386114?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 09:09:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5724edd-8b19-47ef-b75f-5749f125cfe1</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hello Sebastian,&lt;/p&gt;
&lt;p&gt;Could you please create a new DevZone case about this?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK v1.7.0 printk()</title><link>https://devzone.nordicsemi.com/thread/386108?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 08:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f038e911-7ec4-4dcd-959b-8f1357ef4fc3</guid><dc:creator>sebastianrameshs</dc:creator><description>&lt;p&gt;Can youy say the procedure to print in nRF5340 board i want to see the flow and run AOA &amp;amp;AOD concept&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK v1.7.0 printk()</title><link>https://devzone.nordicsemi.com/thread/385822?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 22:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:301447f7-cc9d-4748-906f-4fb5bcdb9cb2</guid><dc:creator>alvin.le</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried the hello_world sample found in zephyr&amp;gt;samples with NCS v1.7.0 and board nrf9160dk_nrf9160_ns on my development board nRF9160DK and that worked.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have an overlay file&amp;nbsp;that I use to configure pins on a custom board. It looks like for NCS v1.6.1, the overlay file should be named&amp;nbsp;&amp;quot;nrf9160dk_nrf9160ns.overlay&amp;quot; and in NCS v1.7.0 there&amp;#39;s an extra underscore in the file name &amp;quot;&lt;span&gt;nrf9160dk_nrf9160_ns.overlay&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Once I renamed the overlay file and reassigned the pins for UART0 for the nRF9160 the DK so that it doesn&amp;#39;t interfere with the nRF9160 on my custom board, printk() started to work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect SDK v1.7.0 printk()</title><link>https://devzone.nordicsemi.com/thread/385690?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 10:49:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea6dcf92-c3ea-4f0c-bfa0-c2346cb44402</guid><dc:creator>Simon</dc:creator><description>[quote user=""]Could you let me know what I need to enable in my proj.conf file to allow for printk() to output to UART?[/quote]
&lt;p&gt;You don&amp;#39;t need to add anything to the prj.conf in to make the printk output on UART, it should be set up by default. I just tested the hello_world sample (which has an empty prj.conf) with NCS v1.7.0 and the board nrf9160dk_nrf9160_ns, and I was able to see the printk log.&lt;/p&gt;
&lt;p&gt;Could you test the hello world sample with you 91 DK and check if you see the serial log in a terminal?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>