<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PCA9451A PWRON_STAT register in Power Management</title>
    <link>https://community.nxp.com/t5/Power-Management/PCA9451A-PWRON-STAT-register/m-p/2162085#M4655</link>
    <description>&lt;P&gt;Hi Primoz,&lt;/P&gt;
&lt;P&gt;Yes, this is expected. The PCA9451A can and does set multiple bits in PWRON_STAT when more than one reset/event happened and the bits are latched until read. Perhaps you can apply a priority rule in software. Example:&lt;/P&gt;
&lt;P&gt;If PWRON set → treat as power-on (power-cycle) boot.&lt;BR /&gt;else if WDOG set → treat as watchdog reset.&lt;BR /&gt;else if SW_RST set → treat as software reset.&lt;BR /&gt;else if PMIC_RST set → treat as PMIC pin reset.&lt;/P&gt;
&lt;P&gt;BRs, Tomas&lt;/P&gt;</description>
    <pubDate>Tue, 02 Sep 2025 10:25:59 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2025-09-02T10:25:59Z</dc:date>
    <item>
      <title>PCA9451A PWRON_STAT register</title>
      <link>https://community.nxp.com/t5/Power-Management/PCA9451A-PWRON-STAT-register/m-p/2161991#M4653</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using i.MX93 SoM with PCA9451A PMIC.&lt;/P&gt;&lt;P&gt;We are reading the PMIC's PWRON_STAT (0x05) register in U-Boot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wooosaiiii_0-1756802701449.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355157iA19E0AC14905DFEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wooosaiiii_0-1756802701449.png" alt="wooosaiiii_0-1756802701449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In case of a reset command or watchdog timeout, the appropriate bits are set!&lt;/P&gt;&lt;P&gt;e.g. U-Boot reset (i2c command sent to PMIC to reset):&amp;nbsp;&lt;/P&gt;&lt;P&gt;bit 5 -&amp;gt; SW_RST&lt;/P&gt;&lt;P&gt;e.g. U-Boot watchdog timeout (simulate with loop 0 0 command):&lt;/P&gt;&lt;P&gt;bit 6 -&amp;gt; WDOG&lt;/P&gt;&lt;P&gt;However, when unplugging/plugging in power, two bits are set in this register.&lt;/P&gt;&lt;P&gt;Read register value &lt;STRONG&gt;0x90&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;bit7&lt;/STRONG&gt; and &lt;STRONG&gt;bit4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;bit 7 ... PWRON (expected)&lt;/P&gt;&lt;P&gt;bit 4 ... PMIC_RST (not expected)&lt;/P&gt;&lt;P&gt;Is this expected?&lt;/P&gt;&lt;P&gt;Are we supposed to read all bits? How to choose then if 2 bits set which reset reason was performed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 08:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/PCA9451A-PWRON-STAT-register/m-p/2161991#M4653</guid>
      <dc:creator>wooosaiiii</dc:creator>
      <dc:date>2025-09-02T08:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: PCA9451A PWRON_STAT register</title>
      <link>https://community.nxp.com/t5/Power-Management/PCA9451A-PWRON-STAT-register/m-p/2162085#M4655</link>
      <description>&lt;P&gt;Hi Primoz,&lt;/P&gt;
&lt;P&gt;Yes, this is expected. The PCA9451A can and does set multiple bits in PWRON_STAT when more than one reset/event happened and the bits are latched until read. Perhaps you can apply a priority rule in software. Example:&lt;/P&gt;
&lt;P&gt;If PWRON set → treat as power-on (power-cycle) boot.&lt;BR /&gt;else if WDOG set → treat as watchdog reset.&lt;BR /&gt;else if SW_RST set → treat as software reset.&lt;BR /&gt;else if PMIC_RST set → treat as PMIC pin reset.&lt;/P&gt;
&lt;P&gt;BRs, Tomas&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 10:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/PCA9451A-PWRON-STAT-register/m-p/2162085#M4655</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2025-09-02T10:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: PCA9451A PWRON_STAT register</title>
      <link>https://community.nxp.com/t5/Power-Management/PCA9451A-PWRON-STAT-register/m-p/2162087#M4656</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;, Thanks for your input.&lt;/P&gt;&lt;P&gt;Can you say bits are already arranged by the order of priority?&lt;/P&gt;&lt;P&gt;BIT7 -&amp;gt; top priority&lt;/P&gt;&lt;P&gt;BIT4 -&amp;gt; lowest priority&lt;/P&gt;&lt;P&gt;I want as generic an implementation as possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 10:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/PCA9451A-PWRON-STAT-register/m-p/2162087#M4656</guid>
      <dc:creator>wooosaiiii</dc:creator>
      <dc:date>2025-09-02T10:31:14Z</dc:date>
    </item>
  </channel>
</rss>

