<?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>Dongle NRF52840 USB serial terminal</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112889/dongle-nrf52840-usb-serial-terminal</link><description>Hi, I have developed my own custom module with a program based on the NUS example. 
 I wanted to use the dongle as a configurator (in the sense that i connect it to the usb and via realterm/teraterm i can write to the uart and then transmit via ble).</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jul 2024 08:43:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112889/dongle-nrf52840-usb-serial-terminal" /><item><title>RE: Dongle NRF52840 USB serial terminal</title><link>https://devzone.nordicsemi.com/thread/493329?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 08:43:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b6479ab-8a3d-4ff1-895f-e447e770a3e8</guid><dc:creator>Hieu</dc:creator><description>[quote user="Giovanni De Rosa"]I realised I was not using the native peripheral_uart example but a version I modified of central_periperhal_hr&lt;br /&gt;because i wanted the dongle to have both central and peripheral functions. In fact, I don&amp;#39;t see any references to &amp;quot;prj_cdc.conf, and usb.overlay&amp;quot; in it.[/quote]
&lt;p&gt;You will have to refer to the prj_cdc.conf and usb.overlay from the peripheral_uart sample and copy the relevant configurations over. The authors simply do not want to demonstrate USB CDC ACM in the central_peripheral_hr sample.&lt;/p&gt;
[quote user="Giovanni De Rosa"]I solved it with the example echo_bot[/quote]
&lt;p&gt;If it works with echo_bot, could you be using raw UART with a UART-to-USB-CDC-ACM bridge? It does not have any USB support.&lt;/p&gt;
&lt;p&gt;You mentioned USB in your opening post, which is why I refer you to all the USB configurations.&lt;/p&gt;
&lt;p&gt;In any cases, glad to know you have it working. Please feel free to close it at your convenience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle NRF52840 USB serial terminal</title><link>https://devzone.nordicsemi.com/thread/493202?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 14:54:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02e0dc9b-5c47-4648-930c-2ee3380cba96</guid><dc:creator>Giovanni De Rosa</dc:creator><description>&lt;p&gt;I solved it with the example echo_bot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle NRF52840 USB serial terminal</title><link>https://devzone.nordicsemi.com/thread/493159?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 12:39:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:334edc5b-77b5-42eb-b7f4-6c79d42da882</guid><dc:creator>Giovanni De Rosa</dc:creator><description>&lt;p&gt;I realised I was not using the native peripheral_uart example but a version I modified of central_periperhal_hr&lt;br /&gt;because i wanted the dongle to have both central and peripheral functions. In fact, I don&amp;#39;t see any references to &amp;quot;prj_cdc.conf, and usb.overlay&amp;quot; in it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle NRF52840 USB serial terminal</title><link>https://devzone.nordicsemi.com/thread/493139?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 11:44:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d941a7b2-eac7-4974-be68-4d7205c8ee5f</guid><dc:creator>Giovanni De Rosa</dc:creator><description>&lt;p&gt;Hi Hieu, Using the same firmware (changing the devicetree), if I connect the UART pins of the nrf52840 DK board to a uart to COM module, I can receive and transmit data via realterm/teraterm/putty.&lt;/p&gt;
&lt;p&gt;While if i connect the nrf52840 dongle into the usb port i can only receive data from the module (via printk) but cannot transmit data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dongle NRF52840 USB serial terminal</title><link>https://devzone.nordicsemi.com/thread/493137?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 11:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16d02b29-e704-445a-9081-8863e5a3a9bd</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Giovanni,&lt;/p&gt;
&lt;p&gt;What kind of receive are you not able to figure out? Is it receive over BLE, or over USB?&lt;/p&gt;
&lt;p&gt;The Peripheral UART sample includes two files that reconfigures the project to use USB instead of UART: &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.6.1/samples/bluetooth/peripheral_uart"&gt;prj_cdc.conf, and usb.overlay&lt;/a&gt;.&amp;nbsp;You can check&amp;nbsp;that to see if anything is missing in your setup.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>