<?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>Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120702/peripheral-initialization-issue-after-wake-up-from-deep-sleep-nrf5340</link><description>Hi i am facing the issue with initializing the peripherals when the device is wake up from the deep sleep this are the logs i am getting after wake up this taking to log to initialize and readding is getting error with out providing any delay it taking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Apr 2025 07:16:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120702/peripheral-initialization-issue-after-wake-up-from-deep-sleep-nrf5340" /><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/533127?ContentTypeID=1</link><pubDate>Mon, 28 Apr 2025 07:16:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56ac5863-d873-40e2-9b00-470bc2991419</guid><dc:creator>Vidar Berg</dc:creator><description>[quote userid="134301" url="~/f/nordic-q-a/120702/peripheral-initialization-issue-after-wake-up-from-deep-sleep-nrf5340/532954"]&lt;br /&gt;Have you tried to probe the bus lines with a logic analyzer or scope?&lt;br /&gt;I have not tried this option.[/quote]
&lt;p&gt;Please try this if possible. This will provide us with more clues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/532954?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 06:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c30217d-ce79-47a4-8a80-323df13651ab</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;&lt;span&gt;What does &amp;quot;EEPROM Init successful&amp;quot; indicate? Were there any successful I2C transactions with the EEPROM prior to the write and read failure?&lt;br /&gt;&lt;br /&gt;i am checking this&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;if&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;(!&lt;/span&gt;&lt;span&gt;device_is_ready&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;i2c_dev&lt;/span&gt;&lt;span&gt;))&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;return&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;AT24CM02_ERR_INIT&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How are sensors powered? Are they connected directly to VDD?&lt;br /&gt;it connect to VDD same as controller.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Have you tried to probe the bus lines with a logic analyzer or scope?&lt;br /&gt;I have not tried this option.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/532953?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 05:50:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:305aed82-7d26-438d-943f-f9edf3dbf2a1</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Vidar Berg,&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Sorry, while programming the device is working fine when the device is wake up from the System off mode, i am getting issue with writing and reading to the EEPROM and some I2C connected peripherals.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;i want to know like do i need to take care of them before putting to the sleep or need to do some thing when the device is wake up from the system off mode.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/532951?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 05:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddeab6d1-338c-41d3-99ef-dfc526f7985e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sorry, but you&amp;#39;re only partially answering my questions and not providing enough information for me to work with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/532949?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 05:33:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84fd5f0c-b5ab-4dac-bb9a-f7805e211241</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;&lt;span&gt;What does &amp;quot;EEPROM Init successful&amp;quot; indicate? Were there any successful I2C transactions with the EEPROM prior to the write and read failure?&lt;br /&gt;&lt;/span&gt;i am checking i2C is ready or not&lt;br /&gt;&lt;br /&gt;&lt;span&gt;How are sensors powered? Are they connected directly to VDD?&lt;/span&gt;&lt;br /&gt;yes&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Have you tried to probe the bus lines with a logic analyzer or scope?&lt;/span&gt;&lt;br /&gt;no&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/532943?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 05:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68a906d7-227b-4706-aa3e-bcede327fd6c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;What does &amp;quot;EEPROM Init successful&amp;quot; indicate? Were there any successful I2C transactions with the EEPROM prior to the write and read failure?&lt;/p&gt;
[quote userid="134301" url="~/f/nordic-q-a/120702/peripheral-initialization-issue-after-wake-up-from-deep-sleep-nrf5340/532934"]Do the sensors remain powered on in System OFF?&lt;br /&gt;&lt;br /&gt;yes[/quote]
&lt;p&gt;How are sensors powered? Are they connected directly to VDD?&lt;/p&gt;
[quote userid="134301" url="~/f/nordic-q-a/120702/peripheral-initialization-issue-after-wake-up-from-deep-sleep-nrf5340/532934"]This are those error that i am getting[/quote]
&lt;p&gt;Have you tried to probe the bus lines with a logic analyzer or scope?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/532934?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 03:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0605ae15-5ca3-4ffa-ae28-99c280a76fce</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;Hi Vidar Berg&lt;br /&gt;Good day!&lt;br /&gt;&lt;br /&gt;&lt;span&gt;I don&amp;#39;t see any references to this driver in the SDK. Is this your own implementation, or is the source code available somewhere?&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;#define AT24CM02_ERR_WRITE -3&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define AT24CM02_ERR_READ &amp;nbsp;-4&lt;br /&gt;&lt;br /&gt;This are those error that i am getting&lt;br /&gt;&lt;br /&gt;Do the sensors remain powered on in System OFF?&lt;br /&gt;&lt;br /&gt;yes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/532794?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 11:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcee1d98-58bc-405a-8884-47491e10d5a0</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="REDHAT"][00:00:01.050,964] &amp;lt;err&amp;gt; Eeprom: EEPROM Read Error at address_fp_one: -4[/quote]
&lt;p&gt;I don&amp;#39;t see any references to this driver in the SDK. Is this your own implementation, or is the source code available somewhere?&lt;/p&gt;
[quote user="REDHAT"]I&amp;#39;m not getting any I2C initialization error, but the I2C-connected peripheral is not functioning properly after wake-up.[/quote]
&lt;p&gt;Do the sensors remain powered on in System OFF?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/532201?ContentTypeID=1</link><pubDate>Mon, 21 Apr 2025 04:32:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de255ddf-a3f2-4468-b082-7844265c4882</guid><dc:creator>REDHAT</dc:creator><description>&lt;p class="" data-start="130" data-end="153"&gt;Hi Asbj&amp;oslash;rn,&lt;br data-start="141" data-end="144" /&gt; Good day!&lt;/p&gt;
&lt;p class="" data-start="155" data-end="316"&gt;We&amp;rsquo;re in a bit of a hurry and really need to resolve this issue as soon as possible. We&amp;#39;re counting on your support and would greatly appreciate your assistance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/532199?ContentTypeID=1</link><pubDate>Mon, 21 Apr 2025 04:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cea96977-7cf2-480c-af30-afd8881a17ee</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Asbj&amp;oslash;rn,&lt;br /&gt;&lt;br /&gt;Good day!&lt;br /&gt;&lt;br /&gt;Kindly provide some inputs on this !!!!!!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/531846?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2025 12:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52dc02d7-616e-40f6-9783-a6a960307865</guid><dc:creator>REDHAT</dc:creator><description>&lt;p&gt;Now it&amp;#39;s not taking 10 seconds after wake-up from the System OFF mode, but there&amp;#39;s an issue with I2C.&lt;/p&gt;
&lt;p&gt;1) I&amp;#39;m not getting any I2C initialization error, but the I2C-connected peripheral is not functioning properly after wake-up.&lt;/p&gt;
&lt;p&gt;First, I&amp;#39;m letting some peripherals initialize, and after that, I&amp;#39;m trying to read the EEPROM. This is the error I&amp;#39;m getting:&lt;/p&gt;
&lt;p&gt;[00:00:01.050,964] &amp;lt;err&amp;gt; Eeprom: EEPROM Read Error at address_fp_one: -4&lt;/p&gt;
&lt;p&gt;Also, some I2C peripherals are not working properly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripheral Initialization Issue After Wake-Up from Deep Sleep (nRF5340)</title><link>https://devzone.nordicsemi.com/thread/531828?ContentTypeID=1</link><pubDate>Tue, 15 Apr 2025 11:54:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dc160d3-b1a7-49fe-83fb-6490c7e28577</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Pavan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From the log you attached it seems there&amp;#39;s a 10 second delay in the EEPROM related functionality after coming out of deep sleep.&lt;/p&gt;
&lt;p&gt;[00:00:00.568,084] &amp;lt;inf&amp;gt; main: EEPROM Init successful&lt;br /&gt;[00:00:11.108,367] &amp;lt;inf&amp;gt; main: XXXX: 120&lt;br /&gt;[00:00:11.608,642] &amp;lt;inf&amp;gt; main: XXXXX: 60&lt;br /&gt;[00:00:12.111,267] &amp;lt;inf&amp;gt; main: XXXXX: 20&lt;br /&gt;[00:00:14.117,095] &amp;lt;inf&amp;gt; main: XXXXX: 0 | XXXXXX: 0 | XXXXX: 0 | XXXXX: 0&lt;br /&gt;[00:00:24.145,904] &amp;lt;err&amp;gt; main: Failed to read XXXXXXXX from EEPROM&lt;br /&gt;--- 11 messages dropped ---&lt;br /&gt;[00:00:25.149,047] &amp;lt;inf&amp;gt; main: xxxxx: 10&lt;/p&gt;
&lt;p&gt;What is running from EEPROM and what happen if you for the test skip using the EEPROM functionality, does the nRF5340 still take 10 seconds to wake up?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Asbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>