<?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 communication with MQX driver fails in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-communication-with-MQX-driver-fails/m-p/149805#M383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send your program (basic init, send, recw data) to me ? I use it only for education and to understand uart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2012 20:35:18 GMT</pubDate>
    <dc:creator>kysel</dc:creator>
    <dc:date>2012-06-08T20:35:18Z</dc:date>
    <item>
      <title>UART communication with MQX driver fails</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-communication-with-MQX-driver-fails/m-p/149802#M380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use MQX with the UART_0 for default output. So the bsp is configured with:&lt;/P&gt;&lt;P&gt;#define BSPCFG_ENABLE_TTYA&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; 1&lt;/P&gt;&lt;P&gt;//…&lt;/P&gt;&lt;P&gt;#if BSPCFG_ENABLE_TTYA&lt;/P&gt;&lt;P&gt;#define BSP_DEFAULT_IO_CHANNEL&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ttya:"&amp;nbsp;&amp;nbsp;&amp;nbsp; /* OSJTAG-COM&amp;nbsp;&amp;nbsp; polled mode&amp;nbsp;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;#define BSP_DEFAULT_IO_CHANNEL_DEFINED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my application the uart driver opens without error messages and I can step with debug mode into the uart sending functions. In the kernel function “_kuart_polled_putc(KUART_INFO_STRUCT_PTR io_info_ptr, char c)” I stop an read out the memory and register settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this example (have a look at the screenshot) I try to send the value 0x78 (stored in char c) to uart output. But after step over the code line number 607 the register “sci_ptr-&amp;gt;D” (UARTDataRegister) does not change and still stay on value 0x00. A forced writing of another value by a JTAG-debugger does not change too. The Register never change but the kernel function returns like everything was fine. The hardware never change his output-signal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why the uart will not send any character? And does anyone know why I cannot overwrite this register by JTAG-debugger (J-Link Ultra)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way: My measured pin on hardware is the right pin (pin PTA14). I tested this by using the gpio-driver. I have the same problem if I use another uart device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 22:38:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-communication-with-MQX-driver-fails/m-p/149802#M380</guid>
      <dc:creator>soli</dc:creator>
      <dc:date>2012-03-28T22:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication with MQX driver fails</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-communication-with-MQX-driver-fails/m-p/149803#M381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;uart output pins are initialized in init_gpio.c: _bsp_serial_io_init().&lt;/P&gt;&lt;P&gt;In MQX3.8 Uart device 0 (TTTYA)&amp;nbsp;uses pins&amp;nbsp;PTD6&amp;nbsp;and PTD7 pins, not PTA14.&lt;/P&gt;&lt;P&gt;~Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 23:32:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-communication-with-MQX-driver-fails/m-p/149803#M381</guid>
      <dc:creator>MarkP_</dc:creator>
      <dc:date>2012-03-28T23:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication with MQX driver fails</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-communication-with-MQX-driver-fails/m-p/149804#M382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mark. You point me to the right mistake.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 16:43:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-communication-with-MQX-driver-fails/m-p/149804#M382</guid>
      <dc:creator>soli</dc:creator>
      <dc:date>2012-03-30T16:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: UART communication with MQX driver fails</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/UART-communication-with-MQX-driver-fails/m-p/149805#M383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send your program (basic init, send, recw data) to me ? I use it only for education and to understand uart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 20:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/UART-communication-with-MQX-driver-fails/m-p/149805#M383</guid>
      <dc:creator>kysel</dc:creator>
      <dc:date>2012-06-08T20:35:18Z</dc:date>
    </item>
  </channel>
</rss>

