<?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: SCTimer first try</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCTimer-first-try/m-p/601717#M23387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer. i solved my problem with the cookbook from NXP.&lt;/P&gt;&lt;P&gt;But now i have an other problem =(:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to connect a (Software) variable to the source of an input for State Machine?&lt;/P&gt;&lt;P&gt;I want to increment a variable in my main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;As attachment to&lt;/SPAN&gt; &lt;SPAN&gt;find&lt;/SPAN&gt; &lt;SPAN class=""&gt;an image&lt;/SPAN&gt; &lt;SPAN class=""&gt;of my problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Problem.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7094i30F6AAC4A9438116/image-size/large?v=v2&amp;amp;px=999" role="button" title="Problem.jpg" alt="Problem.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Thanks alot!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2016 11:07:17 GMT</pubDate>
    <dc:creator>larsemkes</dc:creator>
    <dc:date>2016-09-13T11:07:17Z</dc:date>
    <item>
      <title>SCTimer first try</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCTimer-first-try/m-p/601715#M23385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;first of all, sorry for my bad english.&lt;/P&gt;&lt;P&gt;I use the LPC1549 Board and i want to create a Red State Machine file with the SCT0.&lt;/P&gt;&lt;P&gt;My program should be toogle the SCT0_OUT3, but it don´t work =(&lt;/P&gt;&lt;P&gt;My Main look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "chip.h"&lt;/P&gt;&lt;P&gt;#include "board.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "SCT0_Init.h"&lt;BR /&gt;#include "sct_fsm.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;volatile int i = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;#if defined (__USE_LPCOPEN)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;SystemCoreClockUpdate();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#if !defined(NO_BOARD_LIB)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Board_Init();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Board_LED_Set(0, true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;#endif&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_SWM_Init();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_SWM_FixedPinEnable(SWM_FIXED_SCT0_OUT3,true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_SCT_Init(LPC_SCT0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;sct_fsm_init();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;i++;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;As attachment to&lt;/SPAN&gt; &lt;SPAN&gt;find&lt;/SPAN&gt; &lt;SPAN class=""&gt;an image&lt;/SPAN&gt; &lt;SPAN class=""&gt;of my created state machine.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;I hope someone can help me. Thanks alot!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 10:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCTimer-first-try/m-p/601715#M23385</guid>
      <dc:creator>larsemkes</dc:creator>
      <dc:date>2016-09-08T10:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: SCTimer first try</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCTimer-first-try/m-p/601716#M23386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lars,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;/P&gt;&lt;P&gt;I was wondering if you can upload the whole demo, then it can help me figure out the root cause of the issue.&lt;/P&gt;&lt;P&gt;And I've attached the application demo about the SCTimer, and please refer to it for details.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/documents/application_note/AN11538.zip?fasp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.zip"&gt;www.nxp.com/documents/application_note/AN11538.zip?fasp=1&amp;amp;WT_TYPE=Application%20Notes&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=zip&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Ping&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>Tue, 13 Sep 2016 03:25:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCTimer-first-try/m-p/601716#M23386</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-09-13T03:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: SCTimer first try</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCTimer-first-try/m-p/601717#M23387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer. i solved my problem with the cookbook from NXP.&lt;/P&gt;&lt;P&gt;But now i have an other problem =(:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to connect a (Software) variable to the source of an input for State Machine?&lt;/P&gt;&lt;P&gt;I want to increment a variable in my main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;As attachment to&lt;/SPAN&gt; &lt;SPAN&gt;find&lt;/SPAN&gt; &lt;SPAN class=""&gt;an image&lt;/SPAN&gt; &lt;SPAN class=""&gt;of my problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Problem.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7094i30F6AAC4A9438116/image-size/large?v=v2&amp;amp;px=999" role="button" title="Problem.jpg" alt="Problem.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Thanks alot!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:07:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCTimer-first-try/m-p/601717#M23387</guid>
      <dc:creator>larsemkes</dc:creator>
      <dc:date>2016-09-13T11:07:17Z</dc:date>
    </item>
  </channel>
</rss>

