<?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 Re: LPC5516 SCT0 No IRQ in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1198454#M43246</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I said before "event interrupt enable register (EVEN)"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-12-14_9-56-37.jpg" style="width: 674px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132517i6511A772693DCA4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-12-14_9-56-37.jpg" alt="2020-12-14_9-56-37.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 02:00:53 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2020-12-14T02:00:53Z</dc:date>
    <item>
      <title>LPC5516 SCT0 No IRQ</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1191559#M43103</link>
      <description>&lt;P&gt;Hello I'm using the config tools to set up the SCT and I am having troble getting the IRQ to generate, even thou the counter is running and going passed the match value.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Config Screen Shots&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulsanders_0-1606819344012.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131435i69C23090ECEB2A06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulsanders_0-1606819344012.png" alt="paulsanders_0-1606819344012.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulsanders_1-1606819370438.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131436iC50991F731AD24D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulsanders_1-1606819370438.png" alt="paulsanders_1-1606819370438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code generated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/&lt;BR /&gt;/* clang-format on */&lt;BR /&gt;const sctimer_config_t SCT0_initConfig = {&lt;BR /&gt;.enableCounterUnify = true,&lt;BR /&gt;.clockMode = kSCTIMER_System_ClockMode,&lt;BR /&gt;.clockSelect = kSCTIMER_Clock_On_Rise_Input_0,&lt;BR /&gt;.enableBidirection_l = false,&lt;BR /&gt;.enableBidirection_h = false,&lt;BR /&gt;.prescale_l = 0U,&lt;BR /&gt;.prescale_h = 0U,&lt;BR /&gt;.outInitState = 0U,&lt;BR /&gt;.inputsync = 0U&lt;BR /&gt;};&lt;BR /&gt;uint32_t SCT0_event[1];&lt;/P&gt;&lt;P&gt;static void SCT0_init(void) {&lt;BR /&gt;SCTIMER_Init(SCT0_PERIPHERAL, &amp;amp;SCT0_initConfig);&lt;BR /&gt;/* Initialization of state 0 */&lt;BR /&gt;SCTIMER_CreateAndScheduleEvent(SCT0_PERIPHERAL, kSCTIMER_MatchEventOnly, 25, kSCTIMER_Out_0, kSCTIMER_Counter_L, &amp;amp;SCT0_event[0]);&lt;BR /&gt;SCTIMER_SetupCounterLimitAction(SCT0_PERIPHERAL, kSCTIMER_Counter_L, SCT0_event[0]);&lt;BR /&gt;/* Enable interrupt SCT0_IRQn request in the NVIC. */&lt;BR /&gt;EnableIRQ(SCT0_IRQN);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IRQ handler set up&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;//SCT0_IRQ ---------------------------------------------------------------------&lt;BR /&gt;void SCT0_IRQHANDLER (void)&lt;BR /&gt;{&lt;BR /&gt;if ((SCT0-&amp;gt;EVFLAG &amp;amp; 1) == 1) //event 0 pending //1.5uS elapsed&lt;BR /&gt;{&lt;BR /&gt;SCT0-&amp;gt;EVFLAG &amp;amp;= ~1; //Clear the SCT Event 0 Interrupt&lt;BR /&gt;GPIO_PortToggle(GPIO, BOARD_INITPINS_LED_RED_PORT, BOARD_INITPINS_LED_RED_GPIO_PIN_MASK);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;//SCT0_IRQ [END] ---------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 10:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1191559#M43103</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2020-12-01T10:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SCT0 No IRQ</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1192047#M43109</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;paulsanders,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please share your whole project, I will help to check it on my side, thanks.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 06:40:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1192047#M43109</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-12-02T06:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SCT0 No IRQ</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1192149#M43111</link>
      <description>&lt;P&gt;Thanks Alice, I have attached what files I can.&lt;/P&gt;&lt;P&gt;Regards Paul Sanders&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 10:02:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1192149#M43111</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2020-12-02T10:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SCT0 No IRQ</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1193049#M43131</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/161010" target="_self"&gt;&lt;SPAN class=""&gt;paulsand&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/161010" target="_self"&gt;&lt;SPAN class=""&gt;ers,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;It seems the Event0 interrupt haven't enable in the generated code, please enable it by hand, then test &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;whether interrupt can work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorAlice_Yang_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 09:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1193049#M43131</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-12-03T09:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SCT0 No IRQ</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1193084#M43132</link>
      <description>&lt;P&gt;Thanks Alice,&lt;/P&gt;&lt;P&gt;I can only see an IRQ for the SCT as a whole NVIC #12, where are the event IRQ held?&lt;/P&gt;&lt;P&gt;The only other place I can see to set this up is STATEMASKn, and this is already set up correctly.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulsanders_0-1606988300858.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131667i1F2A31AF8B88D175/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulsanders_0-1606988300858.png" alt="paulsanders_0-1606988300858.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 09:38:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1193084#M43132</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2020-12-03T09:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SCT0 No IRQ</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1193088#M43133</link>
      <description>&lt;P&gt;Sorry seen your attachment now, I will take a look.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 09:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1193088#M43133</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2020-12-03T09:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SCT0 No IRQ</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1193107#M43134</link>
      <description>&lt;P&gt;Thank you, that fixes the problem.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Think it could be better documented in the SCT explanation in the user manual and also would be nice if the config tools showed you the evernt options not just the SCT IRQ.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 09:47:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1193107#M43134</guid>
      <dc:creator>sanders7284</dc:creator>
      <dc:date>2020-12-03T09:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SCT0 No IRQ</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1198454#M43246</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I said before "event interrupt enable register (EVEN)"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-12-14_9-56-37.jpg" style="width: 674px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132517i6511A772693DCA4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-12-14_9-56-37.jpg" alt="2020-12-14_9-56-37.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 02:00:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1198454#M43246</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-12-14T02:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5516 SCT0 No IRQ</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1206359#M43447</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/161010" target="_self"&gt;&lt;SPAN class=""&gt;paulsanders&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;Agree with you, I will take a ticket about this suggestion, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 01:58:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5516-SCT0-No-IRQ/m-p/1206359#M43447</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-01-05T01:58:06Z</dc:date>
    </item>
  </channel>
</rss>

