<?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>USB issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59675/usb-issue</link><description>Hi, 
 
 I am using the NRF52840 with the usbd_ble_uart example using the latest SDK.nRF5SDK160098a08e2. 
 My computer (windows 7) recognize the NRF52840 as a nRF52 USB CDC BLE Demo (COM51) and everything seems ok. 
 But when I use a serial port program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jun 2020 07:59:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59675/usb-issue" /><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/254163?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 07:59:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bc05006-1870-4900-9a38-73dbcc9d8052</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi JK&lt;/p&gt;
&lt;p&gt;I am glad to hear you found a solution to the problem. I will close this case then.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/254072?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2020 14:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a37fe4f-25b0-4abd-ab07-f88ecc2229dd</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for you reply&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;yea I managed to let it work.&lt;/p&gt;
&lt;p&gt;I just&amp;nbsp;switch controls the DTR output pin, on Hercules app -&amp;gt; Serial Mode I choose : Data.&lt;/p&gt;
&lt;p&gt;And it worked.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;JK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/254061?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2020 13:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a538cf41-295c-4f45-bff8-c0c53dcfae38</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the slow response, it has been a busy time lately, despite the Covid situation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you still having issues getting communication to work?&lt;/p&gt;
&lt;p&gt;If so please let me know if you have any updates to share, and I will set aside some time to look into this.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/245432?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2020 07:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:458f8d03-bd65-4f98-b9d6-19cd4573aeee</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I managed to let it work, the nrf52840 communicate successfully with PC throw USB.&lt;/p&gt;
&lt;p&gt;But I still have a problem.&lt;/p&gt;
&lt;p&gt;The device works fine if I am using terminals: Docklight or puTTY.&lt;/p&gt;
&lt;p&gt;The device not working with terminals: Hercules or YAT.&lt;/p&gt;
&lt;p&gt;I am developing both sides the FW for the device and a PC SW App, and I am not managing to communicate with the board yet.&lt;/p&gt;
&lt;p&gt;can you please suggest a COMPORT driver for my PC App &lt;span&gt;( the code responsible for initialize opening the COMPORT and to actually communicate)&amp;nbsp;&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;and why it&amp;#39;s not working whith Hercules or YAT Apps ?&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;JK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/244910?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 09:43:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0517b0c0-a5cb-4fd9-a30a-21914744c7b5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi JK&lt;/p&gt;
&lt;p&gt;I showed your trace to our USB developer, but he claimed it was hard to get enough information from a terminal trace alone. Do you have a USB sniffer available so you can do a proper USB trace?&lt;/p&gt;
&lt;p&gt;Have you been able to test this on Windows 10?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/243885?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 11:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0e2dbd6-800b-46c6-8465-1a84cf4ec457</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I used a Free Device Monitoring Studio to monitor the USB data and requests on the COM Port.&lt;/p&gt;
&lt;p&gt;the Request view is attached.&lt;/p&gt;
&lt;p&gt;It seems like the handshake not ending properly! I am not sure.&lt;/p&gt;
&lt;p&gt;I just used the example from the SDK, can you tell what is wrong !?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/USB.txt"&gt;devzone.nordicsemi.com/.../USB.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;JK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/243857?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 10:12:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47c57c3c-1e6a-456d-91f2-4f1576cd5f7f</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I am still using windows 7 and I managed to let the USB work with your usbd_ble_uart example, the data sent from the device received at PC, but I still have a problem to receive the data sent from PC to the device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I set a Breakpoint on the beginning of the event handler (&amp;nbsp;cdc_acm_user_ev_handler) and it never triggers.&lt;/p&gt;
&lt;p&gt;as I said:&lt;/p&gt;
[quote userid="76096" url="~/f/nordic-q-a/59675/usb-issue"]I saw an instruction to set the&amp;nbsp;#define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE to 0 and to delete the&amp;nbsp;app_usbd_event_queue_process() function from the main loop and I did so, but this didn&amp;#39;t help, the interrupt is not triggering.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am facing this problem with Nordic&amp;#39;s dongle and another custom device based on nRF52840&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;please can you tell what the problem is !?&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;JK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/242632?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 09:10:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47c46842-4b6c-4e09-83d2-e5e137c897bf</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi JK&lt;/p&gt;
&lt;p&gt;Do you have a Win10 computer around that you can test with to see if the problem is related to the operating system?&lt;/p&gt;
&lt;p&gt;All my PC&amp;#39;s are updated to Win10, so I am not able to double check this on Win7 unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/242457?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 13:51:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b175bc36-6491-48af-bb7f-d97c1a573c65</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;My device shall communicate with PC throw USB or &lt;span&gt;throw&amp;nbsp;&lt;/span&gt;BLE USB dongle, that&amp;#39;s why I chose this specific example.&lt;/p&gt;
&lt;p&gt;I already modified this example where the cdc_acm_user_ev_handler&amp;nbsp;and the nus_data_handler to not send the data over, instead to call some message parsing function of mine.&lt;/p&gt;
&lt;p&gt;so I don&amp;#39;t need a central to check the USB, I am setting a breakpoint in the begining of &lt;span&gt;cdc_acm_user_ev_handler&lt;/span&gt;&lt;span&gt;&amp;nbsp;and it&amp;#39;s not triggering when I send something from a serial port program&amp;nbsp;from PC.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;JK&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB issue</title><link>https://devzone.nordicsemi.com/thread/242427?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 13:06:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be6f5e6f-8c8d-404b-aba4-becb265f8dee</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The usbd_ble_uart example will not send anything until you send the newline character. Typically you have to enter ctrl + enter in your terminal program to send this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Secondly, I believe you need to be connected to a BLE central device in order to see the data being sent.&amp;nbsp;&lt;/p&gt;
[quote user=""]Besides what is the baud rate of the USB ? I didn&amp;#39;t find where I can change the baud rate.[/quote]
&lt;p&gt;The baudrate is not really relevant when using USB, since the USB interface has a much higher bandwidth than normal UART baudrates. This means it doesn&amp;#39;t matter what baudrate you configure the CDC comport to on the Windows side.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>