<?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のトピックRe: LPC2136 UART1 cannot transmit or receive information</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2136-UART1-cannot-transmit-or-receive-information/m-p/1007963#M39533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sabina.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Check again and the error I found outside the microcontroller was an erroneous connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Jan 2020 17:41:51 GMT</pubDate>
    <dc:creator>rtoribio</dc:creator>
    <dc:date>2020-01-04T17:41:51Z</dc:date>
    <item>
      <title>LPC2136 UART1 cannot transmit or receive information</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2136-UART1-cannot-transmit-or-receive-information/m-p/1007961#M39531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I have configured UART1 to send and transmit data but it is not working. &lt;BR /&gt;I have physically verified that it has no problems but still does not transmit or receive information.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;anu suggestion?&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;void uart1_init(void) //9600 BAUD pclock 48MHZ&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; PCONP |= 0x00000010;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;PINSEL0 |= 0x00050000; /* Enable RxD1 and TxD1*/&lt;BR /&gt;&amp;nbsp; &amp;nbsp;U1FCR = 0x07;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;U1LCR=0X83; //8-data bits, 1 Stop bit, Disable Parity and Enable DLAB&lt;BR /&gt;&amp;nbsp; &amp;nbsp;U1DLL=0x38; // MULVAL = 0x5 and DIVADDVAL = 14&lt;BR /&gt;&amp;nbsp; &amp;nbsp;U1DLM=1;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;U1LCR=0X03; //cleared DLAB&lt;BR /&gt;&amp;nbsp; &amp;nbsp;U1IER= 0x00000001;&amp;nbsp;&lt;BR /&gt;}&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;void UART1_Interrupt_EN(void)&lt;BR /&gt;{&lt;BR /&gt;// VICIntSelect = 0x00000000; &lt;BR /&gt; VICVectAddr7 = (unsigned) UART1Handler; //Vector 7&amp;nbsp;&lt;BR /&gt; VICVectCntl7 = 0x00000020 | 7; //select UART1 interrupt as IRQ i.e vector 7&lt;BR /&gt; VICIntEnable |=(1UL&amp;lt;&amp;lt;7);&amp;nbsp;&lt;BR /&gt; &lt;BR /&gt;}&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;void SendstreamUART1 (char *str){&lt;BR /&gt;&amp;nbsp; while(*str)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; U1THR = (char )*str++;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while( (U1LSR &amp;amp; 0x40) == 0 ); /* Wait till THRE bit becomes 1 which tells that transmission is completed */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;void SendCharUART1 (char str){&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;U1THR = str;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; while( (U1LSR &amp;amp; 0x40) == 0 ); /* Wait till THRE bit becomes 1 which tells that transmission is completed */&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 16:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2136-UART1-cannot-transmit-or-receive-information/m-p/1007961#M39531</guid>
      <dc:creator>rtoribio</dc:creator>
      <dc:date>2019-11-05T16:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC2136 UART1 cannot transmit or receive information</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2136-UART1-cannot-transmit-or-receive-information/m-p/1007962#M39532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are doing well. I do have a quick question, if you could please clarify what you mean by checked it physically? Is this regarding the connections ? Have you been able to check the pins with an oscilloscope?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also for the U1DLL line that you have in your configuration, you&amp;nbsp; have a comment stating MULVAL and DIVADDVAL however thos values are in U1FDR. Could you please clarify what you are modifying here? I see that in your other post UART 0 is also configured this way but it does work, so I just want to understand that bit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately&amp;nbsp; I do not have a board with this MCU so it would help if you can also provide images of what you see on the oscilloscope or any errors that are shown. If you debug are you getting stuck on a certain section?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2019 15:52:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2136-UART1-cannot-transmit-or-receive-information/m-p/1007962#M39532</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-11-08T15:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC2136 UART1 cannot transmit or receive information</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2136-UART1-cannot-transmit-or-receive-information/m-p/1007963#M39533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sabina.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Check again and the error I found outside the microcontroller was an erroneous connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2020 17:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2136-UART1-cannot-transmit-or-receive-information/m-p/1007963#M39533</guid>
      <dc:creator>rtoribio</dc:creator>
      <dc:date>2020-01-04T17:41:51Z</dc:date>
    </item>
  </channel>
</rss>

