<?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: LPUART KL17 and target reset</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-KL17-and-target-reset/m-p/706320#M43341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben Griffiths,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please tell me the full name of your KL17, because KL17 have two different silicon type:up 128K flash and below 64K flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Different KL17 silicon type is different.&lt;/P&gt;&lt;P&gt;So, please tell me the part number at first, I am afraid you are using the wrong reference manual, then control the wrong register or pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Mon, 28 Aug 2017 07:06:14 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-08-28T07:06:14Z</dc:date>
    <item>
      <title>LPUART KL17 and target reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-KL17-and-target-reset/m-p/706319#M43340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm usign a 32-pin QFN part I'm trying to change the LPUART1 from using PTE0 (TX) and PTE1 (RX) to using PTC3 (RX) and PTC4 (TX) (and re-allocating PTE0 &amp;amp; PTE1 as GPIO lines).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I change the code, my target devices keeps resetting. I'm fairly certain it's a software issue rather than a hardware issue. When I change which lines I'm using for the LPUART is there anything else I need to change? (Or am I doing anything daft in my code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Old Code Which Works&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; PORT_SetPinMux(PORTC, PIN3_IDX, kPORT_MuxAsGpio);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; PORTC-&amp;gt;PCR[3] = ((PORTC-&amp;gt;PCR[3] &amp;amp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (~(PORT_PCR_SRE_MASK | PORT_PCR_ISF_MASK)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | PORT_PCR_SRE(PCR_SRE_SLOW)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; );&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; PORT_SetPinMux(PORTC, PIN4_IDX, kPORT_MuxAsGpio);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; PORTC-&amp;gt;PCR[4] = ((PORTC-&amp;gt;PCR[4] &amp;amp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (~(PORT_PCR_SRE_MASK | PORT_PCR_ISF_MASK)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | PORT_PCR_SRE(PCR_SRE_SLOW) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; PORT_SetPinMux(PORTE, PIN0_IDX, kPORT_MuxAlt3);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; PORTE-&amp;gt;PCR[0] = ((PORTE-&amp;gt;PCR[0] &amp;amp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (~(PORT_PCR_PE_MASK | PORT_PCR_ISF_MASK)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | PORT_PCR_PE(PCR_PE_ENABLED) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; );&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier,monospace;"&gt;&amp;nbsp; PORT_SetPinMux(PORTE, PIN1_IDX, kPORT_MuxAlt3);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;New Code which causes target to keep resetting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt; // Pin 1 - PTE0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; PORT_SetPinMux(PORTE, PIN0_IDX, kPORT_MuxAsGpio);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; PORTE-&amp;gt;PCR[0] = ((PORTE-&amp;gt;PCR[0] &amp;amp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (~(PORT_PCR_SRE_MASK | PORT_PCR_ISF_MASK)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | PORT_PCR_SRE(PCR_SRE_SLOW)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; // Pin 2 - PTE1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; PORT_SetPinMux(PORTE, PIN1_IDX, kPORT_MuxAsGpio);&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; PORTE-&amp;gt;PCR[1] = ((PORTE-&amp;gt;PCR[1] &amp;amp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (~(PORT_PCR_SRE_MASK | PORT_PCR_ISF_MASK)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | PORT_PCR_SRE(PCR_SRE_SLOW)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; // Pin 24 - PTC3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; PORT_SetPinMux(PORTC, PIN3_IDX, kPORT_MuxAlt3);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; // Pin 25 - PTC4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; PORT_SetPinMux(PORTC, PIN4_IDX, kPORT_MuxAlt3);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; PORTC-&amp;gt;PCR[4] = ((PORTC-&amp;gt;PCR[4] &amp;amp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (~(PORT_PCR_PE_MASK | PORT_PCR_ISF_MASK)))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | PORT_PCR_PE(PCR_PE_ENABLED)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #0000ff;"&gt;&amp;nbsp; );&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 14:20:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-KL17-and-target-reset/m-p/706319#M43340</guid>
      <dc:creator>beng_</dc:creator>
      <dc:date>2017-08-24T14:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART KL17 and target reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-KL17-and-target-reset/m-p/706320#M43341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben Griffiths,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please tell me the full name of your KL17, because KL17 have two different silicon type:up 128K flash and below 64K flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Different KL17 silicon type is different.&lt;/P&gt;&lt;P&gt;So, please tell me the part number at first, I am afraid you are using the wrong reference manual, then control the wrong register or pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Mon, 28 Aug 2017 07:06:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-KL17-and-target-reset/m-p/706320#M43341</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-28T07:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART KL17 and target reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-KL17-and-target-reset/m-p/706321#M43342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've resolved this issue, there has a define hidden deep within my code that I hadn't changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 14:38:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/LPUART-KL17-and-target-reset/m-p/706321#M43342</guid>
      <dc:creator>beng_</dc:creator>
      <dc:date>2017-08-29T14:38:59Z</dc:date>
    </item>
  </channel>
</rss>

