<?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: UART vs USB on MKL27Z in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619214#M36982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be no problem when using both peripherals. As previously suggested, you can analyze how these modules are being configurated and if sharing same clock source is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some examples for USB that use UART for their debug console, you can give a look to any example at KSDK 2.0 package for KL27 and corroborate if this same issue is shown in these examples codes: &lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?tid=redKINETIS_SDK" title="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?tid=redKINETIS_SDK"&gt;Software Development Kit for Kinetis MCUs|NXP&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2016 19:30:53 GMT</pubDate>
    <dc:creator>isaacavila</dc:creator>
    <dc:date>2016-09-26T19:30:53Z</dc:date>
    <item>
      <title>UART vs USB on MKL27Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619211#M36979</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;Is there any issues to be aware of when trying to run USB and UART at the same time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used to have this working, but now I've come back to my code and I'm getting garbage output on UART.&lt;/P&gt;&lt;P&gt;If I remove my usb_init() function, the UART output is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can configure the LPUART to use either the LIRC or the IRC48 clock, while USB is running, right?&lt;/P&gt;&lt;P&gt;Could I need to disable/enable interrupts inside my uart_putc function? I didn't do that before..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other tips on what might be going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 23:04:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619211#M36979</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2016-09-14T23:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: UART vs USB on MKL27Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619212#M36980</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;There are no issues using USB and UARTS/LPUARTS at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the following for references that do this:&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-KL27Z.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-KL27Z.html&lt;/A&gt;&lt;BR /&gt;- &lt;A href="http://www.utasker.com/kinetis/Capuccino-KL27.html"&gt;http://www.utasker.com/kinetis/Capuccino-KL27.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing to possibly be aware of is if you use the IRC48M as clock source it will be drifting a little when USB is not connected but become locked to 48M form the host when it is (and USB crystal-less mode is in operation).&lt;BR /&gt;This could slighty change the UART speed in the two states but it shouldn't be noticeable in normal cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you prefer an industrial quality out-of-the-box solution for the KL27 (with various proven USB classes: CDC, HID, MSD, Audio, RNDIS and optimised UART/LPUART with DMA support) for KDS, CW, IAR, Keil, Green Hills, Crossworks, CooCox, GCC, or VisualStudio Kinetis simulation you can get it from the links.&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;SPAN&gt;Kinetis for professionals: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fhttp%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 00:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619212#M36980</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-09-15T00:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: UART vs USB on MKL27Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619213#M36981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is USB Clock Recovery enabled? &amp;nbsp;Does UART work differently if USB is connected or not?&lt;/P&gt;&lt;P&gt;Does UART work correctly at lower Baud?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619213#M36981</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2016-09-15T12:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: UART vs USB on MKL27Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619214#M36982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Joey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There should be no problem when using both peripherals. As previously suggested, you can analyze how these modules are being configurated and if sharing same clock source is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some examples for USB that use UART for their debug console, you can give a look to any example at KSDK 2.0 package for KL27 and corroborate if this same issue is shown in these examples codes: &lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?tid=redKINETIS_SDK" title="http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?tid=redKINETIS_SDK"&gt;Software Development Kit for Kinetis MCUs|NXP&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 19:30:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619214#M36982</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-09-26T19:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: UART vs USB on MKL27Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619215#M36983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it was because I didn't have GND connected in my UART. I had the USB connected to one computer, and UART connected to another computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 20:09:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART-vs-USB-on-MKL27Z/m-p/619215#M36983</guid>
      <dc:creator>joeygouly</dc:creator>
      <dc:date>2016-09-29T20:09:57Z</dc:date>
    </item>
  </channel>
</rss>

