<?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中的主题 usart0 interrupt receiver lpc845</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/usart0-interrupt-receiver-lpc845/m-p/1871656#M56132</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;am using lpc845, sdk example USART0 transfer interrupt project, data send in the transfer method is working good. But in interrupt method receiver is not work, then the Xfer-&amp;gt;rxdata is always 0. please be explain the receiver data register and i just print the data in g_rxbuffer but&amp;nbsp;always I got 0 only.&lt;/P&gt;&lt;P&gt;another one doubt is in transfer interrupt method NVIC&amp;nbsp; handler is enable,but in receiver function i could not seen any handler,only register(base-&amp;gt;INTSET) is present in the example project, i want to know thr receiver NVIC,and receiver buffer for output data.&lt;/P&gt;&lt;P&gt;here i attached my doubt area while debugging, please be explain .&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2024 06:26:59 GMT</pubDate>
    <dc:creator>Sathiya_T</dc:creator>
    <dc:date>2024-05-23T06:26:59Z</dc:date>
    <item>
      <title>usart0 interrupt receiver lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/usart0-interrupt-receiver-lpc845/m-p/1871656#M56132</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;am using lpc845, sdk example USART0 transfer interrupt project, data send in the transfer method is working good. But in interrupt method receiver is not work, then the Xfer-&amp;gt;rxdata is always 0. please be explain the receiver data register and i just print the data in g_rxbuffer but&amp;nbsp;always I got 0 only.&lt;/P&gt;&lt;P&gt;another one doubt is in transfer interrupt method NVIC&amp;nbsp; handler is enable,but in receiver function i could not seen any handler,only register(base-&amp;gt;INTSET) is present in the example project, i want to know thr receiver NVIC,and receiver buffer for output data.&lt;/P&gt;&lt;P&gt;here i attached my doubt area while debugging, please be explain .&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 06:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/usart0-interrupt-receiver-lpc845/m-p/1871656#M56132</guid>
      <dc:creator>Sathiya_T</dc:creator>
      <dc:date>2024-05-23T06:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: usart0 interrupt receiver lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/usart0-interrupt-receiver-lpc845/m-p/1884606#M56214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216920"&gt;@Sathiya_T&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q1:&lt;/P&gt;
&lt;P&gt;You can add these code to print receives buffer.&lt;BR /&gt;for (uint8_t i =0;i&amp;lt;ECHO_BUFFER_LENGTH;i++)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;PRINTF("g_rxBuffer[%d]=%d\r\n",i,g_rxBuffer[i]);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;You can refer to the picture.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HangZhang_0-1718071049880.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283317iC9ED4E4727ADFAEA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HangZhang_0-1718071049880.png" alt="HangZhang_0-1718071049880.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And The output of the serial port is shown in the figure.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HangZhang_1-1718071075285.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283320i803C8F35849F92DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HangZhang_1-1718071075285.png" alt="HangZhang_1-1718071075285.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV&gt;Q2:&lt;/DIV&gt;
&lt;DIV&gt;The&amp;nbsp;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;SPAN&gt;EXAMPLE_USARTUserCallback&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;function is the interrupt call back function.&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV id="tinyMceEditorHangZhang_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HangZhang_3-1718071169118.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283322i18658B6E3160F350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HangZhang_3-1718071169118.png" alt="HangZhang_3-1718071169118.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;When an interrupt is triggered, it will enter the callback function.&lt;/DIV&gt;
&lt;DIV&gt;Hope this will help you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;BR&lt;/DIV&gt;
&lt;DIV&gt;Hang&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Jun 2024 01:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/usart0-interrupt-receiver-lpc845/m-p/1884606#M56214</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-06-11T01:59:54Z</dc:date>
    </item>
  </channel>
</rss>

