<?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>Custom NRF52840 USB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125314/custom-nrf52840-usb</link><description>Hello, 
 I am developing a product with the nrf52840 + npm1100 for battery management. I added a usb connection for serial communication, connected as suggested by the reference design of the npm1100 ( https://docs.nordicsemi.com/bundle/nwp_040/page/WP</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Nov 2025 08:15:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125314/custom-nrf52840-usb" /><item><title>RE: Custom NRF52840 USB</title><link>https://devzone.nordicsemi.com/thread/553116?ContentTypeID=1</link><pubDate>Mon, 03 Nov 2025 08:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69c72f0c-c44e-492e-a884-a68f056fafdf</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I took the subsys/usb/testusb sample, and compiled it with the &amp;quot;npm1100_ek&amp;quot; shield:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf52840dk/nrf52840 -- -DSHIELD=npm1100_ek&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Alternative is to do this in vscode:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1762157672877v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This shall compile out-of-the-box without any errors.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I added a usb connection for serial communication, connected as suggested by the reference design of the npm1100[/quote]
&lt;p&gt;Can you share exactly what you added/changed?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>