<?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: fsl_iap Erase/Program checks clock in 25.6 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/fsl-iap-Erase-Program-checks-clock-in-25-6/m-p/2174243#M58797</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232865"&gt;@Folkert&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked this demo.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1758622918461.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358160i077741BFAAFCBDAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1758622918461.png" alt="Harry_Zhang_0-1758622918461.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I found that&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CLOCK_SetClkDiv(kCLOCK_DivAhbClk, 1U, false);&lt;/LI-CODE&gt;
&lt;P&gt;So the&amp;nbsp; kCLOCK_BusClk is the same with the&amp;nbsp; kCLOCK_CoreSysClk.&lt;/P&gt;
&lt;P&gt;And i print them. they are same.&lt;/P&gt;
&lt;P&gt;You can tested it.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2025 10:25:52 GMT</pubDate>
    <dc:creator>Harry_Zhang</dc:creator>
    <dc:date>2025-09-23T10:25:52Z</dc:date>
    <item>
      <title>fsl_iap Erase/Program checks clock in 25.6</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/fsl-iap-Erase-Program-checks-clock-in-25-6/m-p/2173433#M58788</link>
      <description>&lt;P&gt;With an update of the fsl-library to 25.6, I noticed that in fsl_iap.c the erase and program functions have a check on the clock being higher than 100MHz.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here the kCLOCK_CoreSysClk is checked, which is the main_clk in fig 4 in UM11126, page 43. I think this should be checked against kCLOCK_BusClk, which is the actual clock to the CPU.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Folkert&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 09:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/fsl-iap-Erase-Program-checks-clock-in-25-6/m-p/2173433#M58788</guid>
      <dc:creator>Folkert</dc:creator>
      <dc:date>2025-09-22T09:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: fsl_iap Erase/Program checks clock in 25.6</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/fsl-iap-Erase-Program-checks-clock-in-25-6/m-p/2174243#M58797</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232865"&gt;@Folkert&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked this demo.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1758622918461.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358160i077741BFAAFCBDAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1758622918461.png" alt="Harry_Zhang_0-1758622918461.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I found that&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CLOCK_SetClkDiv(kCLOCK_DivAhbClk, 1U, false);&lt;/LI-CODE&gt;
&lt;P&gt;So the&amp;nbsp; kCLOCK_BusClk is the same with the&amp;nbsp; kCLOCK_CoreSysClk.&lt;/P&gt;
&lt;P&gt;And i print them. they are same.&lt;/P&gt;
&lt;P&gt;You can tested it.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 10:25:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/fsl-iap-Erase-Program-checks-clock-in-25-6/m-p/2174243#M58797</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-09-23T10:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: fsl_iap Erase/Program checks clock in 25.6</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/fsl-iap-Erase-Program-checks-clock-in-25-6/m-p/2174929#M58801</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;We use the LPC55S69 with the clock connected to PLL0, which runs at 150MHz and normally, we have &lt;SPAN&gt;kCLOCK_DivAhbClk&lt;/SPAN&gt;&amp;nbsp;set to 1. When we want to write to flash, we set&amp;nbsp;&lt;SPAN&gt;kCLOCK_DivAhbClk&lt;/SPAN&gt;&amp;nbsp;to 2 to have the CPU running at 75MHz, which is functional.&amp;nbsp;&lt;BR /&gt;In this case, the fsl_iap functions should check on kCLOCK_BusClk, because then it differs from&amp;nbsp;kCLOCK_CoreSysClk.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Folkert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 09:39:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/fsl-iap-Erase-Program-checks-clock-in-25-6/m-p/2174929#M58801</guid>
      <dc:creator>Folkert</dc:creator>
      <dc:date>2025-09-24T09:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: fsl_iap Erase/Program checks clock in 25.6</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/fsl-iap-Erase-Program-checks-clock-in-25-6/m-p/2175513#M58807</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232865"&gt;@Folkert&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, you are right.&lt;/P&gt;
&lt;P&gt;When we set kCLOCK_DivAhbClk&amp;nbsp; to 2,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;the fsl_iap functions should check on kCLOCK_BusClk.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 06:21:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/fsl-iap-Erase-Program-checks-clock-in-25-6/m-p/2175513#M58807</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-09-25T06:21:23Z</dc:date>
    </item>
  </channel>
</rss>

