<?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: LPC546xx SCTIMER Documentation errors and SDK bug or limetet SCTIMER INSYNC funktions? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1924627#M56581</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156878"&gt;@A_M&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the inconvenient for you. I will further check and confirm with our internal. I will send to you with any information. Thanks for your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Aug 2024 09:42:32 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2024-08-04T09:42:32Z</dc:date>
    <item>
      <title>LPC546xx SCTIMER Documentation errors and SDK bug or limetet SCTIMER INSYNC funktions?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1919510#M56550</link>
      <description>&lt;P&gt;Hi, I use the lpc54628 and have a problem whit the SCTimer (INSYNC).&lt;BR /&gt;Table 334. UM10912 Rev. 2.4 11 November 2019&lt;/P&gt;&lt;P&gt;I use 5 Inputs and all 10 events rise/fall edge. On inputs 0 – 3 whit INSYNC Bit 0 - 3 = 1 everything works like it should. But Input 4 doesn’t work properly. Too use it properly I must set the corresponding INSYNC Bit4 (13 Bit in SCT CONFIG Register). But the UM says these bits are reserved, the IDE shows that only Config Register bits 12 - 9 are for INSYNC and the SDK code also sets only 4 bits.&lt;/P&gt;&lt;P&gt;Se here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UM_SCT.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/290795i65376D372A866A55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UM_SCT.png" alt="UM_SCT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sct.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/290796i1AC2BCFC55D6DF43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sct.png" alt="sct.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LPC54628.h the Mask for the INSYSNC.&lt;/P&gt;&lt;P&gt;#define SCT_CONFIG_INSYNC_MASK (0x1E00U)&lt;BR /&gt;#define SCT_CONFIG_INSYNC_SHIFT (9U)&lt;/P&gt;&lt;P&gt;And also, the function SCTIMER_GetDefaultConfig() set only 4 bit INSYNC.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void SCTIMER_GetDefaultConfig(sctimer_config_t *config)
{
…
/* Default value is 0xFU, it can be clear as 0 when speical conditions met.
* Condition can be clear as 0: (for all Clock Modes):
* (1) The corresponding input is already synchronous to the SCTimer/PWM clock.
* (2) The SCTimer/PWM clock frequency does not exceed 100 MHz.
* Note: The SCTimer/PWM clock is the bus/system clock for CKMODE 0-2 or asynchronous input
* clock for CKMODE3.
* Another condition can be clear as 0: (for CKMODE2 only)
* (1) The corresponding input is synchronous to the designated CKMODE2 input clock.
* (2) The CKMODE2 input clock frequency is less than one-third the frequency of the bus/system clock.
* Default value set as 0U, input0~input7 are set as bypasses. */
config-&amp;gt;inputsync = 0xFU;
}&lt;/LI-CODE&gt;&lt;P&gt;Course when I set the 4 bit in INSYNC by debugger, apparently everything works like it should.&lt;/P&gt;&lt;P&gt;Is there an error in the documentation and SDK, or is there a something wrong in the Config Register bits 16 - 13 INSYNC (Bits 7-4) and we should not use them?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 14:30:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1919510#M56550</guid>
      <dc:creator>A_M</dc:creator>
      <dc:date>2024-07-29T14:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx SCTIMER Documentation errors and SDK bug or limetet SCTIMER INSYNC funktions?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1921151#M56557</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156878"&gt;@A_M&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;INSYNC in CONFIG register controls&amp;nbsp;&lt;STRONG&gt; Synchronization&lt;/STRONG&gt; for input. Only the four inputs input0-input3 have this function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- A 1 in one of these bits subjects the corresponding input to &lt;STRONG&gt;synchronization to the SCTimer/PWM clock.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;- Clearing this bit &lt;STRONG&gt;bypasses synchronization&lt;/STRONG&gt; on the corresponding input. This means disable synchronization function. but input function still works.&lt;/P&gt;
&lt;P&gt;There is no this Synchronization function with Input4.&amp;nbsp; So it has no effect on input4 if setting&amp;nbsp;&lt;SPAN&gt;13 Bit in SCT CONFIG Register.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 03:57:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1921151#M56557</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-07-31T03:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx SCTIMER Documentation errors and SDK bug or limetet SCTIMER INSYNC funktions?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1921408#M56562</link>
      <description>&lt;P&gt;Hello &amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I add some Pictures and my test project whit the code changes.&lt;/P&gt;&lt;P&gt;1.Yellow is the Input4 (1Hz 50%/50% frequency generator).&lt;BR /&gt;2. Blue is the output kSCTIMER_Out_9.&lt;/P&gt;&lt;P&gt;In Picture tek00004.png - tek00006.png the Bits 13 – 16 are off. The detection of the rising edge is unreliable.&lt;/P&gt;&lt;P&gt;I switch the Bit 13(channel 4) on, and it works correct as expected see tek00007.png.&lt;/P&gt;&lt;P&gt;The behavior for all bits 13-16 channel 4-7 is the same as 9-12 channel 0-3. When I set the corresponding bit 1 it works immediately like it should.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is hard to believe that the INSYNC function is only for channel 0-3 when the SCTimer have 8 inputs. There is also nothing in the errata too SCTimer.&lt;/P&gt;&lt;P&gt;Is this really not an error in the documentation and in the SDK? We are using this in a new product, and I need a reliable statement.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;A_M&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 08:29:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1921408#M56562</guid>
      <dc:creator>A_M</dc:creator>
      <dc:date>2024-07-31T08:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx SCTIMER Documentation errors and SDK bug or limetet SCTIMER INSYNC funktions?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1924627#M56581</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156878"&gt;@A_M&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the inconvenient for you. I will further check and confirm with our internal. I will send to you with any information. Thanks for your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 09:42:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1924627#M56581</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-08-04T09:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx SCTIMER Documentation errors and SDK bug or limetet SCTIMER INSYNC funktions?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1926228#M56594</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156878"&gt;@A_M&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your patience.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have reproduced on my side. Yes, I think this is doc issue.&lt;/P&gt;
&lt;P&gt;When refer to UM, do not set bit 13 to 1. Keep it to reserved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1722936213922.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/292144iD84BF7CD15A0C1CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1722936213922.png" alt="Alice_Yang_0-1722936213922.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Result as below ：&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_1-1722936246594.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/292145i3802864B23A60634/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_1-1722936246594.png" alt="Alice_Yang_1-1722936246594.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While set bit 13 to 1,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_2-1722936283550.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/292146iE6FF3FACB7CE8D54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_2-1722936283550.png" alt="Alice_Yang_2-1722936283550.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Result as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_3-1722936410419.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/292147i2512C7A31B40B735/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_3-1722936410419.png" alt="Alice_Yang_3-1722936410419.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have reported it to related team. I will send to you with any update.&lt;/P&gt;
&lt;P&gt;Sorry for&amp;nbsp; the inconvenient to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 09:28:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1926228#M56594</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-08-06T09:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC546xx SCTIMER Documentation errors and SDK bug or limetet SCTIMER INSYNC funktions?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1947905#M56795</link>
      <description>Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&lt;BR /&gt;Do you have any further information on this?&lt;BR /&gt;Is it a doc issue and I can assume that I can synchronize all inputs?&lt;BR /&gt;BR&lt;BR /&gt;jnol</description>
      <pubDate>Thu, 05 Sep 2024 06:49:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-SCTIMER-Documentation-errors-and-SDK-bug-or-limetet/m-p/1947905#M56795</guid>
      <dc:creator>jnol</dc:creator>
      <dc:date>2024-09-05T06:49:28Z</dc:date>
    </item>
  </channel>
</rss>

