<?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: SCT counter. Difference use bottom/upper half. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCT-counter-Difference-use-bottom-upper-half/m-p/620691#M24300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found it. In function&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Chip_SCT_EventControl need added |&amp;nbsp;SCT_OUTSEL_H&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2016 17:11:17 GMT</pubDate>
    <dc:creator>jirisvabik</dc:creator>
    <dc:date>2016-10-10T17:11:17Z</dc:date>
    <item>
      <title>SCT counter. Difference use bottom/upper half.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCT-counter-Difference-use-bottom-upper-half/m-p/620689#M24298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys.&amp;nbsp;I have a problem with SCT counter.&amp;nbsp;When I use the lower 1/2&amp;nbsp;to generate a pulse, everything works OK. When I use upper 1/2, output is dumb.&amp;nbsp;&lt;SPAN&gt;What's the difference&lt;/SPAN&gt;&lt;SPAN class=""&gt;? Who bit I&amp;nbsp;forget set up?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;void InitCppm(void)&lt;BR /&gt;{&lt;BR /&gt; Chip_SWM_MovablePinAssign(SWM_SCT_OUT0_O, ); /*GPIO P0_0*/&lt;BR /&gt; Chip_SCT_Init(LPC_SCT);&lt;/P&gt;&lt;P&gt;Chip_SCT_Init(LPC_SCT);&lt;/P&gt;&lt;P&gt;Chip_SCT_Config(LPC_SCT, SCT_CONFIG_16BIT_COUNTER );&lt;/P&gt;&lt;P&gt;Chip_SCT_SetMatchCountH(LPC_SCT, SCT_MATCH_0, 0x9F00);&lt;BR /&gt; Chip_SCT_SetMatchReloadH(LPC_SCT, SCT_MATCH_0, 0x9F00);&lt;/P&gt;&lt;P&gt;Chip_SCT_SetOutput(LPC_SCT, SCT_OUTPUT_0, SCT_EVT_0 );&lt;BR /&gt; Chip_SCT_ClearOutput(LPC_SCT, SCT_OUTPUT_0, SCT_EVT_1);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Chip_SCT_Output(LPC_SCT, SCT_EVT_0);&lt;/P&gt;&lt;P&gt;Chip_SCT_EventState(LPC_SCT, SCT_EVENT_0, ENABLE_STATE0);&lt;BR /&gt; Chip_SCT_EventControl(LPC_SCT, SCT_EVENT_0, (CHIP_SCT_EVENTCTRL_T)( SCT_EVECTRL_MATCH0 |&lt;BR /&gt; SCT_COMBMODE_MATCH |&lt;BR /&gt; SCT_HEVENT_H |&lt;BR /&gt; SCT_STATELD_1 |&lt;BR /&gt; SCT_STATEEV_1 ));&lt;/P&gt;&lt;P&gt;Chip_SCT_EventState(LPC_SCT, SCT_EVENT_1, ENABLE_STATE1);&lt;BR /&gt; Chip_SCT_EventControl(LPC_SCT, SCT_EVENT_1, (CHIP_SCT_EVENTCTRL_T)( SCT_EVECTRL_MATCH0 |&lt;BR /&gt; SCT_COMBMODE_MATCH |&lt;BR /&gt; SCT_HEVENT_H |&lt;BR /&gt; SCT_STATELD_1 |&lt;BR /&gt; SCT_STATEEV_0 ));&lt;/P&gt;&lt;P&gt;LPC_SCT-&amp;gt;LIMIT_H = 0x00000003;&lt;/P&gt;&lt;P&gt;Chip_SCT_ClearControl(LPC_SCT , SCT_CTRL_HALT_H);&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2016 19:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCT-counter-Difference-use-bottom-upper-half/m-p/620689#M24298</guid>
      <dc:creator>jirisvabik</dc:creator>
      <dc:date>2016-10-09T19:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: SCT counter. Difference use bottom/upper half.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCT-counter-Difference-use-bottom-upper-half/m-p/620690#M24299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your insights and ideas. JS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2016 19:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCT-counter-Difference-use-bottom-upper-half/m-p/620690#M24299</guid>
      <dc:creator>jirisvabik</dc:creator>
      <dc:date>2016-10-09T19:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: SCT counter. Difference use bottom/upper half.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCT-counter-Difference-use-bottom-upper-half/m-p/620691#M24300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found it. In function&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Chip_SCT_EventControl need added |&amp;nbsp;SCT_OUTSEL_H&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 17:11:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCT-counter-Difference-use-bottom-upper-half/m-p/620691#M24300</guid>
      <dc:creator>jirisvabik</dc:creator>
      <dc:date>2016-10-10T17:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: SCT counter. Difference use bottom/upper half.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SCT-counter-Difference-use-bottom-upper-half/m-p/620692#M24301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="288834" data-username="jirisvabik" href="https://community.nxp.com/people/jirisvabik"&gt;Jiri Svabik&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I'm glad to hear that you had already solved this issue, if you have any question, just feel free to contact with me.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&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, 11 Oct 2016 01:13:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SCT-counter-Difference-use-bottom-upper-half/m-p/620692#M24301</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-10-11T01:13:15Z</dc:date>
    </item>
  </channel>
</rss>

