<?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 to use printk with thingy53 with peripheral uart sample</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96917/how-to-use-printk-with-thingy53-with-peripheral-uart-sample</link><description>How could i print the LOGs as described here in the sample https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.0/nrf/samples/bluetooth/peripheral_uart/README.html 
 in particular i don&amp;#39;t understad how to set the USB CDC ACM as described here. extension</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Feb 2023 13:53:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96917/how-to-use-printk-with-thingy53-with-peripheral-uart-sample" /><item><title>RE: How to use printk with thingy53 with peripheral uart sample</title><link>https://devzone.nordicsemi.com/thread/411394?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 13:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7501e16-2dfb-4fa0-94f4-51988993213c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello, is there a reason for using nRF Connect SDK v2.0.0?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;In Known Issues of v2.0.0 there is a known issee&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;NCSDK-15724: Bluetooth’s Peripheral UART sample fails to start on Thingy:53&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/known_issues.html#?v=v2-0-2"&gt;&lt;span&gt;v2.0.2&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/known_issues.html#?v=v2-0-1"&gt;&lt;span&gt;v2.0.1&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/known_issues.html#?v=v2-0-0"&gt;&lt;span&gt;v2.0.0&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Enabling USB by the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/samples/bluetooth/peripheral_uart/README.html#peripheral-uart"&gt;&lt;span&gt;Peripheral UART’s&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;main function ends with error because the USB was already enabled by the Thingy:53-specific code.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Workaround:&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Manually cherry-pick and apply commit with fix from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;main&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;(commit hash:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;b834ff8860f3a30fe19c99dbf4c0c99b0b017245&lt;/span&gt;&lt;/code&gt;).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This has been fixed in version 2.2.0.&lt;br /&gt;&lt;br /&gt;Also, the peripheral_uart does not use printk, it &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/services/logging/index.html#logging"&gt;uses the Zephyr Log Module&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use printk with thingy53 with peripheral uart sample</title><link>https://devzone.nordicsemi.com/thread/411249?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 07:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9cbfced-d637-4d57-a5a8-8374318b7236</guid><dc:creator>simon8</dc:creator><description>&lt;p&gt;i&amp;#39;ve done this... found nothing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use printk with thingy53 with peripheral uart sample</title><link>https://devzone.nordicsemi.com/thread/411228?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 03:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f18b857e-3fff-4d68-96d2-84ce6446379f</guid><dc:creator>Brave</dc:creator><description>&lt;p&gt;I also don&amp;#39;t know much about this topic, but I think you can search the question on the Internet.&amp;nbsp;&amp;nbsp;&lt;span style="color:#ffffff;font-size:75%;"&gt;&lt;a style="color:#ffffff;" href="https://cookieclicker2.io"&gt;Cookie Clicker&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>