<?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>i.MX ProcessorsのトピックRe: LPuart interrupt driver example doesnt work when implemented as a task in freertos.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LPuart-interrupt-driver-example-doesnt-work-when-implemented-as/m-p/816211#M125733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where can i find the interupt example because i am looking for it now but can't find it anywhere&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2019 14:12:11 GMT</pubDate>
    <dc:creator>roelsemarc</dc:creator>
    <dc:date>2019-11-07T14:12:11Z</dc:date>
    <item>
      <title>LPuart interrupt driver example doesnt work when implemented as a task in freertos.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPuart-interrupt-driver-example-doesnt-work-when-implemented-as/m-p/816209#M125731</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;I ported the lpuart interrupt code under driver examples of sdk 2.3.1 for imxrt and ran in imxrt evaluation board with A0 revision.&lt;/P&gt;&lt;P&gt;When i try to run that it takes user input and echoes back properly provided it is entered one by one.&lt;/P&gt;&lt;P&gt;When i copy paste a lot of characters in to the terminal it stops and doesn't take any input from that moment.&lt;/P&gt;&lt;P&gt;Seems like the interrupt doesn't trigger from that moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My buffer is more than the required size.This code works fine when run as bare metal code. What am i doing wrong here.&lt;/P&gt;&lt;P&gt;I tried running the code&lt;/P&gt;&lt;P&gt;I tried using freertos api for task yield and&amp;nbsp; also without it taking care the interrupt priority for freertos. But that didnt help.&lt;/P&gt;&lt;P&gt;Did anyone else face this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uart interrupt Interrupt priority is set as 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is my FreeRTOSconfig.h macros&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define configPRIO_BITS 4 /* 15 priority levels */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define configLIBRARY_LOWEST_INTERRUPT_PRIORITY ((1U &amp;lt;&amp;lt; (configPRIO_BITS)) - 1)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#define configKERNEL_INTERRUPT_PRIORITY (configLIBRARY_LOWEST_INTERRUPT_PRIORITY &amp;lt;&amp;lt; (8 - configPRIO_BITS))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define configMAX_SYSCALL_INTERRUPT_PRIORITY (configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY &amp;lt;&amp;lt; (8 - configPRIO_BITS))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Fayiz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 15:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPuart-interrupt-driver-example-doesnt-work-when-implemented-as/m-p/816209#M125731</guid>
      <dc:creator>fayizonline</dc:creator>
      <dc:date>2018-06-25T15:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPuart interrupt driver example doesnt work when implemented as a task in freertos.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPuart-interrupt-driver-example-doesnt-work-when-implemented-as/m-p/816210#M125732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it working finally. My code was an XIP code called from bootloader application. which had XIP_EXTERNAL_FLASH symbol defined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't add XIP_EXTERNAL_FLASH in my application code . Adding that made the code to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 05:43:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPuart-interrupt-driver-example-doesnt-work-when-implemented-as/m-p/816210#M125732</guid>
      <dc:creator>fayizonline</dc:creator>
      <dc:date>2018-06-26T05:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: LPuart interrupt driver example doesnt work when implemented as a task in freertos.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPuart-interrupt-driver-example-doesnt-work-when-implemented-as/m-p/816211#M125733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where can i find the interupt example because i am looking for it now but can't find it anywhere&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 14:12:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPuart-interrupt-driver-example-doesnt-work-when-implemented-as/m-p/816211#M125733</guid>
      <dc:creator>roelsemarc</dc:creator>
      <dc:date>2019-11-07T14:12:11Z</dc:date>
    </item>
  </channel>
</rss>

