<?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>Kinetis MicrocontrollersのトピックRe: MK26FN2M0VLQ18 Uart2 IDLE interrupt</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK26FN2M0VLQ18-Uart2-IDLE-interrupt/m-p/662791#M40697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;P&gt;The problem is resolved.Because the OR Flag is set,the idle flag can not set.&lt;span class="lia-inline-image-display-wrapper" image-alt="OR.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17063i23C75295EAE11537/image-size/large?v=v2&amp;amp;px=999" role="button" title="OR.png" alt="OR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when test the idle interrupt,i close the&amp;nbsp;Receiver Full Interrupt,and do not read the UARTx_D register,&lt;/P&gt;&lt;P&gt;so the OR flag is set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2017 06:22:34 GMT</pubDate>
    <dc:creator>张华荣</dc:creator>
    <dc:date>2017-03-20T06:22:34Z</dc:date>
    <item>
      <title>MK26FN2M0VLQ18 Uart2 IDLE interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK26FN2M0VLQ18-Uart2-IDLE-interrupt/m-p/662789#M40695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to generate the&amp;nbsp;&amp;nbsp;uart2&amp;nbsp;Idle Line Interrupt,the source code is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OSA_InstallIntHandler(UART2_RX_TX_IRQn, &amp;amp;Uart2_Idle_ISR);&lt;/P&gt;&lt;P&gt;UART2_C1 |= 0x04; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Idle count start from the stop bit of previous byte&lt;/P&gt;&lt;P&gt;UART_HAL_SetIntMode(UART2_BASE_PTR,kUartIntIdleLine,true);&amp;nbsp;&amp;nbsp;&amp;nbsp;// enable the IDLE line interrupt&lt;/P&gt;&lt;P&gt;INT_SYS_EnableIRQ(UART2_RX_TX_IRQn);&lt;/P&gt;&lt;P&gt;UART_HAL_EnableTransmitter(base);&lt;BR /&gt; UART_HAL_EnableReceiver(base);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i send the data to uart2 from the PC,the interrupt cannot generate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i set the&amp;nbsp;&lt;SPAN&gt;RXEDGIE enbale,the&amp;nbsp;interrupt can generate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;UART_BWR_BDH_RXEDGIE(UART2_BASE_PTR,1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;// enable the RxD Input Active Edge Interrupt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 14:06:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK26FN2M0VLQ18-Uart2-IDLE-interrupt/m-p/662789#M40695</guid>
      <dc:creator>张华荣</dc:creator>
      <dc:date>2017-03-17T14:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: MK26FN2M0VLQ18 Uart2 IDLE interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK26FN2M0VLQ18-Uart2-IDLE-interrupt/m-p/662790#M40696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 张华荣，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please check this information:&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/15561i6BC0A8E2B14AA85F/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;Did you meet the IDLE set condition?&lt;/P&gt;&lt;P&gt;You can check it on your receiver wire and your UART2 configuration, just when the IDLE is set, the interrupt can happen.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RXEDGIE&lt;/SPAN&gt; is not the IDLE interrupt, it is caused by the RxD Input Active Edge Interrupt.&lt;/P&gt;&lt;P&gt;Please make sure the IDLE set condition is meet on your side, if the condition is meet, the IDLE will be set, and the IDLE interrupt will be happen.&lt;/P&gt;&lt;P&gt;Please also take care these points:&lt;/P&gt;&lt;P&gt;Idle detection is not supported when7816Eis set/enabled and hence this flag is ignored.&lt;BR /&gt;NOTE: When RWU is set and WAKE is cleared, an idle line condition sets the IDLE flag if RWUID is set,&lt;BR /&gt;else the IDLE flag does not become set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 02:38:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK26FN2M0VLQ18-Uart2-IDLE-interrupt/m-p/662790#M40696</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-20T02:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: MK26FN2M0VLQ18 Uart2 IDLE interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK26FN2M0VLQ18-Uart2-IDLE-interrupt/m-p/662791#M40697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;P&gt;The problem is resolved.Because the OR Flag is set,the idle flag can not set.&lt;span class="lia-inline-image-display-wrapper" image-alt="OR.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17063i23C75295EAE11537/image-size/large?v=v2&amp;amp;px=999" role="button" title="OR.png" alt="OR.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when test the idle interrupt,i close the&amp;nbsp;Receiver Full Interrupt,and do not read the UARTx_D register,&lt;/P&gt;&lt;P&gt;so the OR flag is set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 06:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK26FN2M0VLQ18-Uart2-IDLE-interrupt/m-p/662791#M40697</guid>
      <dc:creator>张华荣</dc:creator>
      <dc:date>2017-03-20T06:22:34Z</dc:date>
    </item>
  </channel>
</rss>

