<?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>NRF52840 USB CDC issue with NCS 1.9</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86669/nrf52840-usb-cdc-issue-with-ncs-1-9</link><description>Hi, 
 
 As a part of proof of concept for our newest design We have tried to setup USB CDC using nRF52840DK and NCS 1.9. In order to quickly test things out We have tried the following examples: 
 1. samples/subsys/usb/cdc_acm 
 2. samples\bluetooth\peripheral_uart</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Apr 2022 09:21:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86669/nrf52840-usb-cdc-issue-with-ncs-1-9" /><item><title>RE: NRF52840 USB CDC issue with NCS 1.9</title><link>https://devzone.nordicsemi.com/thread/362262?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 09:21:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb71822e-49a8-4e32-a431-15448a151398</guid><dc:creator>Jakos</dc:creator><description>&lt;p&gt;I see :) Then I will get my hands on proper DK and hopefully the issue will be solved. Thank You !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 USB CDC issue with NCS 1.9</title><link>https://devzone.nordicsemi.com/thread/362253?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 08:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be89478a-1e46-4c95-a097-c9e1f4f19b9e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It&amp;#39;s because the preview kits came with 52840 engineering samples that had a number of USB related hw issues ( ref. &lt;span class="item"&gt;&lt;a title="nRF52840 Engineering A Errata" href="https://infocenter.nordicsemi.com/topic/errata_nRF52840_EngA/ERR/nRF52840/EngineeringA/latest/err_840.html?cp=4_0_1_6"&gt;nRF52840 Engineering A Errata&lt;/a&gt;&lt;/span&gt;). This revision is no longer supported for development.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 USB CDC issue with NCS 1.9</title><link>https://devzone.nordicsemi.com/thread/362248?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 08:49:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c76eb911-dc64-41ea-82b4-1f28b24431a8</guid><dc:creator>Jakos</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My setup looks exactly the same and I have checked USB cabled initially.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have just now notice that I am using a nrf52840-Preview-DK... Why is this an issue ? Can i make some modifications in order to make this work, or am I force to buy a &amp;quot;non-preview DK&amp;quot; ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Jakub&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 USB CDC issue with NCS 1.9</title><link>https://devzone.nordicsemi.com/thread/362244?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 08:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:154c226f-f619-41f7-baf4-138d9b0639c9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Jakub,&lt;/p&gt;
&lt;p&gt;Thanks for confirming. So it seems like it must be something with the setup then. Did you try using different USB cables as well? A bad USB cable or hub could potentially explain the issue you are seeing. Please also make sure you are using a nRF52840-DK and not a nRF52840-PreviewDK.&lt;/p&gt;
&lt;p&gt;Here is the setup I used for comparison:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/thumbnail_5F00_IMG_5F00_0665.jpg" /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 USB CDC issue with NCS 1.9</title><link>https://devzone.nordicsemi.com/thread/362198?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 06:14:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7aa8585-741b-4fa2-bb47-5c16ecf580fe</guid><dc:creator>Jakos</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank You for answer, I have flashed the .hex provided by You to both of our nrf52840 DK with following result:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1649312011119v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;As You can see the issue remains, it is exactly the same as before. I am really clueless about this issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Furthermore, with .hex provided by You I could not see the BLE device using nRF Connect for Android.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 USB CDC issue with NCS 1.9</title><link>https://devzone.nordicsemi.com/thread/362072?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 12:08:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dae64e78-067a-4978-ab2b-639cccac7402</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Jakub,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not really sure what the issue could be here considering they are enumerating, I did not manage to replicate it here with these 2 samples either.&lt;/p&gt;
&lt;p&gt;Attached below is the peripheral_uart hex I used. Maybe you could you try with that one to see if you still get the same error?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;peripheral_uart with USB CDC built for nrf52840dk_nrf52840&lt;/strong&gt; (west build -b nrf52840dk_nrf52840 -p -- -DOVERLAY_CONFIG=prj_cdc.conf -DDTC_OVERLAY_FILE=usb.overlay)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8132.zephyr.hex"&gt;devzone.nordicsemi.com/.../8132.zephyr.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Programming hex with nrfjprog&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;$ nrfjprog --program zephyr.hex --chiperase --reset&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Terminal output from nRF USB&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1649246479865v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;RTT log&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1649313957480v3.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Data sent and received from nRF connect app on iOS (app is available on android as well)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/thumbnail_5F00_Screenshot-2022_2D00_04_2D00_06-at-14.01.42.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit: &lt;/strong&gt;Added a screenshot of the RTT log.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>