<?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 event not triggering on input (LPC824)</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCTIMER-event-not-triggering-on-input-LPC824/m-p/933597#M37177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya, attached is the project which at the moment should capture the timer value at rise and fall edges on input P0_2 (SCT input0), it should return these values over serial.&amp;nbsp; it should also blink an LED attached to pin P0_11 on reception of any pulses on that pin (I'm using a custom PCB, not a dev board).&amp;nbsp; However, the rise and fall events never trigger (no led blink and capture reg remains at 0) no matter what inputs i give them.&amp;nbsp; I know the output works because i can blink it with a match event and I have managed to get the input working using PINT and GPIO so I know my input signal is fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, steps to reproduce the problem are to try and create an input triggered event on input 0 using the MCUxpresso config tool, then trigger that event with an input and see what happens.&amp;nbsp; I think it's most likely my input config is incorrect but I don't know in what way or why.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, fingers crossed it's just me being silly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; just realised that i forgot to init INPUTMUX, have now done so but it still doesn't work :smileysad:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT2: Electric Boogaloo : I tried it with a different Pin and it worked perfectly.&amp;nbsp; so it looks like his SCT stuff isn't working specifically on that pin however I can still detect GPIO and PINT events on that pin so I have no idea what's causing this.&amp;nbsp; Are there some pins SCT doesn't work for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2019 09:39:51 GMT</pubDate>
    <dc:creator>jamesward0001</dc:creator>
    <dc:date>2019-09-18T09:39:51Z</dc:date>
    <item>
      <title>SCTIMER event not triggering on input (LPC824)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCTIMER-event-not-triggering-on-input-LPC824/m-p/933595#M37175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to use the SCTIMER module in my LPC824 to time input signals so i can decode them.&amp;nbsp; I've managed to get match events to work, however I can't seem to get input events working.&amp;nbsp; I've set up my event using your sdk like so:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(SCTIMER_CreateAndScheduleEvent(SCTIMER_1_PERIPHERAL, kSCTIMER_InputRiseEvent, 0, kSCTIMER_Input_1, kSCTIMER_Counter_L, &amp;amp;SCTimer_1_event[0]) == kStatus_Fail){&lt;BR /&gt; USART_WriteBlocking(USART0, riseEventFailMsg,35);&lt;BR /&gt; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but it doesn't seem to trigger (i have both a capture and led output set to activate when the event triggers, i know they work with match events).&amp;nbsp; I suspect the most likely candidate is a faulty config in pinmux.c but I can't find anything wrong, here's the relevant parts out of pinmux as well:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/* SCT_PIN0. Assign to pin using the switch matrix 1 */&lt;BR /&gt; INPUTMUX_AttachSignal(INPUTMUX, 1U, kINPUTMUX_SctPin0ToSct0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* SCT_PIN0 connect to P0_2 */&lt;BR /&gt; SWM_SetMovablePinSelect(SWM0, kSWM_SCT_PIN0, kSWM_PortPin_P0_2);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone got any ideas?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 07:54:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCTIMER-event-not-triggering-on-input-LPC824/m-p/933595#M37175</guid>
      <dc:creator>jamesward0001</dc:creator>
      <dc:date>2019-09-17T07:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: SCTIMER event not triggering on input (LPC824)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCTIMER-event-not-triggering-on-input-LPC824/m-p/933596#M37176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="347230" data-username="jamesward0001@gmail.com" href="https://community.nxp.com/people/jamesward0001@gmail.com"&gt;James Ward&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Could you please share your whole project, also tell me the detail steps&amp;nbsp; to reproduce your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 03:35:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCTIMER-event-not-triggering-on-input-LPC824/m-p/933596#M37176</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-09-18T03:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: SCTIMER event not triggering on input (LPC824)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCTIMER-event-not-triggering-on-input-LPC824/m-p/933597#M37177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya, attached is the project which at the moment should capture the timer value at rise and fall edges on input P0_2 (SCT input0), it should return these values over serial.&amp;nbsp; it should also blink an LED attached to pin P0_11 on reception of any pulses on that pin (I'm using a custom PCB, not a dev board).&amp;nbsp; However, the rise and fall events never trigger (no led blink and capture reg remains at 0) no matter what inputs i give them.&amp;nbsp; I know the output works because i can blink it with a match event and I have managed to get the input working using PINT and GPIO so I know my input signal is fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, steps to reproduce the problem are to try and create an input triggered event on input 0 using the MCUxpresso config tool, then trigger that event with an input and see what happens.&amp;nbsp; I think it's most likely my input config is incorrect but I don't know in what way or why.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, fingers crossed it's just me being silly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; just realised that i forgot to init INPUTMUX, have now done so but it still doesn't work :smileysad:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT2: Electric Boogaloo : I tried it with a different Pin and it worked perfectly.&amp;nbsp; so it looks like his SCT stuff isn't working specifically on that pin however I can still detect GPIO and PINT events on that pin so I have no idea what's causing this.&amp;nbsp; Are there some pins SCT doesn't work for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 09:39:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCTIMER-event-not-triggering-on-input-LPC824/m-p/933597#M37177</guid>
      <dc:creator>jamesward0001</dc:creator>
      <dc:date>2019-09-18T09:39:51Z</dc:date>
    </item>
  </channel>
</rss>

