<?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 UART0 not working with KE06 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART0-not-working-with-KE06/m-p/397555#M21941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Freescale Kinetics KE06 MCU for my project.&lt;/P&gt;&lt;P&gt;Most of the things on the MCU are up and working such as CAN, UART1 and UART2 but the UART0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuration for UART0 is expected to be identical to UART1 and UART2 but i am really stuck with UART0.&lt;/P&gt;&lt;P&gt;UART1 and UART2 are working perfectly on 19200 bps with break field enabled (for LIN) with using default MCU pins.&lt;/P&gt;&lt;P&gt;The only difference for UART0 compared to other UARTs configuration is - PIN assignment from default (PTB0-PTB1) to PTA2 and PTA3.&lt;/P&gt;&lt;P&gt;For the UART0 pin reassignment from PTB0/PTB1 to PTA2/PTA3, other than UART configurations i had additionally did -&lt;/P&gt;&lt;P&gt;SIM-&amp;gt;PINSEL |= SIM_PINSEL_UART0PS_MASK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even with above additional configuration UART0 doesn't work, either on FRDM evaluation board or my final/production hardware which uses only KE06 MCU (not K20/IRDA/Accel sensor etc as Eval board).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more explanation on doesn't work - i am able to receive what i am sending using loopback mode but when i connect my actual device which is expected to receive/tx data over UART0, doesn't receive anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know if i am missing something.&lt;/P&gt;&lt;P&gt;Do i need to do additional setting for PIN reassignment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if i am clear with my question.&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, 26 May 2015 19:38:53 GMT</pubDate>
    <dc:creator>newke06user</dc:creator>
    <dc:date>2015-05-26T19:38:53Z</dc:date>
    <item>
      <title>UART0 not working with KE06</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART0-not-working-with-KE06/m-p/397555#M21941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Freescale Kinetics KE06 MCU for my project.&lt;/P&gt;&lt;P&gt;Most of the things on the MCU are up and working such as CAN, UART1 and UART2 but the UART0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuration for UART0 is expected to be identical to UART1 and UART2 but i am really stuck with UART0.&lt;/P&gt;&lt;P&gt;UART1 and UART2 are working perfectly on 19200 bps with break field enabled (for LIN) with using default MCU pins.&lt;/P&gt;&lt;P&gt;The only difference for UART0 compared to other UARTs configuration is - PIN assignment from default (PTB0-PTB1) to PTA2 and PTA3.&lt;/P&gt;&lt;P&gt;For the UART0 pin reassignment from PTB0/PTB1 to PTA2/PTA3, other than UART configurations i had additionally did -&lt;/P&gt;&lt;P&gt;SIM-&amp;gt;PINSEL |= SIM_PINSEL_UART0PS_MASK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even with above additional configuration UART0 doesn't work, either on FRDM evaluation board or my final/production hardware which uses only KE06 MCU (not K20/IRDA/Accel sensor etc as Eval board).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more explanation on doesn't work - i am able to receive what i am sending using loopback mode but when i connect my actual device which is expected to receive/tx data over UART0, doesn't receive anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know if i am missing something.&lt;/P&gt;&lt;P&gt;Do i need to do additional setting for PIN reassignment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if i am clear with my question.&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, 26 May 2015 19:38:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART0-not-working-with-KE06/m-p/397555#M21941</guid>
      <dc:creator>newke06user</dc:creator>
      <dc:date>2015-05-26T19:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: UART0 not working with KE06</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART0-not-working-with-KE06/m-p/397556#M21942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using UART0 on the PTB0/PTB1 pins, but I don't recall anything unusual in making it work.&amp;nbsp; The line you mention for changing pins looks strange, unless there's some structure someone defined that maps to the SIM_PINSEL0 register.&amp;nbsp; Using the mke06z4.h header that Freescale supplies, the line would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIM_PINSEL0 |- SIM_PINSEL_UART0PS_MASK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might check to see if the value at 0x4004800C actually has bit 7 set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 20:38:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART0-not-working-with-KE06/m-p/397556#M21942</guid>
      <dc:creator>davidsherman</dc:creator>
      <dc:date>2015-05-26T20:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: UART0 not working with KE06</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART0-not-working-with-KE06/m-p/397557#M21943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26660i9C2CB8ED7567A019/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Check that the UART0 Tx goes high - it will need a pull-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, check that the I2C0 has not been enabled since it will have priority over the UART function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KE: &lt;A href="http://www.utasker.com/kinetis/FRDM-KE02Z.html" title="http://www.utasker.com/kinetis/FRDM-KE02Z.html"&gt;µTasker FRDM-KE02Z support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/FRDM-KE02Z40M.html" title="http://www.utasker.com/kinetis/FRDM-KE02Z40M.html"&gt;µTasker FRDM-KE02Z40M support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/FRDM-KE06Z.html" title="http://www.utasker.com/kinetis/FRDM-KE06Z.html"&gt;µTasker FRDM-KE06Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KEA: &lt;A href="http://www.utasker.com/kinetis/TRK-KEA128.html" title="http://www.utasker.com/kinetis/TRK-KEA128.html"&gt;µTasker TRK-KEA128 support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 21:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART0-not-working-with-KE06/m-p/397557#M21943</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-05-26T21:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: UART0 not working with KE06</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART0-not-working-with-KE06/m-p/397558#M21944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vikas shrivastava,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please add external pullup resistor in the ptA2 and PTA3 pin, these pins are true opendrain, and the internal pullup has no effect when configured as output high for UART.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Wed, 27 May 2015 05:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART0-not-working-with-KE06/m-p/397558#M21944</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2015-05-27T05:16:32Z</dc:date>
    </item>
  </channel>
</rss>

