<?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>how nrf52820 config pin to output log</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117570/how-nrf52820-config-pin-to-output-log</link><description>Dear nordic: 
 There is a problem while debugging the nrf52820 based on ncs v2.6.0 
 I wanna see the log via debug but failed, the circuitry is as the pic.How I can config the pin and prj.conf file to enable debug to output my log via &amp;quot;printf()&amp;quot; or &amp;quot;LOG_INF</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Jan 2025 03:11:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117570/how-nrf52820-config-pin-to-output-log" /><item><title>RE: how nrf52820 config pin to output log</title><link>https://devzone.nordicsemi.com/thread/516723?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2025 03:11:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef854540-a198-47b7-be77-b9b9a2783589</guid><dc:creator>Martin Evans</dc:creator><description>&lt;p&gt;I have solved it by adding&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;quot;CONFIG_LOG_BUFFER_SIZE&lt;/span&gt;&lt;span&gt;=&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;to prj.conf file.Thanx so much!&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how nrf52820 config pin to output log</title><link>https://devzone.nordicsemi.com/thread/516376?ContentTypeID=1</link><pubDate>Fri, 27 Dec 2024 15:26:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed25c095-602e-42b5-a633-c4f42bd84f66</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Martin,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you defined your own board files ?&amp;nbsp;&lt;br /&gt;You can either change the pin in the dts file of your board files or you can change it using an overlay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By default (in most case) the log or console use uart0 .&lt;/p&gt;
&lt;p&gt;You can make an overlay file to change uart0 pins, you can take a look here:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93648/change-uart-port"&gt;Change UART port&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You will need to name your .overlay file to match with your board name.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>