<?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>LPC MicrocontrollersのトピックRe: LPC54S018J4M spifi clock speed</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1273141#M44909</link>
    <description>&lt;P&gt;I haven't received a response to my recent questions. Does anyone know why the example XIP projects use 24MHz rather than a higher clock speed?&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 15:40:15 GMT</pubDate>
    <dc:creator>rex_lam</dc:creator>
    <dc:date>2021-05-06T15:40:15Z</dc:date>
    <item>
      <title>LPC54S018J4M spifi clock speed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1268384#M44784</link>
      <description>&lt;P&gt;The example spifi source code from mcu-boot initializes the spifi clock speed to 24MHz. Is this NXP's recommendation for the spifi clock speed for spifi flash in LPC54S018J4M? I was wondering if a higher clock rate would be safe to use. Please advise.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 23:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1268384#M44784</guid>
      <dc:creator>rex_lam</dc:creator>
      <dc:date>2021-04-26T23:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018J4M spifi clock speed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1269347#M44808</link>
      <description>&lt;P&gt;Hi rex_lam&lt;/P&gt;
&lt;P&gt;According to Datasheet,&lt;/P&gt;
&lt;P&gt;Quad SPI Flash Interface with 1-, 2-, or 4-bit data at rates of up to 52 MB per second.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1619589633695.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143480i291D9AC92AA794AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1619589633695.png" alt="ZhangJennie_0-1619589633695.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 06:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1269347#M44808</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-04-28T06:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018J4M spifi clock speed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1269759#M44827</link>
      <description>&lt;P&gt;Hi Jun,&lt;/P&gt;&lt;P&gt;Thank you for responding. 52MB/s data rate is not the same as the clock frequency, as it could take into account 4-bit data. Could you advise what the highest allowed clock frequency should be for spifi flash?&lt;/P&gt;&lt;P&gt;Rex&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 14:54:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1269759#M44827</guid>
      <dc:creator>rex_lam</dc:creator>
      <dc:date>2021-04-28T14:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018J4M spifi clock speed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1270268#M44854</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;According to UM&lt;/P&gt;
&lt;P&gt;Transfer rates of up to SPIFI_CLK/2 bytes per second. This is for 4bit data.&lt;/P&gt;
&lt;P&gt;According DS,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quad SPI Flash Interface with 1-, 2-, or 4-bit data at rates of up to 52 MB per second. the maximal 52MB is for 4bit data&lt;/P&gt;
&lt;P&gt;So we can say maximal SPIFI_CLK is 104MHz.&lt;/P&gt;
&lt;P&gt;Here is SPIFI clock source&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1619690771148.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143632iB2C128F811B8BC3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1619690771148.png" alt="ZhangJennie_0-1619690771148.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you choose internal FRO96,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; for 4bit data, maximal rate is 96/2=48MB,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For 1bit data, maximal rate is 96/8=12MB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to get 52MB maximal rate, you need use external clock and configure PLL to reach 104M&amp;nbsp;SPIFI_CLK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 10:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1270268#M44854</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-04-29T10:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018J4M spifi clock speed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1270500#M44856</link>
      <description>&lt;P&gt;Jun,&lt;/P&gt;&lt;P&gt;Thank you for the clarification. Looking at the XIP project examples in LPC54S018J4M's SDK, it looks like all example XIP projects specify a baud rate of 24MHz by not defining IMG_BAUDRATE.&lt;/P&gt;&lt;P&gt;From the UM:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rex_lam_0-1619722545033.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143676i990CA5844E9E33DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rex_lam_0-1619722545033.png" alt="rex_lam_0-1619722545033.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From the startup file:&lt;/P&gt;&lt;P&gt;#ifdef IMG_BAUDRATE&lt;BR /&gt;.long IMG_BAUDRATE /* (0x1C) image baudrate */&lt;BR /&gt;#else&lt;BR /&gt;.long 0 /* (0x1C) reserved */&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;Is this indicative of some issue if the baudrate were set higher?&lt;/P&gt;&lt;P&gt;Also, is it possible for NXP to use a different flash part within LPC54S018J4M such that a higher baudrate might not work?&lt;/P&gt;&lt;P&gt;Rex&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 18:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1270500#M44856</guid>
      <dc:creator>rex_lam</dc:creator>
      <dc:date>2021-04-29T18:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018J4M spifi clock speed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1273141#M44909</link>
      <description>&lt;P&gt;I haven't received a response to my recent questions. Does anyone know why the example XIP projects use 24MHz rather than a higher clock speed?&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 15:40:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1273141#M44909</guid>
      <dc:creator>rex_lam</dc:creator>
      <dc:date>2021-05-06T15:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54S018J4M spifi clock speed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1274192#M44950</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We can refer this table for&amp;nbsp;spifi clock speed setting. The default&amp;nbsp;&lt;SPAN&gt;IMG_BAUDRATE is 0 which means SPIFI clock speed is 24000000. In source code, when set&amp;nbsp;IMG_BAUDRATE as 96000000 or bigger, SPIFI clock speed is 96000000.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1620618855675.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144310i4480EB7FE77F67E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1620618855675.png" alt="ZhangJennie_0-1620618855675.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So if you want to change SPIFI clock with&amp;nbsp;&lt;SPAN&gt;IMG_BAUDRATE, the maximal clock value is 96000000. The limitation is due to ROM code use internal FRO as clock source.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you want to get higher SPIFI clock, for example 100MHz, an external clock source and PLL configuration are needed. You can configure SPIFI clock source and divider&amp;nbsp; in source code to get higher SPIFI clock.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;
&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>Mon, 10 May 2021 04:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54S018J4M-spifi-clock-speed/m-p/1274192#M44950</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-05-10T04:06:46Z</dc:date>
    </item>
  </channel>
</rss>

