<?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>topic No timeout received from _lwevent_wait_ticks in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/222999#M5953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using: TWRK60N512, MQX 3.8, IAR EWARM 6.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have reduced the timeout to 1 tick and still am not receiving a timeout, task execution stops.&lt;/P&gt;&lt;P&gt;If I set the event from another task all is good, execution continues, so at least I can continue if all is good :smileyhappy:&lt;/P&gt;&lt;P&gt;I have called _time_delay_ticks and I do in fact delay for the number of ticks, so I am assuming the timer is running properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is very stright forward:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( _lwevent_wait_ticks(&amp;amp;mEvent1, 0x01, TRUE, 1) != MQX_OK )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts are appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Jan 2013 07:02:38 GMT</pubDate>
    <dc:creator>jlag</dc:creator>
    <dc:date>2013-01-12T07:02:38Z</dc:date>
    <item>
      <title>No timeout received from _lwevent_wait_ticks</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/222999#M5953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using: TWRK60N512, MQX 3.8, IAR EWARM 6.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have reduced the timeout to 1 tick and still am not receiving a timeout, task execution stops.&lt;/P&gt;&lt;P&gt;If I set the event from another task all is good, execution continues, so at least I can continue if all is good :smileyhappy:&lt;/P&gt;&lt;P&gt;I have called _time_delay_ticks and I do in fact delay for the number of ticks, so I am assuming the timer is running properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is very stright forward:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( _lwevent_wait_ticks(&amp;amp;mEvent1, 0x01, TRUE, 1) != MQX_OK )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts are appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2013 07:02:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/222999#M5953</guid>
      <dc:creator>jlag</dc:creator>
      <dc:date>2013-01-12T07:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: No timeout received from _lwevent_wait_ticks</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223000#M5954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;We used the _lwevent_wait_ticks() feature in demo apps we created for ESC.&amp;nbsp; Search freescale.com:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://cache.freescale.com/files/32bit/software/BYOES_LABS_ESC2012.exe?fsrch=1&amp;amp;sr=1"&gt;Build Your Own Embedded System (BYOES) – 2012&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; check out &amp;lt;mqx directory&amp;gt;\demo\k70-hvac_lab2\HVAC_Task_Final.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; /* Wait for parameters to change or timeout before continuing loop */&lt;/P&gt;&lt;P&gt; _lwevent_wait_ticks(&amp;amp;HVAC_Params.Event, HVAC_PARAMS_CHANGED, TRUE, HVAC_CONTROL_CYCLE_IN_TICKS);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should not have to poll the function.&amp;nbsp; Just need to call it once and it will wait for event to set or timeout to expire.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;Mac &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 22:02:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223000#M5954</guid>
      <dc:creator>macl</dc:creator>
      <dc:date>2013-01-17T22:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: No timeout received from _lwevent_wait_ticks</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223001#M5955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had a look. My implementation appears fine. The events are working, they will wait to be set from another task, they just never timeout if they are not set. Seems strange. Maybe is time to use the "heavy weight" events.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 22:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223001#M5955</guid>
      <dc:creator>jlag</dc:creator>
      <dc:date>2013-01-18T22:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: No timeout received from _lwevent_wait_ticks</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223002#M5956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is running at what priority when your task is waiting for event?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 08:53:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223002#M5956</guid>
      <dc:creator>JuroV</dc:creator>
      <dc:date>2013-01-21T08:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: No timeout received from _lwevent_wait_ticks</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223003#M5957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All fixed, it was an implimentation issue in an event abstraction module I ported. Porting is so much fun.&lt;/P&gt;&lt;P&gt;Thank you all for the clues and sorry for the time waste.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 12:00:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223003#M5957</guid>
      <dc:creator>jlag</dc:creator>
      <dc:date>2013-01-22T12:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: No timeout received from _lwevent_wait_ticks</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223004#M5958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly do you mean by "an implimentation issue in an event abstraction module"? I'm having the symptoms as you report, and wondering if I have a similar cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 14:06:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/No-timeout-received-from-lwevent-wait-ticks/m-p/223004#M5958</guid>
      <dc:creator>billnd</dc:creator>
      <dc:date>2013-04-26T14:06:51Z</dc:date>
    </item>
  </channel>
</rss>

