<?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>i.MX Processors中的主题 Re: Timing for UARTx_USR2[TXDC]?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Timing-for-UARTx-USR2-TXDC/m-p/695926#M107984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in order to really make this answer complete:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If making a timing diagram showing UARTx_USR2[TXDC] and the TX-line, there will still be line activity from stop bit(s) and parity bit at the TX-line after asserting TXDC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2017 05:57:38 GMT</pubDate>
    <dc:creator>kimbp</dc:creator>
    <dc:date>2017-08-14T05:57:38Z</dc:date>
    <item>
      <title>Timing for UARTx_USR2[TXDC]?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Timing-for-UARTx-USR2-TXDC/m-p/695924#M107982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the i.MX6 reference manuals UARTx_USR2[TXDC] goes high when TxFIFO and Shift Register is empty&lt;/P&gt;&lt;P&gt;My concern is that it is unclear whether parity (optional) and stop bit(s) are included in the term "Shift Register is empty"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not I see no means to ensure all bits are transmitted before toggling UARTx_UCR2[CTS] while using it to control direction in RS485 mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone who can confirm parity and stop bits are also covered by TXDC?&lt;/P&gt;&lt;P&gt;If not - are there other means to detect 'transmission fully complete'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The lower a bit rate the higher risk of changing direction too soon and thus make an invalid 'last' character transmission&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reference manual deliberately say about UARTx_USR2[TXFE ] (in Transmitter FIFO empty Interrupt Suppression):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;the interrupt flag is set when the last bit of the character has been transmitted, for example, before the transmission of the parity bit (if exists) and the stop bit(s).&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But again - this is not TXDC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 12:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Timing-for-UARTx-USR2-TXDC/m-p/695924#M107982</guid>
      <dc:creator>kimbp</dc:creator>
      <dc:date>2017-08-10T12:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Timing for UARTx_USR2[TXDC]?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Timing-for-UARTx-USR2-TXDC/m-p/695925#M107983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #231f20;"&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;UARTx_USR2[TXDC] goes high if TxFIFO and Shift Register is empty. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #231f20;"&gt;This bit is high if there are no bits in the &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;i.MX6 UART shift register.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;It means that all bits are sent and transmission fully complete.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 03:10:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Timing-for-UARTx-USR2-TXDC/m-p/695925#M107983</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-08-14T03:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timing for UARTx_USR2[TXDC]?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Timing-for-UARTx-USR2-TXDC/m-p/695926#M107984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in order to really make this answer complete:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If making a timing diagram showing UARTx_USR2[TXDC] and the TX-line, there will still be line activity from stop bit(s) and parity bit at the TX-line after asserting TXDC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 05:57:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Timing-for-UARTx-USR2-TXDC/m-p/695926#M107984</guid>
      <dc:creator>kimbp</dc:creator>
      <dc:date>2017-08-14T05:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Timing for UARTx_USR2[TXDC]?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Timing-for-UARTx-USR2-TXDC/m-p/695927#M107985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;There is no activity after TXDC bit setting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #231f20;"&gt;This bit usually is used if i.MX6 UART is RS485 transceiver.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: #231f20;"&gt;Setting of the TXDC is used for switching the RS485 transmitter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 09:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Timing-for-UARTx-USR2-TXDC/m-p/695927#M107985</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-08-14T09:43:13Z</dc:date>
    </item>
  </channel>
</rss>

