<?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>LPC MicrocontrollersのトピックReceive Problem in UART with rs485 MCU LPC55s66</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1542500#M50482</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to communicate with an RS485 tranceiver via UART in blocking mode exactly as it is in the lpc board keil Examples. The Uart configuration and Pin configuration are shown in the pictures bellow. The problem is that although I can see the data in analyzer connected to the bus. I don't receive anything in my RX buffer. The last picture is my receive function. Any Ideas what is going on?&lt;/P&gt;&lt;P&gt;Thanks In advance,&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-10-24_10h01_54.png" style="width: 832px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197815iB8B76233AB70892F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-10-24_10h01_54.png" alt="2022-10-24_10h01_54.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-10-24_10h02_49.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197818i76A28AF363A3136D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-10-24_10h02_49.png" alt="2022-10-24_10h02_49.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-10-24_10h17_27.png" style="width: 533px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197819i6F43359B0E4E543E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-10-24_10h17_27.png" alt="2022-10-24_10h17_27.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 07:29:13 GMT</pubDate>
    <dc:creator>SotirisEft</dc:creator>
    <dc:date>2022-10-24T07:29:13Z</dc:date>
    <item>
      <title>Receive Problem in UART with rs485 MCU LPC55s66</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1542500#M50482</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to communicate with an RS485 tranceiver via UART in blocking mode exactly as it is in the lpc board keil Examples. The Uart configuration and Pin configuration are shown in the pictures bellow. The problem is that although I can see the data in analyzer connected to the bus. I don't receive anything in my RX buffer. The last picture is my receive function. Any Ideas what is going on?&lt;/P&gt;&lt;P&gt;Thanks In advance,&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-10-24_10h01_54.png" style="width: 832px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197815iB8B76233AB70892F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-10-24_10h01_54.png" alt="2022-10-24_10h01_54.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-10-24_10h02_49.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197818i76A28AF363A3136D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-10-24_10h02_49.png" alt="2022-10-24_10h02_49.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-10-24_10h17_27.png" style="width: 533px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197819i6F43359B0E4E543E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-10-24_10h17_27.png" alt="2022-10-24_10h17_27.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 07:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1542500#M50482</guid>
      <dc:creator>SotirisEft</dc:creator>
      <dc:date>2022-10-24T07:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Receive Problem in UART with rs485 MCU LPC55s66</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1542614#M50483</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If you want to use RTS signal to control RS485 transceiver direction, you have to configure the OESEL,&lt;BR /&gt;OEPOL, and OETA bits in the CFG register.&lt;/P&gt;
&lt;P&gt;BTW,I suggest you check the RTS pin signal via scope.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1666604139562.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197850i13FDE8C2B80791DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1666604139562.png" alt="xiangjun_rong_0-1666604139562.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, 24 Oct 2022 09:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1542614#M50483</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-10-24T09:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Receive Problem in UART with rs485 MCU LPC55s66</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1542619#M50484</link>
      <description>&lt;P&gt;Hello and thanks for your help,&lt;/P&gt;&lt;P&gt;The RTS Pin is controlled via Software and that is the reason why I don't check this bits. Also I noticed&amp;nbsp; that when I try to transmit data from the mcu the data are captured correctly from the analyzer. Do you think that configuring this bits will actually help?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 09:45:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1542619#M50484</guid>
      <dc:creator>SotirisEft</dc:creator>
      <dc:date>2022-10-24T09:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Receive Problem in UART with rs485 MCU LPC55s66</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1543172#M50498</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You said that “The RTS Pin is controlled via Software and that is the reason why I don't check this bits.”, but you configured the FUNC bits of IOCON-&amp;gt;PIO[0][9] as 0x01, which means that the PIO0_9 pin functions as RTS of FC4, you can NOT manipulate the RTS with software like GPIO does, the RTS signal will be driven by UART module automatically, in the case, you have to configure the bits I said in last Email.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can configure the PIO0_9 pin as GPIO function with FUNC bits of IOCON-&amp;gt;PIO[0][9] as 0x00, you can configure the direction of PIO0_9 as output, in the case, you can set the GPIO or clear the GPIO so that you can control the transceiver direction of RS485.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you still have question, pls post the RS485 hardware connection.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;XiangJun Rong&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 06:52:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1543172#M50498</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-10-25T06:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Receive Problem in UART with rs485 MCU LPC55s66</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1543178#M50499</link>
      <description>&lt;P&gt;Hello and thank you for your reply,&lt;/P&gt;&lt;P&gt;That was the solution to my problem. It is solved.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 06:55:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Receive-Problem-in-UART-with-rs485-MCU-LPC55s66/m-p/1543178#M50499</guid>
      <dc:creator>SotirisEft</dc:creator>
      <dc:date>2022-10-25T06:55:49Z</dc:date>
    </item>
  </channel>
</rss>

