<?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: Not able to use UART4 on LPC1778 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-use-UART4-on-LPC1778/m-p/1047912#M40627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, apart from above suggestions what worked for us is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a lot of experimentation we have found out that LPC_UART4-&amp;gt;TER2 has&amp;nbsp;'No Effect' on UART4 Transmitter Enable/Disable status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, everything works fine if we use LPC_UART4-&amp;gt;TER1 (Note that this is Not As Per Documentation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, we were not able to test the Sync and Smartcard Mode as these were not&amp;nbsp;possible with the current hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concerned people at NXP may take note of this finding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You very much for your support,&lt;/P&gt;&lt;P&gt;- Vijay Vaidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2020 12:51:39 GMT</pubDate>
    <dc:creator>vijayvaidya</dc:creator>
    <dc:date>2020-07-10T12:51:39Z</dc:date>
    <item>
      <title>Not able to use UART4 on LPC1778</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-use-UART4-on-LPC1778/m-p/1047910#M40625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On our new board we have wired up UART4 on Pins P5[3]-U4_RXD &amp;amp; P5[4]-U4_TXD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are also using UART0 and UART2 on the same board.&lt;/P&gt;&lt;P&gt;Our programs are based on LPCOpen2.10 libraries.&lt;/P&gt;&lt;P&gt;We have followed the same initialization steps in UART4 as those of UART0 &amp;amp; UART2.&lt;/P&gt;&lt;P&gt;The performance of UART0 &amp;amp; UART2 is as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is observed that after bytes are loaded to U4THR, No waveform is seen on U4_TXD pin.&lt;BR /&gt; &lt;BR /&gt;For the testing, we have followed these steps,&lt;/P&gt;&lt;P&gt;1. The program is reduced to just 4 steps consisting of,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;i) Initialization of above mentioned pins in their respective functions (IOCON_FUNC4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ii) Initialize UART4 to 9600:8:N:1 &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;iii) Enable Transmitter by loading 0x1 to LPC_UART4-&amp;gt;TER2&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Though actually this is not required, as at Reset, Transmitter is already Enabled &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;iv) Load a byte 0x55 every about 50msec through a pure for loop delay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't observe any activity on U4_TXD Pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our doubts are,&lt;/P&gt;&lt;P&gt;1. Since UART4 on LPC1778 is different than other UARTs', in that, it also supports Synchronous Mode&amp;nbsp;as well as &amp;nbsp;&amp;nbsp;&amp;nbsp;Smart Card Mode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Does it require something more in Initialization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. While digging on the net we could locate following thread,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;https://community.nxp.com/thread/424113&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this thread seems to be really not resolved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. As mentioned therein, we don't find TER register in the referred User Manual viz. UM10470.pdf Rev. 4.0 — 21 &amp;nbsp;&amp;nbsp;&amp;nbsp;December 2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But our doubt is, there is something missing in the initialization itself,&amp;nbsp;as on Reset, Transmitter being Enabled,&lt;/P&gt;&lt;P&gt;it is bare minimum that we should&amp;nbsp;see some activity on U4_TXD pin in the above mentioned steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are stuck and not able to go ahead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers on above will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;- Vijay Vaidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2020 17:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-use-UART4-on-LPC1778/m-p/1047910#M40625</guid>
      <dc:creator>vijayvaidya</dc:creator>
      <dc:date>2020-06-30T17:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to use UART4 on LPC1778</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-use-UART4-on-LPC1778/m-p/1047911#M40626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Vijay,&lt;/P&gt;&lt;P&gt;I suppose that you have configured the IOCON_P5_4 register to select the pin as U4_TxD correctly,&amp;nbsp; pls check if you clear the SCIEN bit in SCICTRL register, clear the IRDAEN in ICR register.&lt;/P&gt;&lt;P&gt;If you write the char to THR register and check the THREbit&amp;nbsp; in LSR register, can the bit be set or not?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114286iF3A3DE429A65C09F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If it can be set, it means that the data has been transmitted to 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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 06:04:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-use-UART4-on-LPC1778/m-p/1047911#M40626</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-07-01T06:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to use UART4 on LPC1778</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-use-UART4-on-LPC1778/m-p/1047912#M40627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, apart from above suggestions what worked for us is as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a lot of experimentation we have found out that LPC_UART4-&amp;gt;TER2 has&amp;nbsp;'No Effect' on UART4 Transmitter Enable/Disable status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, everything works fine if we use LPC_UART4-&amp;gt;TER1 (Note that this is Not As Per Documentation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, we were not able to test the Sync and Smartcard Mode as these were not&amp;nbsp;possible with the current hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concerned people at NXP may take note of this finding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You very much for your support,&lt;/P&gt;&lt;P&gt;- Vijay Vaidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 12:51:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-use-UART4-on-LPC1778/m-p/1047912#M40627</guid>
      <dc:creator>vijayvaidya</dc:creator>
      <dc:date>2020-07-10T12:51:39Z</dc:date>
    </item>
  </channel>
</rss>

