<?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>MPC5xxx中的主题 Re: How to read PORST pin status</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-PORST-pin-status/m-p/1028091#M15406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;1. Can you please explain me the behavior of MCU when the PORST line high/low.&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;High - MCU is powered and operating (staring from reset phase0)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95205iC3096F54B5CC09D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Low - MCU does not have supply. (unpowered)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;2. Can we set the configuration to do not perform MCU reset when there is PORST is active.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, for 'Functional' Bidirectional Reset you can set.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;3. If we configure it to do not perform a reset, when the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;RGM[DES] POR status will be 0x01/0x00.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;makes no sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;4. If the&amp;nbsp;&lt;SPAN&gt;RGM[DES] POR is 0x01, when it will be cleared. So that I can start running application.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;It doesn't matter. You clear it after power on reset, so on next reset event you will know if it was power on reset or any other kind of reset.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;In my project, PORST line is connected to a +5V_SW line. So, when the PORST is active I need to keep the MCU in safe mode and when it is released I will start init and run application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As per this, I should keep the system in safe state until the PORST line is released/OK.&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Why would you do it this way? MCU is in safe state if it is in reset state. So just hold externally reset on micro.&lt;/P&gt;&lt;P&gt;Furthermore, after exit from reset, you device will provide necessary initialization to reach state considered as safe state.&lt;/P&gt;&lt;P&gt;After that you can start execution of your safety related tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Dec 2019 08:55:03 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2019-12-04T08:55:03Z</dc:date>
    <item>
      <title>How to read PORST pin status</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-PORST-pin-status/m-p/1028088#M15403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXP.&lt;/P&gt;&lt;P&gt;Very Good morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a automotive project using MPC5746C&amp;nbsp;MCU. There is a requirement like, I need to read the &lt;STRONG&gt;PORST&lt;/STRONG&gt; pin on system power ON and while running in BOOT and main application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We&amp;nbsp;want to always read the &lt;STRONG&gt;PORST&lt;/STRONG&gt; pin and needs to perform some operations in my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, It is not mentioned like a general purpose IO pin. Can you please suggest me a method to read such pins status ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expecting an earlier response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayasankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 01:50:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-read-PORST-pin-status/m-p/1028088#M15403</guid>
      <dc:creator>jayasankar_band</dc:creator>
      <dc:date>2019-11-25T01:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to read PORST pin status</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-PORST-pin-status/m-p/1028089#M15404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You are right this pin is not GPIO.&lt;/P&gt;&lt;P&gt;You can use ADC to read its level, once ADC is configured. But I see no benefit here as when the Power on reset is triggered the device is reset anyway and you will loose its monitoring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second you can read POR_LV flag of PMC[SGSR] register.&lt;/P&gt;&lt;P&gt;01: Indicates that a POR event had occured in the past after the time instance when.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or the RGM[DES] POR flag which indicates power on reset event in order to do branching in your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 12:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-read-PORST-pin-status/m-p/1028089#M15404</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2019-11-26T12:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to read PORST pin status</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-PORST-pin-status/m-p/1028090#M15405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;I have few doubts regarding POSRT line with respect to my project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my project, PORST line is connected to a +5V_SW line. So, when the PORST is active I need to keep the MCU in safe mode and when it is released I will start init and run application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per this, I should keep the system in safe state until the PORST line is released/OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Can you please explain me the behavior of MCU when the PORST line high/low.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Can we set the configuration to do not perform MCU reset when there is PORST is active.&lt;/P&gt;&lt;P&gt;3. If we configure it to do not perform a reset, when the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;RGM[DES] POR status will be 0x01/0x00.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;4. If the&amp;nbsp;&lt;SPAN&gt;RGM[DES] POR is 0x01, when it will be cleared. So that I can start running application.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Can you please clarify these points.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 05:42:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-read-PORST-pin-status/m-p/1028090#M15405</guid>
      <dc:creator>jayasankar_band</dc:creator>
      <dc:date>2019-12-04T05:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to read PORST pin status</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-PORST-pin-status/m-p/1028091#M15406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;1. Can you please explain me the behavior of MCU when the PORST line high/low.&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;High - MCU is powered and operating (staring from reset phase0)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95205iC3096F54B5CC09D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Low - MCU does not have supply. (unpowered)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;2. Can we set the configuration to do not perform MCU reset when there is PORST is active.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, for 'Functional' Bidirectional Reset you can set.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;3. If we configure it to do not perform a reset, when the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;RGM[DES] POR status will be 0x01/0x00.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;makes no sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;4. If the&amp;nbsp;&lt;SPAN&gt;RGM[DES] POR is 0x01, when it will be cleared. So that I can start running application.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;It doesn't matter. You clear it after power on reset, so on next reset event you will know if it was power on reset or any other kind of reset.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;In my project, PORST line is connected to a +5V_SW line. So, when the PORST is active I need to keep the MCU in safe mode and when it is released I will start init and run application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As per this, I should keep the system in safe state until the PORST line is released/OK.&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Why would you do it this way? MCU is in safe state if it is in reset state. So just hold externally reset on micro.&lt;/P&gt;&lt;P&gt;Furthermore, after exit from reset, you device will provide necessary initialization to reach state considered as safe state.&lt;/P&gt;&lt;P&gt;After that you can start execution of your safety related tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 08:55:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-read-PORST-pin-status/m-p/1028091#M15406</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2019-12-04T08:55:03Z</dc:date>
    </item>
  </channel>
</rss>

