<?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: Peripheral Compatibility and Deep Sleep Functionality</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113586/nrf5340-peripheral-compatibility-and-deep-sleep-functionality</link><description>Hello all, 
 I need to verify that all my peripherals in the nRF5340 will work without issues: 
 
 I am using 3 UARTs, one with hardware control (for LTE module and fingerprint sensor module). 
 BLE serial with encryption. 
 NFC. 
 I2C interfaces. (3</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Aug 2024 03:04:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113586/nrf5340-peripheral-compatibility-and-deep-sleep-functionality" /><item><title>RE: nRF5340: Peripheral Compatibility and Deep Sleep Functionality</title><link>https://devzone.nordicsemi.com/thread/497065?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 03:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58fed6e5-f167-44a7-949b-3bdeaf8f20e8</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;Hi Einar,&lt;br /&gt;&lt;br /&gt;Thanks for your input!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340: Peripheral Compatibility and Deep Sleep Functionality</title><link>https://devzone.nordicsemi.com/thread/496921?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 08:56:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:843f21c4-47c3-4c7e-8c5f-0788bcf69932</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Most pins can be used for any functionality, but there are some special cases. You can see the details under &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/pin.html"&gt;Pin assignments&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340: Peripheral Compatibility and Deep Sleep Functionality</title><link>https://devzone.nordicsemi.com/thread/496875?ContentTypeID=1</link><pubDate>Sat, 03 Aug 2024 03:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c971f1a5-a655-4c7c-8458-24bd28e0863d</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thanks for the reply!&lt;/p&gt;
&lt;p&gt;Thank you for clarifying the deep sleep mode wake-up.&lt;/p&gt;
&lt;p&gt;I just need one more clarification regarding the peripheral pin mapping. I used the nRF5340 DK (PCA10095) schematics available online to map the required peripherals. Is this the correct approach, or are there other options available for pin mapping? How can I ensure that the pin mapping will not cause any issues during integration?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340: Peripheral Compatibility and Deep Sleep Functionality</title><link>https://devzone.nordicsemi.com/thread/496664?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2024 14:57:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc53e8df-72bf-46c1-b731-837de7bdae43</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;strong&gt;Q1:&lt;/strong&gt; Do I need to take care of anything specific regarding the mentioned peripherals?[/quote]
&lt;p&gt;By deep sleep I assume you mean system OFF low power mode? Generally you should clean up, disable resourses, set GPIO pin states, etc before entering system off mode. But other than that, wakeup from system off is in form of a reset (see &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/reset/doc/reset.html#ariaid-title5"&gt;Wakeup from System OFF mode reset&lt;/a&gt;).&lt;/p&gt;
[quote user=""]&lt;strong&gt;Q2:&lt;/strong&gt; For deep sleep wake-up, is it possible to determine which pin caused the &lt;span&gt;wake-up&lt;/span&gt;?&lt;br /&gt;[/quote]
&lt;p&gt;You can ceck the LATCH register to see which pin was asserted (see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39366/wake-up-from-gpio-pin/152466"&gt;this post,&lt;/a&gt; which is also valid for nRF53).&lt;/p&gt;
&lt;p&gt;You have probably found it allready, but there is a sample for waking up from system off from GPIO and another for waking up on NFC:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/boards/nrf/system_off/README.html"&gt;nRF5x System Off demo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/nfc/system_off/README.html"&gt;NFC: System OFF&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>