<?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>nRF5340: Does the USB CDC-ACM example use one of the shared peripherals?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121610/nrf5340-does-the-usb-cdc-acm-example-use-one-of-the-shared-peripherals</link><description>We are using the nRF5340 and our use case makes full use of all 4 shared peripherals for SPI and TWI as well as SPIM4. We want to add UART over USB and I was able to port over the CDC-ACM example without much issue and noticed that it was not declaring</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 May 2025 12:20:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121610/nrf5340-does-the-usb-cdc-acm-example-use-one-of-the-shared-peripherals" /><item><title>RE: nRF5340: Does the USB CDC-ACM example use one of the shared peripherals?</title><link>https://devzone.nordicsemi.com/thread/536196?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 12:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e96ae09a-6715-4824-a432-089f61c5063e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;No, the USB doesn&amp;#39;t have any shared peripheral resources with the other peripherals, like SPI and TWI does.&amp;nbsp;&lt;/p&gt;
[quote user=""]My understanding is that the CDC-ACM example utilizes the USBD peripheral instead of a UARTE and thus should work without conflict to any of our existing peripherals[/quote]
&lt;p&gt;Your understanding is correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can refer to this table:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/memory/appmem.html#ariaid-title3"&gt;https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/memory/appmem.html#ariaid-title3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Peripherals with a shared address share the peripheral resources, and cannot be used simultaneously. As you can see, SPIM0 , SPIS0, TWIM0, TWIS0 all share address 0x50008000.&lt;/p&gt;
&lt;p&gt;USBD is the only peripheral on address 0x50036000.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>