<?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>Processor Expert Software中的主题 Re: Does the Processor Expert UART component allow usage of RTS?</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Does-the-Processor-Expert-UART-component-allow-usage-of-RTS/m-p/436242#M3544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Marek.&amp;nbsp; Once I figure out this other issue I have with the RX FIFO, I'll revisit this and will replace my workaround (manual control of the TX enable line on my RS485 transceiver) with your suggestion.&amp;nbsp; At that time, I'll mark your answer accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2015 12:40:50 GMT</pubDate>
    <dc:creator>dave408</dc:creator>
    <dc:date>2015-09-11T12:40:50Z</dc:date>
    <item>
      <title>Does the Processor Expert UART component allow usage of RTS?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Does-the-Processor-Expert-UART-component-allow-usage-of-RTS/m-p/436240#M3542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The transmit enable line on my RS485 transceiver is connected to UART0_RTS (PTB2) on my MK22F processor.&amp;nbsp; I can send data from the UART just fine with the line pulled high, but I'd like to be able to leverage hardware flow control to automatically assert this line.&amp;nbsp; However, the processor expert component doesn't look like it exposes a setting for flow control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to enable this?&amp;nbsp; I've tried the Advanced view, as well as disabling the Tabs view to see if there's an underlying hidden setting, but I haven't found one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 20:56:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Does-the-Processor-Expert-UART-component-allow-usage-of-RTS/m-p/436240#M3542</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-09-09T20:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Does the Processor Expert UART component allow usage of RTS?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Does-the-Processor-Expert-UART-component-allow-usage-of-RTS/m-p/436241#M3543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The RTS/CTS hardware functionality is supported by the Init_UART komponent or fsl_uart_hal component:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Init_UART component properties:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55769iA92094ED6643F1C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;fsl_uart_hal functions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*!&lt;/P&gt;&lt;P&gt; * @brief&amp;nbsp; Enables the UART receiver request-to-send functionality.&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * This function allows the user to enable the UART receiver request-to-send (RTS) functionality.&lt;/P&gt;&lt;P&gt; * By enabling, it allows the RTS output to control the CTS input of the transmitting device to&lt;/P&gt;&lt;P&gt; * prevent receiver overrun. RTS is deasserted if the number of characters in the receiver data&lt;/P&gt;&lt;P&gt; * register (FIFO) is equal to or greater than RWFIFO[RXWATER]. RTS is asserted when the&lt;/P&gt;&lt;P&gt; * number of characters in the receiver data register (FIFO) is less than RWFIFO[RXWATER].&lt;/P&gt;&lt;P&gt; * Do not set both RXRTSE and TXRTSE.&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * @param&amp;nbsp;&amp;nbsp; base UART module base pointer.&lt;/P&gt;&lt;P&gt; * @param&amp;nbsp;&amp;nbsp; enable&amp;nbsp;&amp;nbsp; Enable or disable receiver rts.&lt;/P&gt;&lt;P&gt; */&lt;/P&gt;&lt;P&gt;static inline void UART_HAL_SetReceiverRtsCmd(UART_Type * base, bool enable)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UART_BWR_MODEM_RXRTSE(base, enable);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*!&lt;/P&gt;&lt;P&gt; * @brief&amp;nbsp; Enables the UART transmitter request-to-send functionality.&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * This function allows the user to enable the UART transmitter request-to-send (RTS) functionality.&lt;/P&gt;&lt;P&gt; * When enabled, it allows the UART to control the RTS assertion before and after a transmission&lt;/P&gt;&lt;P&gt; * such that when a character is placed into an empty transmitter data buffer, RTS&lt;/P&gt;&lt;P&gt; * asserts one bit time before the start bit is transmitted. RTS deasserts one bit time after all&lt;/P&gt;&lt;P&gt; * characters in the transmitter data buffer and shift register are completely sent, including&lt;/P&gt;&lt;P&gt; * the last stop bit.&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * @param&amp;nbsp;&amp;nbsp; base UART module base pointer.&lt;/P&gt;&lt;P&gt; * @param&amp;nbsp;&amp;nbsp; enable&amp;nbsp;&amp;nbsp; Enable or disable transmitter RTS.&lt;/P&gt;&lt;P&gt; */&lt;/P&gt;&lt;P&gt;static inline void UART_HAL_SetTransmitterRtsCmd(UART_Type * base, bool enable)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UART_BWR_MODEM_TXRTSE(base, enable);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*!&lt;/P&gt;&lt;P&gt; * @brief&amp;nbsp; Configures the UART transmitter RTS polarity.&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * This function allows the user configure the transmitter RTS polarity to be either active low&lt;/P&gt;&lt;P&gt; * or active high.&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * @param base UART module base pointer.&lt;/P&gt;&lt;P&gt; * @param polarity The UART transmitter RTS polarity setting (false - active low,&lt;/P&gt;&lt;P&gt; *&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; true - active high).&lt;/P&gt;&lt;P&gt; */&lt;/P&gt;&lt;P&gt;static inline void UART_HAL_SetTransmitterRtsPolarityMode(UART_Type * base, bool polarity)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UART_BWR_MODEM_TXRTSPOL(base, polarity);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*!&lt;/P&gt;&lt;P&gt; * @brief&amp;nbsp; Enables the UART transmitter clear-to-send functionality.&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * This function allows the user to enable the UART transmitter clear-to-send (CTS) functionality.&lt;/P&gt;&lt;P&gt; * When enabled, the transmitter checks the state of CTS each time it is ready to send a character.&lt;/P&gt;&lt;P&gt; * If CTS is asserted, the character is sent. If CTS is deasserted, the signal TXD remains in&lt;/P&gt;&lt;P&gt; * the mark state and transmission is delayed until CTS is asserted. Changes in CTS as a&lt;/P&gt;&lt;P&gt; * character is being sent do not affect its transmission.&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * @param&amp;nbsp;&amp;nbsp; base UART module base pointer.&lt;/P&gt;&lt;P&gt; * @param&amp;nbsp;&amp;nbsp; enable&amp;nbsp;&amp;nbsp; Enable or disable transmitter CTS.&lt;/P&gt;&lt;P&gt; */&lt;/P&gt;&lt;P&gt;static inline void UART_HAL_SetTransmitterCtsCmd(UART_Type * base, bool enable)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UART_BWR_MODEM_TXCTSE(base, enable);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fsl_uart component does not support the RTS/CTS functionality. You can use this component together with fsl_uart_hal and enable RTS/CTS by using of RTS/CTS functions (see the list above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 11:38:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Does-the-Processor-Expert-UART-component-allow-usage-of-RTS/m-p/436241#M3543</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-09-11T11:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Does the Processor Expert UART component allow usage of RTS?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Does-the-Processor-Expert-UART-component-allow-usage-of-RTS/m-p/436242#M3544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Marek.&amp;nbsp; Once I figure out this other issue I have with the RX FIFO, I'll revisit this and will replace my workaround (manual control of the TX enable line on my RS485 transceiver) with your suggestion.&amp;nbsp; At that time, I'll mark your answer accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 12:40:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Does-the-Processor-Expert-UART-component-allow-usage-of-RTS/m-p/436242#M3544</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-09-11T12:40:50Z</dc:date>
    </item>
  </channel>
</rss>

