<?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>Kinetis Microcontrollers中的主题 Re: How can I do 2 stop bits on a K60 UART2 at 9600 baud rate</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364378#M18673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick suggestions.&amp;nbsp;&amp;nbsp; I will give this a try and report back!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 19:39:04 GMT</pubDate>
    <dc:creator>batwings</dc:creator>
    <dc:date>2015-02-10T19:39:04Z</dc:date>
    <item>
      <title>How can I do 2 stop bits on a K60 UART2 at 9600 baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364375#M18670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see a way to do 2 stop bits, or on the K60 UARTs.&amp;nbsp; I'm using UART2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to connect to a device via rs232 to do modbus communication with the following settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The serial communication parameters are&lt;/P&gt;&lt;P&gt; BPS: 9600 baud&lt;/P&gt;&lt;P&gt; Parity: None&lt;/P&gt;&lt;P&gt; Data bits: 8&lt;/P&gt;&lt;P&gt; Stop bits: 2&lt;/P&gt;&lt;P&gt; Flow control: None&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 18:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364375#M18670</guid>
      <dc:creator>batwings</dc:creator>
      <dc:date>2015-02-10T18:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do 2 stop bits on a K60 UART2 at 9600 baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364376#M18671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reception of two-stop bits, when the controller is only set for one, isn't a problem of course -- excepting that you won't get any kind of 'fault' if the 2nd stop bit isn't proper.&amp;nbsp; For the TX side, I think you will find that if you work with the transmit-shift-register-empty bit/interrupt for loading the 'next byte' that you will get that extra stop bit on TX, as it takes one bit time for a data byte to make it from the buffer to the TX shift register.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 19:16:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364376#M18671</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2015-02-10T19:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do 2 stop bits on a K60 UART2 at 9600 baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364377#M18672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or, a 'more direct' method would be to set the UART for '9 bit' mode (UART2_C1 'M'), and then in UART2_C3 set/confirm-valid-stop#1 'bit 8' as T8/R8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 19:30:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364377#M18672</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2015-02-10T19:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do 2 stop bits on a K60 UART2 at 9600 baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364378#M18673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick suggestions.&amp;nbsp;&amp;nbsp; I will give this a try and report back!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 19:39:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364378#M18673</guid>
      <dc:creator>batwings</dc:creator>
      <dc:date>2015-02-10T19:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do 2 stop bits on a K60 UART2 at 9600 baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364379#M18674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODBUS never uses 2 stop bits for its communication (see MODBUS over serial line specification) - it has a fixed 10 bit length for both ASCII and RTC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If nevertheless required, the method for the K series is also described here: &lt;A href="https://community.nxp.com/message/455343"&gt;K20 UART with 2 stop bit or parity&lt;/A&gt; although can't be used in DMA mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The UART driver in the uTasker project will respect true 2 stop bits on Kinetis K-parts if the option TRUE_UART_TX_2_STOPS is enabled and the UART is opened for 2 stop bit mode (on all 6 UARTs). &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are developing a MODBUS project, be advised that a complete solution for the Kinetis is available at &lt;A href="http://www.utasker.com/modbus.html" title="http://www.utasker.com/modbus.html"&gt;µTasker MODBUS Extension pack&lt;/A&gt; which supports serial master and/or slave on all UARTs in RTU and/or ASCII modes, handles RS485 mode, as well as multiple MODBUS TCP sessions (master and/or slaves) with gateway and routing capability.&lt;/P&gt;&lt;P&gt;Comprehensive user's manual: &lt;A href="http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF" title="http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF"&gt;http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and industrially proven in Coldfire (and more recently Kinetis) projects since 2009. It was also embedded in support equipment controlling the Claw used by U2 on their 306° World Tour: &lt;A href="http://www.utasker.com/Projects/Projects.html#Kinesys" title="http://www.utasker.com/Projects/Projects.html#Kinesys"&gt;µTasker Project Page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;K60: &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K60N512.html" target="_blank"&gt;µTasker Kinetis TWR-K60N512 support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K60D100M.html" target="_blank"&gt;µTasker Kinetis TWR-K60D100M support&lt;/A&gt; / &lt;A class="jive-link-external-small" data-content-finding="Community" href="http://www.utasker.com/kinetis/TWR-K60F120M.html" target="_blank"&gt;µTasker Kinetis TWR-K60F120M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 00:09:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-can-I-do-2-stop-bits-on-a-K60-UART2-at-9600-baud-rate/m-p/364379#M18674</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-02-11T00:09:50Z</dc:date>
    </item>
  </channel>
</rss>

