<?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: LPC5514: Flash driver init in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-Flash-driver-init/m-p/1226939#M43860</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Jun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I appreciate your kindness.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Fri, 05 Feb 2021 08:16:46 GMT</pubDate>
    <dc:creator>tomofumiyasuda</dc:creator>
    <dc:date>2021-02-05T08:16:46Z</dc:date>
    <item>
      <title>LPC5514: Flash driver init</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-Flash-driver-init/m-p/1220070#M43723</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I want to determine the system clock frequency to erase or program the internal ROM.&lt;/P&gt;&lt;P&gt;It is describe as "Note: Flash ERASE and PROGRAM operations must be performed with a system clock &lt;STRONG&gt;below or equal to 100 MHz&lt;/STRONG&gt;." in the LPC55S1x / LPC551x User manual. However, sysFreqInMHz of the FLASH_Init function(see fsl_iap.c) is configured to set &lt;STRONG&gt;only 12MHz(kSysToFlashFreq_lowInMHz) or 96MHz(kSysToFlashFreq_defaultInMHz)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;status_t FLASH_Init(flash_config_t *config)&lt;BR /&gt;{&lt;BR /&gt;/* Initialize the clock to 96MHz */&lt;BR /&gt;&lt;STRONG&gt;config-&amp;gt;modeConfig.sysFreqInMHz = (uint32_t)kSysToFlashFreq_defaultInMHz;&lt;/STRONG&gt;&lt;BR /&gt;if (get_rom_api_version() == 1u)&lt;BR /&gt;{&lt;BR /&gt;return VERSION1_FLASH_API_TREE-&amp;gt;flash_init(config);&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;return VERSION0_FLASH_API_TREE-&amp;gt;flash_init(config);&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Which setting is correct, "12MHz / 96MHz" or "100MHz or less(80MHz etc.)"?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 01:18:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-Flash-driver-init/m-p/1220070#M43723</guid>
      <dc:creator>tomofumiyasuda</dc:creator>
      <dc:date>2021-01-25T01:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514: Flash driver init</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-Flash-driver-init/m-p/1220373#M43729</link>
      <description>&lt;P&gt;"Flash ERASE and PROGRAM operations must be performed with a system clock below or equal to 100 MHz." This is correct.&lt;/P&gt;
&lt;P&gt;The SDK demo code use 96MHz FRO as system clock, so&amp;nbsp;&lt;SPAN&gt;sysFreqInMHz&amp;nbsp;is set as 96. If you configure 100M Hz system clock, you can set it as 100.&amp;nbsp; You could try, if you find any problem, please contact me again. I will check it further.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Have a nice day,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 09:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-Flash-driver-init/m-p/1220373#M43729</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-01-25T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5514: Flash driver init</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-Flash-driver-init/m-p/1226939#M43860</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Jun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I appreciate your kindness.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 08:16:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5514-Flash-driver-init/m-p/1226939#M43860</guid>
      <dc:creator>tomofumiyasuda</dc:creator>
      <dc:date>2021-02-05T08:16:46Z</dc:date>
    </item>
  </channel>
</rss>

