<?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>LPC MicrocontrollersのトピックRe: I cannot use emWin examples problem</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/I-cannot-use-emWin-examples-problem/m-p/801028#M32194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The&amp;nbsp;GUI_X_Delay funtion should be contain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void GUI_X_Delay(int Period)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; volatile int i;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (; Period &amp;gt; 0; Period--)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (i = 15000; i &amp;gt; 0; i--)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try using the emWin examples from the SDK LPCXpresso54608? You can download the SDK from the next link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&lt;BR /&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>Tue, 31 Jul 2018 15:28:39 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2018-07-31T15:28:39Z</dc:date>
    <item>
      <title>I cannot use emWin examples problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I-cannot-use-emWin-examples-problem/m-p/801027#M32193</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 using LPCXpresso54608 and LPCXpresso54018, I have been trying to run emWin examples from segger in emwin library emWin Segger 5.48. but I cannot do it. I think this is because of timing problems I mean:&lt;/P&gt;&lt;P&gt;when a windows callback is created in an example, this set a timer with&amp;nbsp;WM_CreateTimer() function, this will call a event for this window( or widget ) to delete this window but it never happes, also when the function GUI_Delay() function is used in the forever loop (while, for) the program never get back. In the emWin User Guide &amp;amp; Reference Manual said that this funcion will call&amp;nbsp;GUI_X_Delay() function but in emwin_support.c file this function es empty. Could any body help me I need to use some timer events and use of touch. By the away, about of touch; I suppose that the use if this code is the best way to hand it?&lt;/P&gt;&lt;P&gt;if (BOARD_Touch_Poll())&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GUI_MULTIBUF_Begin();&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WM_Exec();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GUI_MULTIBUF_End();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;am I right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bounce.c aplication example is which I´m trying to run&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 23:08:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I-cannot-use-emWin-examples-problem/m-p/801027#M32193</guid>
      <dc:creator>oscarniño</dc:creator>
      <dc:date>2018-07-30T23:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot use emWin examples problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I-cannot-use-emWin-examples-problem/m-p/801028#M32194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The&amp;nbsp;GUI_X_Delay funtion should be contain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void GUI_X_Delay(int Period)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; volatile int i;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (; Period &amp;gt; 0; Period--)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (i = 15000; i &amp;gt; 0; i--)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try using the emWin examples from the SDK LPCXpresso54608? You can download the SDK from the next link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&lt;BR /&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>Tue, 31 Jul 2018 15:28:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I-cannot-use-emWin-examples-problem/m-p/801028#M32194</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2018-07-31T15:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot use emWin examples problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I-cannot-use-emWin-examples-problem/m-p/801029#M32195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for Reply Soledad, this function was empty. I had downloaded the SDK 2.4.1 version with emWin examples, but this SDK just has three examples, I would like try more of them. The last version of SDK(2.2.0 I guess) had an example of touch and draw with Freertos, It works better but after some movements it get stock too. I think it could be by the RAM but Im not pretty sure. I have added this code and the it´s happened the same. Any other recomendation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 15:57:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I-cannot-use-emWin-examples-problem/m-p/801029#M32195</guid>
      <dc:creator>oscarniño</dc:creator>
      <dc:date>2018-07-31T15:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot use emWin examples problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I-cannot-use-emWin-examples-problem/m-p/801030#M32196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;I have resolved my problem to use (almost all) emWin examples from emWin Library 5.48 they have bugs or maybe it is because of they are not for a specific board but you can learn a lot with them.&lt;/P&gt;&lt;P&gt;I just had to configuring systick timer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SysTick_Config(SystemCoreClock / 1000); for 1ms interrupt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define:&lt;/P&gt;&lt;P&gt;GUI_TIMER_TIME GUI_X_GetTime(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return g_ticks;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*!&lt;BR /&gt; * @brief ISR for Systick Timer&lt;BR /&gt; */&lt;BR /&gt;void SysTick_Handler(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_ticks++;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;and define:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;volatile uint32_t g_ticks;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this coud be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 19:42:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I-cannot-use-emWin-examples-problem/m-p/801030#M32196</guid>
      <dc:creator>oscarniño</dc:creator>
      <dc:date>2018-07-31T19:42:12Z</dc:date>
    </item>
  </channel>
</rss>

