<?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: MCXN LPUART for RS485 driver or hardware flow control in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1929888#M1501</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that you have to set the TXRTSE bit in the MODIR register, after you set the bit, when the uart transfers character, the RTS_b will be asserted.&lt;/P&gt;
&lt;P&gt;I suppose that the uart driver in SDK does not includes the hardware flow control code. You have to develop the code yourself.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1723440447884.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/292879i3910B55C26A5089F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1723440447884.png" alt="xiangjun_rong_0-1723440447884.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2024 05:31:15 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2024-08-12T05:31:15Z</dc:date>
    <item>
      <title>MCXN LPUART for RS485 driver or hardware flow control</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1920170#M1400</link>
      <description>&lt;P&gt;In the MCX Nx4x Reference manual I see LPUART transmitter can use RTS_B output as an enable signal for the driver of an external RS-485 transceiver.&lt;/P&gt;&lt;P&gt;How to set that RTS_B&amp;nbsp;functionality in LPUART registers?&lt;/P&gt;&lt;P&gt;HDCR[RTSEXT] is the only mentioned LPUART register for RTS_B output as drive enable signal.&lt;/P&gt;&lt;P&gt;Also, I do not understand how to enable LPUART hardware flow control with receiver RTS_B output and transmitter CTS_B input.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 07:13:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1920170#M1400</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2024-07-30T07:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: MCXN LPUART for RS485 driver or hardware flow control</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1921049#M1410</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Regarding the LPUART module pins assignment,&lt;/P&gt;
&lt;P&gt;Pls refer to the section 66.2.3 External signals in RM of MCXNx4x family.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1722391477989.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291070i106A3AA0C30B3DB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1722391477989.png" alt="xiangjun_rong_0-1722391477989.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There are total 8 Fc module, I represent it as FCx. The FCx_P0 is RXD pin, FCx_P1 is TXD pin, FCx_P2 is RTS_b pin.&lt;/P&gt;
&lt;P&gt;In the MCXx4x_pinout.xlsx doc, the pin assignment is defined.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1722391822296.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291073iDC5FA6B7E0F83B0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1722391822296.png" alt="xiangjun_rong_1-1722391822296.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can see the FCx_P2 pin.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 02:12:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1921049#M1410</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-07-31T02:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: MCXN LPUART for RS485 driver or hardware flow control</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1921375#M1412</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN&gt;Xiangjun Rong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, I know I need to enable the FC_P2 signal on the Pinmux to have the alternate RTS_B functionality on the output pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then, if I have LPUART connected to a RS485 transceiver, how to enable the driver enable functionality on the RTS_B output?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Similarly, if I have to use LPUART with hardware flow control, enabling RTS_B output and CTS_B input on the Pinmux automatically enables the hardware flow control on those pins?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I cannot find any flag in the LPUART registers that enables RTS_B as Request to Send for hardware flow control or as driver enable for an external RS485 transceiver.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the&amp;nbsp;SDK_2_16_000_MCXN546 I cannot find any sample code for LPUART used with RS485 or hardware flow control.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 07:55:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1921375#M1412</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2024-07-31T07:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: MCXN LPUART for RS485 driver or hardware flow control</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1926471#M1455</link>
      <description>&lt;P&gt;Maybe, the MODEM IrDA (MODIR) register seems to have all the flags I was looking for LPUART hardware flow control and RS485 transceiver driver enable, right?&lt;/P&gt;&lt;P&gt;The TXCTSSRC, TXCTSC, TXCTSE flags configure the LPUART transmitter CTS input function.&lt;/P&gt;&lt;P&gt;The RXRTSE, RTSWATER flags configure the LPUART receiver RTS output function.&lt;/P&gt;&lt;P&gt;The TXRTSE, TXRTSPOL flags configure the LPUART&amp;nbsp;transceiver driver enable output function.&lt;/P&gt;&lt;P&gt;The fsl_lpuart SDK driver seems to handle only the hardware flow control configuration. I have to make myself the LPUART configuration for&amp;nbsp;RS485 transceiver driver enable, right?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 14:42:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1926471#M1455</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2024-08-06T14:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: MCXN LPUART for RS485 driver or hardware flow control</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1929888#M1501</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that you have to set the TXRTSE bit in the MODIR register, after you set the bit, when the uart transfers character, the RTS_b will be asserted.&lt;/P&gt;
&lt;P&gt;I suppose that the uart driver in SDK does not includes the hardware flow control code. You have to develop the code yourself.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1723440447884.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/292879i3910B55C26A5089F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1723440447884.png" alt="xiangjun_rong_0-1723440447884.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 05:31:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MCXN-LPUART-for-RS485-driver-or-hardware-flow-control/m-p/1929888#M1501</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-08-12T05:31:15Z</dc:date>
    </item>
  </channel>
</rss>

