<?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 deive CDC ACM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92317/usb-deive-cdc-acm</link><description>My device and Software details are as below 
 nRF52840 DK 
 nRF connect SDK 2.0.2 
 Want to verify USB device role for nRF52840 DK. 
 Found the below example and its documentation 
 samples/subsys/usb/cdc_acm 
 https://developer.nordicsemi.com/nRF_Connect_SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Oct 2022 13:42:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92317/usb-deive-cdc-acm" /><item><title>RE: USB deive CDC ACM</title><link>https://devzone.nordicsemi.com/thread/390285?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 13:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a91a856-727e-43a2-9842-64b17bd6d774</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You can have a look at this example code on how to route the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/zephyr/services/usb/uds_cdc_acm.html#console-over-cdc-acm-uart"&gt;console to USB CDC ACM&lt;/a&gt;. It is possible to define multiple USB CDC ACM&amp;nbsp;instances, see the example code in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/nrf/samples/zigbee/ncp/README.html#communication-through-usb"&gt;Zigbee NCP: Communication through USB&lt;/a&gt;&amp;nbsp;documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB deive CDC ACM</title><link>https://devzone.nordicsemi.com/thread/390219?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 09:52:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bc78892-cdb1-4823-9027-f794f3d76595</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;We are using nRF52840 DK board to program Target board. Interface is SWDIO lines.&lt;br /&gt;Connecting nRF52840 DK to PC and tapping SWDIO line to Target board (nRF52840).&lt;br /&gt;Also as mentioned you before is there any sample application to understand routing the logs through UART.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Our end use case is to enable USB interface in device mode that connects to Host PC/ Printer.&lt;br /&gt;Is there any sample code to enable USB Log mode and root logs to USB port.&lt;br /&gt;in addition to USB, we need to enable UART port also for Host PC interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB deive CDC ACM</title><link>https://devzone.nordicsemi.com/thread/388284?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 08:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deda47b5-7ef4-450d-82d8-3015a3654abe</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, if you include the required Kconfigs in your projects &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/samples/subsys/usb/cdc_acm/prj.conf#L2-L3"&gt;prj.conf file&lt;/a&gt;, the driver/stack will be included automatically.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB deive CDC ACM</title><link>https://devzone.nordicsemi.com/thread/388250?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 05:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:904037ba-0a71-4797-8af5-196958f832db</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;Thank you for the information.&lt;/p&gt;
&lt;p&gt;As I siad we want to use USB CDC as part of&amp;nbsp;our application. So my question is if we use sample application driver is included automatically, but when we merge our USB CDC, BLE into one application how we need to include driver(steps to include driver) as part of our application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB deive CDC ACM</title><link>https://devzone.nordicsemi.com/thread/388188?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 15:03:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72441b17-221c-4d7a-aca6-28c695505cde</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Srikara"]one more thing is one USB port is used as power and other USB is enumerated as com port which is&amp;nbsp;com6 here. When I am using JLINK(RTT) for debugging i am using with USB, in future project this USB power lines will be used for power but from external source instead of laptop. That time how can I debug.[/quote]
&lt;p&gt;One of the USB ports (J2) is connected to the interface MCU (debug chip) on the DK, while the other USB port (J3 - NRF_USB) is connected directly to the nRF52840 chip. Both can be used to power the nRF52840 chip on the DK, depending on the setting of SW9 (nRF power source). If you want to debug the application over SWD/RTT without connecting the DK to a PC, you need to connect an external debugger chip to the debug in port (P18) or the SWDIO/SWDCLK pins of the debug pin header (P20).&lt;/p&gt;
&lt;p&gt;If you do not have an external debugger, it is also possible to send debug strings over UART from the chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB deive CDC ACM</title><link>https://devzone.nordicsemi.com/thread/388036?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 06:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b75aab5f-bbef-40ba-b4f0-5cb66e2b92c6</guid><dc:creator>Srikara</dc:creator><description>&lt;p&gt;Thanks for the information. When I connected the board it is connected as COM6 and when I type the data i can see the data. For e.x: if I type letter &amp;#39;a&amp;#39; i can see letter a. I think this is the expected behavior.&lt;br /&gt;&lt;br /&gt;one more thing is one USB port is used as power and other USB is enumerated as com port which is&amp;nbsp;com6 here. When I am using JLINK(RTT) for debugging i am using with USB, in future project this USB power lines will be used for power but from external source instead of laptop. That time how can I debug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB deive CDC ACM</title><link>https://devzone.nordicsemi.com/thread/387957?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 13:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59f7ccac-4ce2-4192-8d20-77604e0ff8a4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The driver will be included automatically by the build system if you build the sample for a board that has a valid USB device driver available, for instance the nrf52840dk_nrf52840 target.&amp;nbsp;&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>