<?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: LPC812 SCT claims 2 states, but it uses 5 bits in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-SCT-claims-2-states-but-it-uses-5-bits/m-p/1561509#M50874</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27063"&gt;@fjrg76&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;The SCTimer/PWM peripheral has for some devices up to 32 states, but for the one you are using (LPC81x), it only has 2 states (AN11538).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_0-1669749230426.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202152i5C0FCD734901D41A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_0-1669749230426.png" alt="nxf86756_0-1669749230426.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps you.&lt;/P&gt;
&lt;P&gt;Have a nice day&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 19:14:46 GMT</pubDate>
    <dc:creator>_Leo_</dc:creator>
    <dc:date>2022-11-29T19:14:46Z</dc:date>
    <item>
      <title>LPC812 SCT claims 2 states, but it uses 5 bits</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-SCT-claims-2-states-but-it-uses-5-bits/m-p/1559797#M50837</link>
      <description>&lt;P&gt;Hi, datasheet for LPC81x claims they can handle up to 2 states, however the registers EVx_CTRL and STATE have both allowed 5 bits (EVx_CTRL:STATEV, bits 19:15 and STATE:STATEy, 4:0 and 20:16) for states, which make me think that actually the SCT in this chip can handle up to 32 states.&lt;/P&gt;&lt;P&gt;However then I read: "&lt;EM&gt;The value of a state variable is completely under the control of the application. If an&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;application does not use states, the value of the state variable remains zero, which is the&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;default value.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;Does this chips actually have 32 states, or does it mean that I can write any value up to 32 into one of the two states?&lt;/P&gt;&lt;P&gt;Please DON'T suggest me to read the AN11538. I've been reading almost you've provided trying to decode the SCT timer but it's been a difficult duty.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 07:44:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-SCT-claims-2-states-but-it-uses-5-bits/m-p/1559797#M50837</guid>
      <dc:creator>fjrg76</dc:creator>
      <dc:date>2022-11-25T07:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 SCT claims 2 states, but it uses 5 bits</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-SCT-claims-2-states-but-it-uses-5-bits/m-p/1561509#M50874</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27063"&gt;@fjrg76&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;The SCTimer/PWM peripheral has for some devices up to 32 states, but for the one you are using (LPC81x), it only has 2 states (AN11538).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf86756_0-1669749230426.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/202152i5C0FCD734901D41A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf86756_0-1669749230426.png" alt="nxf86756_0-1669749230426.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps you.&lt;/P&gt;
&lt;P&gt;Have a nice day&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 19:14:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-SCT-claims-2-states-but-it-uses-5-bits/m-p/1561509#M50874</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2022-11-29T19:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 SCT claims 2 states, but it uses 5 bits</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-SCT-claims-2-states-but-it-uses-5-bits/m-p/1563827#M50925</link>
      <description>&lt;P&gt;The SCTimer is a too complex peripheral and the mistakeS (with capital S) in the user manual don't help to understand it.&lt;/P&gt;&lt;P&gt;Why haven't you updated the user manual?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2022 03:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-SCT-claims-2-states-but-it-uses-5-bits/m-p/1563827#M50925</guid>
      <dc:creator>fjrg76</dc:creator>
      <dc:date>2022-12-03T03:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC812 SCT claims 2 states, but it uses 5 bits</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-SCT-claims-2-states-but-it-uses-5-bits/m-p/1565391#M50955</link>
      <description>&lt;P&gt;That is a question for which I do not have an official answer.&lt;/P&gt;
&lt;P&gt;However, I have sent the recommendation to the appropriate department.&lt;/P&gt;
&lt;P&gt;We greatly appreciate your comments.&lt;/P&gt;
&lt;P&gt;An apology for the inconvenience.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 19:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC812-SCT-claims-2-states-but-it-uses-5-bits/m-p/1565391#M50955</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2022-12-06T19:22:39Z</dc:date>
    </item>
  </channel>
</rss>

