<?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: KE04z UART IRQ receive problem.</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777935#M47337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;thank U for help!&lt;/P&gt;&lt;P&gt;I found it.&lt;/P&gt;&lt;P&gt;I used "UART_IRQHandler" , not "UART0_IRQHandler"&amp;nbsp; -.-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2018 08:01:12 GMT</pubDate>
    <dc:creator>grochal7</dc:creator>
    <dc:date>2018-02-02T08:01:12Z</dc:date>
    <item>
      <title>KE04z UART IRQ receive problem.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777931#M47333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i initialize my UART and send some data from board to putty. It works fine.&lt;/P&gt;&lt;P&gt;I can send data from ke04z to putty.&lt;/P&gt;&lt;P&gt;I try send some character from putty to my board.&amp;nbsp;&lt;BR /&gt;Always the same:&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/35398i2FD3D0D5749E208A/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;&lt;/P&gt;&lt;P&gt;It is some problem with my receive irq. When RX irq occures - mcu stops on IntDefaultHandler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to set my RX irq correctly?&lt;/P&gt;&lt;P&gt;I tried to use library (sdk) and change it, still the same.&lt;/P&gt;&lt;P&gt;(I cant use SDK examples cause it is to big for my uC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 13:17:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777931#M47333</guid>
      <dc:creator>grochal7</dc:creator>
      <dc:date>2018-02-01T13:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: KE04z UART receive problem. Set OR flag (Receiver Overrun Flag)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777932#M47334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomasz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you use interrupts for transmission?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The KE04 shares an interrupt vector for Tx and Rx so if you are using Tx interrupts (that are working) the problem&amp;nbsp; is not with the UART vector but it may be a hard fault (without a handler) due to how the rx data is being handled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't use Tx interrupts it is presumably due to there being no UART vector installed for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 13:44:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777932#M47334</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-02-01T13:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: KE04z UART receive problem. Set OR flag (Receiver Overrun Flag)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777933#M47335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark!&lt;/P&gt;&lt;P&gt;I use interrupts only for receiving.&lt;/P&gt;&lt;P&gt;My code is similar to the uart_interrupt example from SDK.&lt;/P&gt;&lt;P&gt;I receive characters from putty with interrupt method and send it to putty without interrupts (echo).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I initialize uart, and then set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Enable RX interrupt. */&lt;BR /&gt; UART_EnableInterrupts(UART, kUART_RxDataRegFullInterruptEnable | kUART_RxOverrunInterruptEnable);&lt;BR /&gt; // EnableIRQ(DEMO_UART_IRQn);&lt;BR /&gt; NVIC-&amp;gt;ISER[0U] = (uint32_t)(1UL &amp;lt;&amp;lt; (((uint32_t)(int32_t)UART_IRQ_ID) &amp;amp; 0x1FUL));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is ok?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 14:24:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777933#M47335</guid>
      <dc:creator>grochal7</dc:creator>
      <dc:date>2018-02-01T14:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: KE04z UART IRQ receive problem.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777934#M47336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is your interrupt handler called and how have you entered it into the vector table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 16:04:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777934#M47336</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-02-01T16:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: KE04z UART IRQ receive problem.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777935#M47337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;thank U for help!&lt;/P&gt;&lt;P&gt;I found it.&lt;/P&gt;&lt;P&gt;I used "UART_IRQHandler" , not "UART0_IRQHandler"&amp;nbsp; -.-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 08:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE04z-UART-IRQ-receive-problem/m-p/777935#M47337</guid>
      <dc:creator>grochal7</dc:creator>
      <dc:date>2018-02-02T08:01:12Z</dc:date>
    </item>
  </channel>
</rss>

