<?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: Serial ioctl functions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Serial-ioctl-functions/m-p/164219#M1482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you PetrM, it's good at least to get confirmation that I'm having the same issues as others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, I'm doing this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_UART1_UCR = MCF_UART_UCR_START_BREAK;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;_time_delay(200);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_UART1_UCR = MCF_UART_UCR_STOP_BREAK;&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>Mon, 10 Jan 2011 08:49:32 GMT</pubDate>
    <dc:creator>ARQuattr</dc:creator>
    <dc:date>2011-01-10T08:49:32Z</dc:date>
    <item>
      <title>Serial ioctl functions</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Serial-ioctl-functions/m-p/164217#M1480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using MQX on a 52259 and I need to send a break sequence on a UART port.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I'm doing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FILE_PTR fh_ptr = NULL;   

fh_ptr = (pointer)fopen("ttyb:", (pointer) (IO_SERIAL_XON_XOFF));

ioctl(fh_ptr, IO_IOCTL_SERIAL_START_BREAK, NULL);
_time_delay(200);
ioctl(fh_ptr, IO_IOCTL_SERIAL_STOP_BREAK, NULL);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding is that I should see the Tx line go low for 200ms after doing this.&amp;nbsp; But I'm not sure I have the right commands, eg. I'm guess at the NULL argument.&amp;nbsp; The only documentation I could find on this was the "MQX I/O Drivers User's Guide".&amp;nbsp; I don't see a lot of detail in there on how to use the ioctl function, especially with these commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some other documentation on the serial ioctl commands?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Serial-ioctl-functions/m-p/164217#M1480</guid>
      <dc:creator>ARQuattr</dc:creator>
      <dc:date>2020-10-29T09:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Serial ioctl functions</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Serial-ioctl-functions/m-p/164218#M1481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, the serial driver documentation is simply not good.&lt;/P&gt;&lt;P&gt;Those two commands are not implemented yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 22:54:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Serial-ioctl-functions/m-p/164218#M1481</guid>
      <dc:creator>PetrM</dc:creator>
      <dc:date>2010-12-03T22:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Serial ioctl functions</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Serial-ioctl-functions/m-p/164219#M1482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you PetrM, it's good at least to get confirmation that I'm having the same issues as others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now, I'm doing this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_UART1_UCR = MCF_UART_UCR_START_BREAK;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;_time_delay(200);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_UART1_UCR = MCF_UART_UCR_STOP_BREAK;&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>Mon, 10 Jan 2011 08:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Serial-ioctl-functions/m-p/164219#M1482</guid>
      <dc:creator>ARQuattr</dc:creator>
      <dc:date>2011-01-10T08:49:32Z</dc:date>
    </item>
  </channel>
</rss>

