<?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 communicate with gateway via USB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62404/nrf52840-communicate-with-gateway-via-usb</link><description>When I was testing USB on SDK16.0 with nrf52840, the gateway acted as the host, the following scenario 1 worked abnormally, and scenario 2 worked normally. 
 Scenario 1: When the USB host first sends more than 8 bytes of data to the device, the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jun 2020 15:26:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62404/nrf52840-communicate-with-gateway-via-usb" /><item><title>RE: nRF52840 communicate with gateway via USB</title><link>https://devzone.nordicsemi.com/thread/256758?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 15:26:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6e3427b-2bfb-4190-a2e2-b5bdb3387c52</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;OK, that is a revision 2 chip. Do you have any more logs you can enable to determine what happens? If you did not already, please enable debug log level for all USBD related drivers/libraries in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 communicate with gateway via USB</title><link>https://devzone.nordicsemi.com/thread/255203?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 09:40:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ae3c5a8-f3ba-4a4e-8aec-631d89a24fc7</guid><dc:creator>Deang</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Jorgen, thank you for your response.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The silkscreen on this chip is: N52840 - QIAAD0 - 1851AA.&lt;br /&gt;The chip of the gateway is MT7621.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 communicate with gateway via USB</title><link>https://devzone.nordicsemi.com/thread/255179?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 08:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f85051c4-30ff-45fa-a15e-9b4e474fd5a2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Can you make sure that you are using &lt;a href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52840/COMP/nrf52840/nRF52840_ic_revision_overview.html?cp=4_0_3_0"&gt;production-revision&lt;/a&gt; of the nRF52840 chip? The Engineering samples have had many issues with the USBD peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you also provide more details on the gateway device? What manufacturer/model is the USB Host device, and how does it communicate with the USB device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 communicate with gateway via USB</title><link>https://devzone.nordicsemi.com/thread/254862?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 01:58:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24a5507d-863f-4b3a-b162-e6de5507dc24</guid><dc:creator>Deang</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Jorgen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you offer me some advice? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is&amp;nbsp;&lt;span class="transSent"&gt;USB device configured incorrectly?&amp;nbsp;&lt;/span&gt;&lt;span class="transSent"&gt;Or is the gateway configured incorrectly?&amp;nbsp;&lt;/span&gt;&lt;span class="transSent"&gt;Or do these two configurations not match?&amp;nbsp;&lt;span class="tran"&gt;or&lt;/span&gt; for &lt;span class="tran"&gt;any&lt;/span&gt; &lt;span class="tran"&gt;other&lt;/span&gt; &lt;span class="tran"&gt;reason.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 communicate with gateway via USB</title><link>https://devzone.nordicsemi.com/thread/254491?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 12:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cf1ff2f-f14e-44c9-97a2-6d7d3c0ff130</guid><dc:creator>Deang</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;you.&amp;nbsp;&amp;nbsp;&lt;span&gt;scenario 1&amp;nbsp;can&amp;nbsp;&lt;/span&gt;repeat in &amp;ldquo;nordic_SDK_160\examples\peripheral\usbd_ble_uart&amp;rdquo;,&amp;nbsp; but&amp;nbsp;there will be no problem communicating with PC&lt;/p&gt;
&lt;p&gt;In the figure below, after the gateway open the device and delays for 1 second, it sends 4K datas to the device, but after sending a few hundred bytes, the USB bus is suspended and the reception fails.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/_014F1A4EAE5FE14F2A62FE565F00_15918782923336.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 communicate with gateway via USB</title><link>https://devzone.nordicsemi.com/thread/254464?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 11:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f00c0b99-6d10-4251-81cd-dedff40f5848</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you provide some more details on what occurs in scenario 1, and provide an example with instructions on how to reproduce this?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>