<?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: Issue with sending data with USB UART from K64F to PC in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Issue-with-sending-data-with-USB-UART-from-K64F-to-PC/m-p/635210#M38296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin Chicano,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As I know, the JLINK firmware can work in the win10 system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now, to exclude your code problem(your reference post is not from NXP), please download our KSDK SDK_2.0_FRDM-K64F code, and download it to your board, then check the printf function with the virtual port again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; KSDK SDK_2.0_FRDM-K64F download link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome to MCUXpresso | MCUXpresso Config Tools&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select the build an SDK, then choose the FRDM-K64 board, download the helloworld code to your board, then check the information in your Termite 3.3.&lt;/P&gt;&lt;P&gt;If the KSDK is working, then your problem is caused by your code.&lt;/P&gt;&lt;P&gt;&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>Wed, 15 Mar 2017 06:13:43 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-03-15T06:13:43Z</dc:date>
    <item>
      <title>Issue with sending data with USB UART from K64F to PC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Issue-with-sending-data-with-USB-UART-from-K64F-to-PC/m-p/635209#M38295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just recently started learning K64F and having a bit of an issue with establishing a serial communication channel between my board and Termite 3.3 on my Windows 10 machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed&amp;nbsp;&lt;A href="https://mcuoneclipse.com/2016/02/06/tutorial-bare-metal-shell-for-kinetis/"&gt;this&lt;/A&gt;&amp;nbsp;guide on how to use AsynchroSerial with Shell but no data comes through. My board runs FreeRTOS kernel and below is a few lines of code that I am trying to run within the main():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for(;;) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; CLS1_SendStr("Hello World!\r\n", CLS1_GetStdio()-&amp;gt;stdOut);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LED1_Neg();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; WAIT1_Waitms(1000);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've set Shell (CLS1) Default Serial to "Enabled" with AsynchroSerial (serial template) as console interface option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside AsynchroSerial I set Channel to UART0, RxD to UART1_RX_TGTMCU&amp;nbsp;and TxD to&amp;nbsp;UART1_TX_TGTMCU. BaudRate is set to 38400, no parity, 1 stop bit, width 8 bits. Same set of configurations is used in Termite 3.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After connecting the board to my PC via USB and running using debug configuration (GDB SEGGAR J-Link Debugging), the LED blink, but no data shows up on my Termite 3.3 terminal if I enable interrupts in AsynchroSerial component. However, disabling interrupts causes it to suddenly start working again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on what could be an issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 20:22:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Issue-with-sending-data-with-USB-UART-from-K64F-to-PC/m-p/635209#M38295</guid>
      <dc:creator>kokalz1</dc:creator>
      <dc:date>2017-03-08T20:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sending data with USB UART from K64F to PC</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Issue-with-sending-data-with-USB-UART-from-K64F-to-PC/m-p/635210#M38296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin Chicano,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As I know, the JLINK firmware can work in the win10 system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now, to exclude your code problem(your reference post is not from NXP), please download our KSDK SDK_2.0_FRDM-K64F code, and download it to your board, then check the printf function with the virtual port again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; KSDK SDK_2.0_FRDM-K64F download link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome to MCUXpresso | MCUXpresso Config Tools&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select the build an SDK, then choose the FRDM-K64 board, download the helloworld code to your board, then check the information in your Termite 3.3.&lt;/P&gt;&lt;P&gt;If the KSDK is working, then your problem is caused by your code.&lt;/P&gt;&lt;P&gt;&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>Wed, 15 Mar 2017 06:13:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Issue-with-sending-data-with-USB-UART-from-K64F-to-PC/m-p/635210#M38296</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-15T06:13:43Z</dc:date>
    </item>
  </channel>
</rss>

