<?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>MQX Software SolutionsのトピックRe: uart4 problem in K70</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/uart4-problem-in-K70/m-p/292683#M9404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;but, I started on the project and in production use for MQX 3.8 uart4, pins 24 and 25.&lt;/P&gt;&lt;P&gt;Now with MQX 4.0 does not work anymore.&lt;/P&gt;&lt;P&gt;I can not change the pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Maurizio&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 14:28:20 GMT</pubDate>
    <dc:creator>Microfelix</dc:creator>
    <dc:date>2013-05-07T14:28:20Z</dc:date>
    <item>
      <title>uart4 problem in K70</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/uart4-problem-in-K70/m-p/292681#M9402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I am continuing the transition from MQX MQX 3.8 to 4.0.&lt;/P&gt;&lt;P&gt;I have a problem with the UART4.&lt;/P&gt;&lt;P&gt;I use the UART4 with reception interrupt "ittye".&lt;/P&gt;&lt;P&gt;With the RX l.MQX 4.0 does not work.&lt;/P&gt;&lt;P&gt;If I send a data on the TX, RX me back on with many other erroneous data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I refer to this post:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A _jive_internal="true" href="https://community.nxp.com/message/325979#325979" style="font-size: 10pt; line-height: 1.5em;"&gt;https://community.freescale.com/message/325979#325979&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maurizio&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 13:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/uart4-problem-in-K70/m-p/292681#M9402</guid>
      <dc:creator>Microfelix</dc:creator>
      <dc:date>2013-05-02T13:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: uart4 problem in K70</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/uart4-problem-in-K70/m-p/292682#M9403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maurizio,&lt;/P&gt;&lt;P&gt;I tested the UART4 on TWR-K70F120M several weeks ago using the MQX4.0/mqx/io example.&lt;/P&gt;&lt;P&gt;I had to update the init_gpio.c in the BSP to get the correct pin configuration.&lt;/P&gt;&lt;P&gt;Here is the edit I made in that file in function _bsp_serial_io_init():&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 4:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pctl = (PORT_MemMapPtr)PORTC_BASE_PTR;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (flags &amp;amp; IO_PERIPHERAL_PIN_MUX_ENABLE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PTC14 as RX function (Alt.3) + drive strength */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pctl-&amp;gt;PCR[14] = 0 | PORT_PCR_MUX(3) | PORT_PCR_DSE_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PTC15 as TX function (Alt.3) + drive strength */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pctl-&amp;gt;PCR[15] = 0 | PORT_PCR_MUX(3) | PORT_PCR_DSE_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 14:10:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/uart4-problem-in-K70/m-p/292682#M9403</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-05-07T14:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: uart4 problem in K70</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/uart4-problem-in-K70/m-p/292683#M9404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;but, I started on the project and in production use for MQX 3.8 uart4, pins 24 and 25.&lt;/P&gt;&lt;P&gt;Now with MQX 4.0 does not work anymore.&lt;/P&gt;&lt;P&gt;I can not change the pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Maurizio&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 14:28:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/uart4-problem-in-K70/m-p/292683#M9404</guid>
      <dc:creator>Microfelix</dc:creator>
      <dc:date>2013-05-07T14:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: uart4 problem in K70</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/uart4-problem-in-K70/m-p/292684#M9405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maurizio,&lt;/P&gt;&lt;P&gt;I'm using the TWR-K70F120M development kit and removed the Y5 crystal and soldered blue wire to the Y5 pins 1(UART4RX) and 3 (UART4TX).&lt;/P&gt;&lt;P&gt;I then jumpered the Y5 pin 1 to the TWR-SER J17 pin 1,&lt;/P&gt;&lt;P&gt;I then jumpered the Y5 pin 3 to the TWR-SER J19 pin 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running the attached code in your MQX4.0/mqx/examples/io folder the initial printf() goes to the default serial output (i.e. pre-blue wire setup) and the output will look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;printf("This is printed to the default device\n");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continuing to step the code the UART4 (ttye:) gets open and is configured to be the default output.&amp;nbsp; With the blue wire modification the TWR-SER DB9 terminal window will show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;printf("This is printed to the other device\n");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly I did use PE (Processor Expert) on the BSP to disable any configuration of the PTE24/25 pins.&amp;nbsp; You might check your code or use PE to do the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached all files in BSP and application that I've enhanced for this test.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 16:46:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/uart4-problem-in-K70/m-p/292684#M9405</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-05-08T16:46:15Z</dc:date>
    </item>
  </channel>
</rss>

