<?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: Changing UART Baud rate in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185104#M3099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and how to send byte not a character ?? eg. 0xfffe12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2012 03:26:15 GMT</pubDate>
    <dc:creator>kysel</dc:creator>
    <dc:date>2012-06-11T03:26:15Z</dc:date>
    <item>
      <title>Changing UART Baud rate</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185096#M3091</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 using eval version of CodeWarrior IDE 7.1.1 with M52259DEMO board. MQX build 3.1&lt;/P&gt;&lt;P&gt;Could anyone tell me how to change baud rate and other UART parameters under MQX? Documentation is kind off vague on details.&lt;/P&gt;&lt;P&gt;For the starter, could you show me how to change baud rate for ttya UART for printf output in MQX "hello world" example? Default speed in example is 115200.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 01:21:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185096#M3091</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2009-05-28T01:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing UART Baud rate</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185097#M3092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to open the BSP library.&lt;/P&gt;&lt;P&gt;Then search in all files (ctrl + shift +m) ttya (which is the name for the uart).&lt;/P&gt;&lt;P&gt;Then you will see the parameters you need to change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After you change them, dont forget to rebuild the library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 04:06:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185097#M3092</guid>
      <dc:creator>JaimeR</dc:creator>
      <dc:date>2009-05-28T04:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing UART Baud rate</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185098#M3093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So all the changes for UART must be hardcoded on BSP level!? It's very inconvenient.&lt;/P&gt;&lt;P&gt;I need to change UART parameters on the fly during MCU runtime.&lt;/P&gt;&lt;P&gt;I can't find any complete UART application example in my MQX distribution. I am new to this OS platform, so good set of examples would be really nice to have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 04:18:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185098#M3093</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2009-05-28T04:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changing UART Baud rate</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185099#M3094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;No need to rebuild the BSP - just use ioctl to set the baud. See section 5.7 of I/O manual.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 04:19:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185099#M3094</guid>
      <dc:creator>EAI</dc:creator>
      <dc:date>2009-05-28T04:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Changing UART Baud rate</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185100#M3095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for suggestion. So I assume something like following will set baud rate to 9600?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uint_32 baud=9600;&lt;/P&gt;FILE_PTR serial_fd =&amp;nbsp; fopen("ttya:",0);&lt;BR /&gt;ioctl(serial_fd,IO_IOCTL_SERIAL_GET_BAUD, &amp;amp;baud);&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fine with me.&lt;/P&gt;&lt;P&gt;One more quetion "Hello World" example using prinf for output. I assume above example must use fprintf instead. Is any way to change baud rate for printf?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 04:29:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185100#M3095</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2009-05-28T04:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Changing UART Baud rate</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185101#M3096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I correct one before, IMHO right way would be a&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ioctl(serial_fd,IO_IOCTL_SERIAL_SET_BAUD, &amp;amp;baud);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct me if wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 04:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185101#M3096</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2009-05-28T04:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Changing UART Baud rate</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185102#M3097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct.&lt;/P&gt;&lt;P&gt;printf uses stdout, so use ioctl(stdout,...&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by EAI on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-05-27&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;10:37 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 04:37:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185102#M3097</guid>
      <dc:creator>EAI</dc:creator>
      <dc:date>2009-05-28T04:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing UART Baud rate</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185103#M3098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks a lot!&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 04:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185103#M3098</guid>
      <dc:creator>Jetoleg</dc:creator>
      <dc:date>2009-05-28T04:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Changing UART Baud rate</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185104#M3099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and how to send byte not a character ?? eg. 0xfffe12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 03:26:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Changing-UART-Baud-rate/m-p/185104#M3099</guid>
      <dc:creator>kysel</dc:creator>
      <dc:date>2012-06-11T03:26:15Z</dc:date>
    </item>
  </channel>
</rss>

