<?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>Kinetis Software Development KitのトピックRe: How do you change SPI speed after it's set?</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464202#M3501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it has, I am calling the DSPI_DRV_MasterConfigureBus API to change the speed before initializing the SD Card and then increase the speed after initializing the card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Feb 2016 04:13:49 GMT</pubDate>
    <dc:creator>myke_predko</dc:creator>
    <dc:date>2016-02-07T04:13:49Z</dc:date>
    <item>
      <title>How do you change SPI speed after it's set?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464198#M3497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey gang,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am making progress with my Kinetis/KSDK 1.3/PE 3.0.2 SD Card software for SPI on a FRDM-K22F Board (going to a custom K22 board in the future).&amp;nbsp; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One question, how do I increase the SPI speed after I set it originally using the DSPI_DRV_MasterConfigureBus (I'm using Interrupt based SPI right now) to 375kbps?&amp;nbsp; After the card is initialized, I should be able to run it at a faster data rate.&amp;nbsp; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to run at at least 10 MHz.&amp;nbsp; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a K22F and when I look at the SPI clocking options in PE, I see that the maximum (using the default Clock cfg.4) is 2.4 MHz although that's "From" and "To" says 12 MHz.&amp;nbsp; Can anybody explain this?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am hoping to publish my software here in a few days.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 17:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464198#M3497</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2016-01-25T17:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do you change SPI speed after it's set?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464199#M3498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello myke,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check on my side , the&amp;nbsp; clock rate of spi can configured to 10MHZ, and could you please show your project , and how about your&lt;/P&gt;&lt;P&gt;bus clock of mcu, the clock source of SPI is the bus clock .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22174i736E76D0EA9F47F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And i recommend you do not change the speed when run the project , it maybe cause unpredictable problems .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 02:16:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464199#M3498</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-01-26T02:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you change SPI speed after it's set?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464200#M3499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply - to change the speed in the application, I found that re-running "DSPI_DRV_MasterConfigureBus" when I wanted to change the speed worked for me.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this on a FRDM-K22F, I found that the maximum speed that I seemed to be able to change the stock hardware to is 4.8 Mbps.&amp;nbsp; I haven't pushed it to 10 Mbps or looked at changing the internal clocking information.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 06:18:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464200#M3499</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2016-01-29T06:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do you change SPI speed after it's set?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464201#M3500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello myke,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your problem have been solved ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 08:57:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464201#M3500</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-02-01T08:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do you change SPI speed after it's set?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464202#M3501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it has, I am calling the DSPI_DRV_MasterConfigureBus API to change the speed before initializing the SD Card and then increase the speed after initializing the card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 04:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-you-change-SPI-speed-after-it-s-set/m-p/464202#M3501</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2016-02-07T04:13:49Z</dc:date>
    </item>
  </channel>
</rss>

