<?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>Kinetis Microcontrollers中的主题 Re: When is EZPort mode selected during reset on K20?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/When-is-EZPort-mode-selected-during-reset-on-K20/m-p/498026#M31043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Graham Jordan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the boot sequence you find in the manual is valid for all reset modes, except for not waiting for the voltage if reset is not POR (Power On Reset).&lt;/P&gt;&lt;P&gt;The RESET pin is bidirectional and it is driven low internally during any reset for at least 128 bus clock cycles:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37184i011CED85545B1DEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "internal reset" mentioned in step 4 of the boot sequence is the internal Chip Reset but it is highly tied to the RESET pin, so according to the second paragraph in text above there might be 2 scenarios:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; The MCU resets by an internal source (e.g Watchdog) &lt;STRONG&gt;-&amp;gt;&lt;/STRONG&gt; In this case the pin is driven low internally by the MCU for ~128 bus clock cycles and the EZP_CS pin is checked as soon as the pin is released and pulled high by the pull-up resistor. You can inspect the pulse duration with a scope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; The MCU is reset by pulling low the RESET pin externally &lt;STRONG&gt;-&amp;gt;&lt;/STRONG&gt; In this case the pin is also pulled low internally as in case &lt;STRONG&gt;(1)&lt;/STRONG&gt; but it goes unnoticed since typically the external signal holds the pin low much longer. The EZP_CS is checked as soon as the external signal releases the RESET pin (pulled high).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps to clarify. Let me know if you have questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Feb 2016 01:30:50 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2016-02-13T01:30:50Z</dc:date>
    <item>
      <title>When is EZPort mode selected during reset on K20?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/When-is-EZPort-mode-selected-during-reset-on-K20/m-p/498025#M31042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I using K20 (MK20FX512VLQ12 specifically). It is in a system with other processors, with a 'Master' processor that can put the K20 in EZPort mode to reprogram it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I can't see from the documentation is exactly when the \EZP_CS line is checked to determine if is going into EZPort mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the external reset pin is driven low, and then goes high. When is the \EZP_CS checked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see from the reference manual (K20P144M120SF3RM Rev. 3, November 2014):&lt;/P&gt;&lt;P&gt;"The device's functional mode is controlled by the state of the EzPort chip select&lt;/P&gt;&lt;P&gt;(EZP_CS) pin during reset."&lt;/P&gt;&lt;P&gt;In the boot sequence (step 4) it says:&lt;/P&gt;&lt;P&gt;"EzPort mode is selected instead of the normal CPU execution if EZP_CS is low when the internal reset is deasserted."&lt;/P&gt;&lt;P&gt;But this sequence seems to refer to power-up explicitly. As it also indicates it looks at the \RESET pin after this (in step 5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When is 'internal reset' deasserted, relative to power-up, and relative to having \RESET pin driven low and then high externally?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 21:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/When-is-EZPort-mode-selected-during-reset-on-K20/m-p/498025#M31042</guid>
      <dc:creator>grahamjordan</dc:creator>
      <dc:date>2016-02-09T21:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: When is EZPort mode selected during reset on K20?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/When-is-EZPort-mode-selected-during-reset-on-K20/m-p/498026#M31043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Graham Jordan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the boot sequence you find in the manual is valid for all reset modes, except for not waiting for the voltage if reset is not POR (Power On Reset).&lt;/P&gt;&lt;P&gt;The RESET pin is bidirectional and it is driven low internally during any reset for at least 128 bus clock cycles:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37184i011CED85545B1DEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "internal reset" mentioned in step 4 of the boot sequence is the internal Chip Reset but it is highly tied to the RESET pin, so according to the second paragraph in text above there might be 2 scenarios:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; The MCU resets by an internal source (e.g Watchdog) &lt;STRONG&gt;-&amp;gt;&lt;/STRONG&gt; In this case the pin is driven low internally by the MCU for ~128 bus clock cycles and the EZP_CS pin is checked as soon as the pin is released and pulled high by the pull-up resistor. You can inspect the pulse duration with a scope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; The MCU is reset by pulling low the RESET pin externally &lt;STRONG&gt;-&amp;gt;&lt;/STRONG&gt; In this case the pin is also pulled low internally as in case &lt;STRONG&gt;(1)&lt;/STRONG&gt; but it goes unnoticed since typically the external signal holds the pin low much longer. The EZP_CS is checked as soon as the external signal releases the RESET pin (pulled high).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps to clarify. Let me know if you have questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Feb 2016 01:30:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/When-is-EZPort-mode-selected-during-reset-on-K20/m-p/498026#M31043</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-02-13T01:30:50Z</dc:date>
    </item>
  </channel>
</rss>

