<?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 configration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109809/nrf52840-usb-configration</link><description>Hi, 
 I try to build below nRF52840 matter cluster with native USB. https://github.com/project-chip/connectedhomeip/tree/v1.2.0.1/examples/lighting-app/nrfconnect 
 I modified board/nrf52840dk_nrf52840.overlay and add below configuration prj.conf. 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Apr 2024 09:37:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109809/nrf52840-usb-configration" /><item><title>RE: nrf52840 usb configration</title><link>https://devzone.nordicsemi.com/thread/476805?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 09:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f452ea7-5e13-4804-9d8f-8f89968ce882</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Can you try to use any of these samples instead?&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/matter.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/matter.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or is there a specific reason to why you use lightning-app specifically?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 usb configration</title><link>https://devzone.nordicsemi.com/thread/476791?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 09:15:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff0192fb-eb76-49a1-a907-b39993fd3c13</guid><dc:creator>MasakMut</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/109809/nrf52840-usb-configration/476736"]Which USB port du you use?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I use nRF52840 USB&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/109809/nrf52840-usb-configration/476736"]How do you know it does not start? What do you observe?[/quote]
&lt;p&gt;When I did not modify prj.conf and nrf52840dk_nrf52840.overlay file,&lt;/p&gt;
&lt;p&gt;LED1 starts blinking in operation.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/project-chip/connectedhomeip/tree/v1.2.0.1/examples/lighting-app/nrfconnect#device-ui"&gt;https://github.com/project-chip/connectedhomeip/tree/v1.2.0.1/examples/lighting-app/nrfconnect#device-ui&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="https://github.com/project-chip/connectedhomeip/blob/v1.2.0.1/examples/lighting-app/nrfconnect/prj.conf"&gt;https://github.com/project-chip/connectedhomeip/blob/v1.2.0.1/examples/lighting-app/nrfconnect/prj.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/project-chip/connectedhomeip/blob/v1.2.0.1/examples/lighting-app/nrfconnect/boards/nrf52840dk_nrf52840.overlay"&gt;https://github.com/project-chip/connectedhomeip/blob/v1.2.0.1/examples/lighting-app/nrfconnect/boards/nrf52840dk_nrf52840.overlay&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I add below settings, LED1 did not start blinking&lt;/p&gt;
&lt;p&gt;I add below setting to prj.conf.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_USB_DEVICE_STACK=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_LOG_BACKEND_UART=n
CONFIG_SHELL_LOG_BACKEND=n
CONFIG_UART_LINE_CTRL=y
CONFIG_USB_CDC_ACM_LOG_LEVEL_OFF=y
CONFIG_LOG_MODE_MINIMAL=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And, I add below setting to nrf52840dk_nrf52840.overlay&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; / {
 	chosen {
 		zephyr,console = &amp;amp;cdc_acm_uart0;
	};
};

&amp;amp;zephyr_udc0 {
	cdc_acm_uart0: cdc_acm_uart0 {
		compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
		label = &amp;quot;CDC_ACM_0&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 usb configration</title><link>https://devzone.nordicsemi.com/thread/476736?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 06:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8300ed85-b1dd-4b27-b3a2-6e7af7cfafb7</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="MasakMut"]if I do not connect&amp;nbsp;nrf52840 to PC via serial terminal, nrf52840 did not start operation.[/quote]
&lt;p&gt;Which USB port du you use?&lt;/p&gt;
&lt;p&gt;How do you know it does not start? What do you observe?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 usb configration</title><link>https://devzone.nordicsemi.com/thread/476713?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 00:11:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5344953d-3159-48a3-bf21-f1a58f5e166a</guid><dc:creator>MasakMut</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I am using nrf connect sdk.&lt;/p&gt;
&lt;p&gt;build error does not occur.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nrf52840 with native USB needs serial terminal connection for boot.&lt;/p&gt;
&lt;p&gt;if I do not connect&amp;nbsp;nrf52840 to PC via serial terminal, nrf52840 did not start operation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 usb configration</title><link>https://devzone.nordicsemi.com/thread/476500?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 09:35:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acd2e49f-7c4d-4140-83f1-6c441542a50f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
[quote user=""]github.com/.../quote]
&lt;p&gt;We recommend using the nRF Connect SDK to work with Matter samples for nRF devices. &lt;br /&gt;Do you get the same error if you do that?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>