<?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>S32 SDKのトピックRe: 2018R1  SDK0.8.6  LPUART IRQ Problem</title>
    <link>https://community.nxp.com/t5/S32-SDK/2018R1-SDK0-8-6-LPUART-IRQ-Problem/m-p/847478#M725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;3Q，very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2018 03:54:58 GMT</pubDate>
    <dc:creator>建宽高</dc:creator>
    <dc:date>2018-10-15T03:54:58Z</dc:date>
    <item>
      <title>2018R1  SDK0.8.6  LPUART IRQ Problem</title>
      <link>https://community.nxp.com/t5/S32-SDK/2018R1-SDK0-8-6-LPUART-IRQ-Problem/m-p/847476#M723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,when i config lpuart2&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;LPUART_Type *base = g_lpuartBase[INST_LPUART2];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;LPUART_DRV_Init(INST_LPUART2, &amp;amp;lpuart2_State, &amp;amp;lpuart2_InitConfig0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; INT_SYS_InstallHandler(g_lpuartRxTxIrqId[INST_LPUART2], DEBUG_DRV_IRQHandler, (isr_t *) 0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; INT_SYS_SetPriority(LPUART2_RxTx_IRQn, 2);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/* Enable the receive data overrun interrupt */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; LPUART_SetIntMode(base, LPUART_INT_RX_OVERRUN, true);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/* Enable the receive data overrun interrupt */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; LPUART_SetIntMode(base, LPUART_INT_FRAME_ERR_FLAG, false);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;/* Enable receive data full interrupt */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt; LPUART_SetIntMode(base, LPUART_INT_RX_DATA_REG_FULL, true);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;LPUART&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;SetIntMode&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(base,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;LPUART&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;INT&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;RX&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;_DATA_&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;REG&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;_FULL, true);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;it willl go to this breakpoint,frame error, why ,and&amp;nbsp; &amp;nbsp;use&amp;nbsp; api&amp;nbsp; &amp;nbsp;get receive byte is zero, why ?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;uint8_t rb;&lt;/P&gt;&lt;P&gt;LPUART_Getchar(base, &amp;amp;rb)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;rb result is zero&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/74266i6241F3D24DBABBEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 09:43:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/2018R1-SDK0-8-6-LPUART-IRQ-Problem/m-p/847476#M723</guid>
      <dc:creator>建宽高</dc:creator>
      <dc:date>2018-10-11T09:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: 2018R1  SDK0.8.6  LPUART IRQ Problem</title>
      <link>https://community.nxp.com/t5/S32-SDK/2018R1-SDK0-8-6-LPUART-IRQ-Problem/m-p/847477#M724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please start from our LPUARt example and update your SDK because you use a version released 2 years ago.&lt;/P&gt;&lt;P&gt;To get&amp;nbsp;latest version please follow the steps from the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't change the IRQ handlers and disable interrupts, because LPUART driver needs them to read/write data on UART.&lt;/P&gt;&lt;P&gt;If you want to receive data please just initialize the driver and call&amp;nbsp;&amp;nbsp;LPUART_DRV_ReceiveData.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 08:06:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/2018R1-SDK0-8-6-LPUART-IRQ-Problem/m-p/847477#M724</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2018-10-12T08:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: 2018R1  SDK0.8.6  LPUART IRQ Problem</title>
      <link>https://community.nxp.com/t5/S32-SDK/2018R1-SDK0-8-6-LPUART-IRQ-Problem/m-p/847478#M725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;3Q，very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 03:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/2018R1-SDK0-8-6-LPUART-IRQ-Problem/m-p/847478#M725</guid>
      <dc:creator>建宽高</dc:creator>
      <dc:date>2018-10-15T03:54:58Z</dc:date>
    </item>
  </channel>
</rss>

