<?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: When is &amp;quot;AOREG1&amp;quot; (Reset Cause) reset on LPC55S28? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1841696#M55818</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Regarding the AOREG1 register, as the section 13.4.13, the AOREG1 register is " managed and updated by the ROM Boot Code.",after each reset, the boot code is re-executed, the&amp;nbsp; AOREG1 register is updated once based on different Reset source.&lt;/P&gt;
&lt;P&gt;The waking up from deep power down will reset the processor and the processor will re-execute the Boot code and update the AOREG1 register.&lt;/P&gt;
&lt;P&gt;The Watch Dog reset will reset the processor and the processor will re-execute the Boot code and update the AOREG1 register.&lt;/P&gt;
&lt;P&gt;The System Reset" (SYSTEMRESET) or a "Pin Reset" (PADRESET) will reset the processor and&amp;nbsp;the processor will re-execute the Boot code and update the AOREG1 register.&lt;/P&gt;
&lt;P&gt;The PoR, Brown Out Detectors Reset will reset the processor and the processor will re-execute the Boot code and update the AOREG1 register. The POR means that the&amp;nbsp; power-up process will generate the POR reset. The Brown Out Detectors Reset means that when the VBAT_DCDC voltage is less than a threshold voltage, it generate BOD interrupt or reset, but your firmware has to be configured to generate BOD reset.&lt;/P&gt;
&lt;P&gt;I copy it from UM11126.pdf&lt;/P&gt;
&lt;P&gt;4.6.4 Brown-out detection&lt;BR /&gt;This device includes one Brown-out detector to monitor the voltage of VBAT. If the voltage&lt;BR /&gt;falls below one of the selected voltages, see Section 13.4.6 “VBAT Brown Out Detector&lt;BR /&gt;(BoD) control register” the BOD asserts an interrupt to the NVIC or issues a reset, see&lt;BR /&gt;Section 13.4.1 “Power Management Controller FSM (Finite State Machines) status&lt;BR /&gt;(STATUS)”.&lt;BR /&gt;The interrupt signal can be enabled for interrupt in the interrupt enable register in the&lt;BR /&gt;NVIC, see Table 8 to cause a CPU interrupt; if not, software can monitor the signal by&lt;BR /&gt;reading a dedicated status register.&lt;BR /&gt;If the BOD interrupt is enabled, the BOD interrupt can wake up the chip from a reduced&lt;BR /&gt;power mode, not including power-down and deep power-down. See Chapter 14&lt;BR /&gt;“LPC55S6x/LPC55S2x/LPC552x Power Profiles/Power Control API”.&lt;BR /&gt;If the BOD reset is enabled, the forced BOD reset can wake up the chip from reduced&lt;BR /&gt;power modes, not including power-down and deep power-down.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I copy it from UM11126.pdf&lt;/P&gt;
&lt;P&gt;13.4.13 General purpose always on domain data storage&lt;BR /&gt;This register is managed and updated by the ROM Boot Code. It gathers some important&lt;BR /&gt;System Status information like the last System reset cause and the number of fatal errors&lt;BR /&gt;that occurred during the ROM boot. Though it is readable and writable, it can not be&lt;BR /&gt;modified by any application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
    <pubDate>Sun, 07 Apr 2024 06:07:10 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2024-04-07T06:07:10Z</dc:date>
    <item>
      <title>When is "AOREG1" (Reset Cause) reset on LPC55S28?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1840461#M55814</link>
      <description>&lt;P&gt;Lately, my team has run into some issues where multiple bits are set in the AOREG1 register.&lt;/P&gt;&lt;P&gt;We've managed to reproduce the problem.&lt;/P&gt;&lt;P&gt;If the controller wakes up from deep power down, bit DPDRESET_WAKEUPIO is set. Then, if we trigger a Watch Dog reset, after reboot both bits DPDRESET_WAKEUPIO and WDTRESET are set.&lt;/P&gt;&lt;P&gt;On the other hand, if we force a "System Reset" (SYSTEMRESET) or a "Pin Reset" (PADRESET) and then trigger a Watch Dog reset afterwards, only the Watch Dog bit (WDTRESET) is set.&lt;/P&gt;&lt;P&gt;The User Manual (UM1126) states that the register is "Reset by: PoR, Brown Out Detectors Reset".&lt;/P&gt;&lt;P&gt;Can you please elaborate on these details?&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="LPC552x-S2x" id="LPC552x-S2x"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 07:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1840461#M55814</guid>
      <dc:creator>JacobBerggreen</dc:creator>
      <dc:date>2024-04-04T07:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: When is "AOREG1" (Reset Cause) reset on LPC55S28?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1841696#M55818</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Regarding the AOREG1 register, as the section 13.4.13, the AOREG1 register is " managed and updated by the ROM Boot Code.",after each reset, the boot code is re-executed, the&amp;nbsp; AOREG1 register is updated once based on different Reset source.&lt;/P&gt;
&lt;P&gt;The waking up from deep power down will reset the processor and the processor will re-execute the Boot code and update the AOREG1 register.&lt;/P&gt;
&lt;P&gt;The Watch Dog reset will reset the processor and the processor will re-execute the Boot code and update the AOREG1 register.&lt;/P&gt;
&lt;P&gt;The System Reset" (SYSTEMRESET) or a "Pin Reset" (PADRESET) will reset the processor and&amp;nbsp;the processor will re-execute the Boot code and update the AOREG1 register.&lt;/P&gt;
&lt;P&gt;The PoR, Brown Out Detectors Reset will reset the processor and the processor will re-execute the Boot code and update the AOREG1 register. The POR means that the&amp;nbsp; power-up process will generate the POR reset. The Brown Out Detectors Reset means that when the VBAT_DCDC voltage is less than a threshold voltage, it generate BOD interrupt or reset, but your firmware has to be configured to generate BOD reset.&lt;/P&gt;
&lt;P&gt;I copy it from UM11126.pdf&lt;/P&gt;
&lt;P&gt;4.6.4 Brown-out detection&lt;BR /&gt;This device includes one Brown-out detector to monitor the voltage of VBAT. If the voltage&lt;BR /&gt;falls below one of the selected voltages, see Section 13.4.6 “VBAT Brown Out Detector&lt;BR /&gt;(BoD) control register” the BOD asserts an interrupt to the NVIC or issues a reset, see&lt;BR /&gt;Section 13.4.1 “Power Management Controller FSM (Finite State Machines) status&lt;BR /&gt;(STATUS)”.&lt;BR /&gt;The interrupt signal can be enabled for interrupt in the interrupt enable register in the&lt;BR /&gt;NVIC, see Table 8 to cause a CPU interrupt; if not, software can monitor the signal by&lt;BR /&gt;reading a dedicated status register.&lt;BR /&gt;If the BOD interrupt is enabled, the BOD interrupt can wake up the chip from a reduced&lt;BR /&gt;power mode, not including power-down and deep power-down. See Chapter 14&lt;BR /&gt;“LPC55S6x/LPC55S2x/LPC552x Power Profiles/Power Control API”.&lt;BR /&gt;If the BOD reset is enabled, the forced BOD reset can wake up the chip from reduced&lt;BR /&gt;power modes, not including power-down and deep power-down.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I copy it from UM11126.pdf&lt;/P&gt;
&lt;P&gt;13.4.13 General purpose always on domain data storage&lt;BR /&gt;This register is managed and updated by the ROM Boot Code. It gathers some important&lt;BR /&gt;System Status information like the last System reset cause and the number of fatal errors&lt;BR /&gt;that occurred during the ROM boot. Though it is readable and writable, it can not be&lt;BR /&gt;modified by any application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2024 06:07:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1841696#M55818</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-04-07T06:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: When is "AOREG1" (Reset Cause) reset on LPC55S28?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1842158#M55819</link>
      <description>&lt;P&gt;Hello XiangJun Rong&lt;/P&gt;&lt;P&gt;Thank you for your answer. Unfortunately, it does not help us.&lt;/P&gt;&lt;P&gt;According to what you state, a Watch Dog reset should execute the Boot code and reset the register. But this is not always what we see.&lt;/P&gt;&lt;P&gt;As stated in my original post, if the DPDRESET_WAKEUPIO bit is set, then a Watch Dog reset will not reset the register (DPDRESET_WAKEUPIO bit is still set after Watch Dog reset).&lt;/P&gt;&lt;P&gt;Please let me know if you need further information.&lt;/P&gt;&lt;P&gt;Regards, Jacob&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 07:35:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1842158#M55819</guid>
      <dc:creator>JacobBerggreen</dc:creator>
      <dc:date>2024-04-08T07:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: When is "AOREG1" (Reset Cause) reset on LPC55S28?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1842764#M55827</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I see that you have observed that both DPDRESET_WAKEUPIO bit and WDTRESET bit in the AOREG1 register after watchdog resets. I have discussed with the other engineer, we thick it is possible, all the bits in the AOREG1 register are set by software in boot code, so it is possible that the DPDRESET_WAKEUPIO bit is not cleared after watchdog reset event is detected.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 02:03:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1842764#M55827</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-04-09T02:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: When is "AOREG1" (Reset Cause) reset on LPC55S28?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1843072#M55831</link>
      <description>&lt;P&gt;Hello XiangJun Rong&lt;/P&gt;&lt;P&gt;Can you please confirm that the documentation (UM1126) is incorrect? If so, can you please supply correct information on when this register is actually reset?&lt;/P&gt;&lt;P&gt;Jacob&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 09:19:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/When-is-quot-AOREG1-quot-Reset-Cause-reset-on-LPC55S28/m-p/1843072#M55831</guid>
      <dc:creator>JacobBerggreen</dc:creator>
      <dc:date>2024-04-09T09:19:30Z</dc:date>
    </item>
  </channel>
</rss>

