<?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: Maximum SPI Clock (output) speed LPC54S018 EVK in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Maximum-SPI-Clock-output-speed-LPC54S018-EVK/m-p/1417642#M47968</link>
    <description>&lt;P&gt;Please review my code changes as below. I have done modification in spi_dma_transfer demo app available inside SDK.&lt;/P&gt;&lt;P&gt;1. Added these lines.&lt;/P&gt;&lt;P&gt;/* attach 12 MHz clock to SPI2 */&lt;BR /&gt;CLOCK_AttachClk(kFRO_HF_to_FLEXCOMM2);&lt;/P&gt;&lt;P&gt;/* attach 12 MHz clock to SPI9 */&lt;BR /&gt;CLOCK_AttachClk(kFRO_HF_to_FLEXCOMM9);&lt;/P&gt;&lt;P&gt;2. Added this line.&lt;/P&gt;&lt;P&gt;masterConfig.baudRate_Bps = 48000000U;&lt;/P&gt;&lt;P&gt;Let me know in case anything is missing here.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Feb 2022 17:19:00 GMT</pubDate>
    <dc:creator>jainilshah</dc:creator>
    <dc:date>2022-02-22T17:19:00Z</dc:date>
    <item>
      <title>Maximum SPI Clock (output) speed LPC54S018 EVK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Maximum-SPI-Clock-output-speed-LPC54S018-EVK/m-p/1416903#M47953</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working with LPC54S018 EVK and want to generate maximum SPI clock frequency. Below are my observations:-&lt;/P&gt;&lt;P&gt;1. Getting 12MHz clock inspite of attaching HF clock (kFRO_HF_to_FLEXCOMM9). No effect of increased baud rate. (All the SPI pins are connected)&lt;/P&gt;&lt;P&gt;2. Getting 48MHz clock when kFRO_HF_to_FLEXCOMM9 is used and baud rate is set to 48MHz. In this case, only SCLK is connected, other SPI pins are not connected.&lt;/P&gt;&lt;P&gt;Let me know how can I generate maximum SPI clock o/p frequency? Can I use FLEXCOMM0-9 to generate maximum SPI clock o/p? (FLEXCOMM10 is not available on EVK)&lt;/P&gt;&lt;P&gt;Also suggest what changes are required to generate max SPI clock o/p frequency?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 18:17:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Maximum-SPI-Clock-output-speed-LPC54S018-EVK/m-p/1416903#M47953</guid>
      <dc:creator>jainilshah</dc:creator>
      <dc:date>2022-02-21T18:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum SPI Clock (output) speed LPC54S018 EVK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Maximum-SPI-Clock-output-speed-LPC54S018-EVK/m-p/1417199#M47958</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Regarding the maximum SPI clock frequency of LPC54S018, pls refer to the data sheet of LPC54S018, the master mode, the SPI baud rate is 48M bit/s, in slave mode, the baud rate is 14M bit/s.&lt;/P&gt;
&lt;P&gt;Assume that you want to get 48MHz for SCK signal, If you use the code&amp;nbsp; kFRO_HF_to_FLEXCOMM9, the SPI drivig clock will be 48MHz.&lt;/P&gt;
&lt;P&gt;and you have to set up the SPI baud rate by writing the SPI divider regisyter as 0, the SPI_SCK clock frequency will be 48MHz.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1645507861873.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171320i3413C58F7425D02B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1645507861873.png" alt="xiangjun_rong_1-1645507861873.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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1645507139975.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171319iDF7FF9C32E668774/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1645507139975.png" alt="xiangjun_rong_0-1645507139975.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 05:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Maximum-SPI-Clock-output-speed-LPC54S018-EVK/m-p/1417199#M47958</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-02-22T05:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum SPI Clock (output) speed LPC54S018 EVK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Maximum-SPI-Clock-output-speed-LPC54S018-EVK/m-p/1417638#M47967</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 17:01:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Maximum-SPI-Clock-output-speed-LPC54S018-EVK/m-p/1417638#M47967</guid>
      <dc:creator>jainilshah</dc:creator>
      <dc:date>2022-02-22T17:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum SPI Clock (output) speed LPC54S018 EVK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Maximum-SPI-Clock-output-speed-LPC54S018-EVK/m-p/1417642#M47968</link>
      <description>&lt;P&gt;Please review my code changes as below. I have done modification in spi_dma_transfer demo app available inside SDK.&lt;/P&gt;&lt;P&gt;1. Added these lines.&lt;/P&gt;&lt;P&gt;/* attach 12 MHz clock to SPI2 */&lt;BR /&gt;CLOCK_AttachClk(kFRO_HF_to_FLEXCOMM2);&lt;/P&gt;&lt;P&gt;/* attach 12 MHz clock to SPI9 */&lt;BR /&gt;CLOCK_AttachClk(kFRO_HF_to_FLEXCOMM9);&lt;/P&gt;&lt;P&gt;2. Added this line.&lt;/P&gt;&lt;P&gt;masterConfig.baudRate_Bps = 48000000U;&lt;/P&gt;&lt;P&gt;Let me know in case anything is missing here.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 17:19:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Maximum-SPI-Clock-output-speed-LPC54S018-EVK/m-p/1417642#M47968</guid>
      <dc:creator>jainilshah</dc:creator>
      <dc:date>2022-02-22T17:19:00Z</dc:date>
    </item>
  </channel>
</rss>

