<?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>LPCXpresso IDE中的主题 Set input of SCT (State Configurable Timer) using a register instead of a pin</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Set-input-of-SCT-State-Configurable-Timer-using-a-register/m-p/538596#M6100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wlamers on Mon Jul 01 02:02:06 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have posted this questions also on the Lpcware forum, but since I use Red State from LPCXpresso I hope someone on this forum can help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a NXP LPC4357 and would like to set the inputs of the SCT using code/registers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the manual it does not seem to be possible to set or clear the&amp;nbsp; inputs of the State Configurable Timer using a register. It can only be&amp;nbsp; done using physical pins it appears. I think it would be highly&amp;nbsp; benificial to set the inputs in the application code by setting a&amp;nbsp; register for example. The manual says that the SCT INPUT register in&amp;nbsp; read-only (p838, table 665). Is there another way to set the inputs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I tried using the SPGIO3 and SGPIO12 inputs, routing them using the&amp;nbsp; GIMA to the SCT. While this works, it is still limited to 2 inputs.&amp;nbsp; Another side note with this is that SGPIO3 seems bo be high on reset,&amp;nbsp; which I find strange.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Bottom line: who knows a way to set the SCT inputs in code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:47:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:47:14Z</dc:date>
    <item>
      <title>Set input of SCT (State Configurable Timer) using a register instead of a pin</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Set-input-of-SCT-State-Configurable-Timer-using-a-register/m-p/538596#M6100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wlamers on Mon Jul 01 02:02:06 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have posted this questions also on the Lpcware forum, but since I use Red State from LPCXpresso I hope someone on this forum can help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a NXP LPC4357 and would like to set the inputs of the SCT using code/registers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the manual it does not seem to be possible to set or clear the&amp;nbsp; inputs of the State Configurable Timer using a register. It can only be&amp;nbsp; done using physical pins it appears. I think it would be highly&amp;nbsp; benificial to set the inputs in the application code by setting a&amp;nbsp; register for example. The manual says that the SCT INPUT register in&amp;nbsp; read-only (p838, table 665). Is there another way to set the inputs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I tried using the SPGIO3 and SGPIO12 inputs, routing them using the&amp;nbsp; GIMA to the SCT. While this works, it is still limited to 2 inputs.&amp;nbsp; Another side note with this is that SGPIO3 seems bo be high on reset,&amp;nbsp; which I find strange.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Bottom line: who knows a way to set the SCT inputs in code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Set-input-of-SCT-State-Configurable-Timer-using-a-register/m-p/538596#M6100</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set input of SCT (State Configurable Timer) using a register instead of a pin</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Set-input-of-SCT-State-Configurable-Timer-using-a-register/m-p/538597#M6101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jjh on Mon Jul 01 07:18:25 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One way to get software controllable input for the SCT is to use any of the 16 output pins as inputs if you have any spare. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can set the output pins through software by writing to LPC_SCT-&amp;gt;OUT[pin_no]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Output pins can be used anywhere that input pins can be used for triggering events. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Set-input-of-SCT-State-Configurable-Timer-using-a-register/m-p/538597#M6101</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set input of SCT (State Configurable Timer) using a register instead of a pin</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Set-input-of-SCT-State-Configurable-Timer-using-a-register/m-p/538598#M6102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wlamers on Mon Jul 01 11:28:50 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Joe, this is working perfectly!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Set-input-of-SCT-State-Configurable-Timer-using-a-register/m-p/538598#M6102</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:15Z</dc:date>
    </item>
  </channel>
</rss>

