<?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のトピックFRDM-KL03Z and fsl_spi</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KL03Z-and-fsl-spi/m-p/363844#M655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm using processor expert to setup a SPI connection, with the KL03 being the master.&lt;/P&gt;&lt;P&gt;I'm using the SPI_DRV_MasterInit function to initialize the master, and the SPI_DRV_MasterTransfer to transmit data. However, the code seems to get stuck right after I call the transfer function. Also, I can't see the sclk signal out of the pin using an oscilloscope after initialization.. Any idea on what I'm doing wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this can help, in the clock rate selection of the fls_spi module, in the clock path I read IRC_8MHz. Should this be the 48MHz clock as for the lpuart module?&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-objectid="341272" data-objecttype="1" href="https://community.nxp.com/thread/341272#comment-478474"&gt;Re: FRDM-KL03Z and debug console&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;It seems like the SPI_DRV_MasterIRQHandler is not being called? However, the MasterInit method should be taking care of the IRQ enable...&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;Thank you,&lt;/P&gt;&lt;P&gt;Enrico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 19:05:21 GMT</pubDate>
    <dc:creator>saxen</dc:creator>
    <dc:date>2015-02-10T19:05:21Z</dc:date>
    <item>
      <title>FRDM-KL03Z and fsl_spi</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KL03Z-and-fsl-spi/m-p/363844#M655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm using processor expert to setup a SPI connection, with the KL03 being the master.&lt;/P&gt;&lt;P&gt;I'm using the SPI_DRV_MasterInit function to initialize the master, and the SPI_DRV_MasterTransfer to transmit data. However, the code seems to get stuck right after I call the transfer function. Also, I can't see the sclk signal out of the pin using an oscilloscope after initialization.. Any idea on what I'm doing wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this can help, in the clock rate selection of the fls_spi module, in the clock path I read IRC_8MHz. Should this be the 48MHz clock as for the lpuart module?&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="2019" data-containertype="14" data-objectid="341272" data-objecttype="1" href="https://community.nxp.com/thread/341272#comment-478474"&gt;Re: FRDM-KL03Z and debug console&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;It seems like the SPI_DRV_MasterIRQHandler is not being called? However, the MasterInit method should be taking care of the IRQ enable...&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;Thank you,&lt;/P&gt;&lt;P&gt;Enrico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 19:05:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KL03Z-and-fsl-spi/m-p/363844#M655</guid>
      <dc:creator>saxen</dc:creator>
      <dc:date>2015-02-10T19:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z and fsl_spi</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KL03Z-and-fsl-spi/m-p/363845#M656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've followed this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/335404"&gt;How do you use DSPI_DRV_MasterTransferData in the fsl_dspi bean?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and by adding the&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; fsl_dspi_irq.c&lt;/SPAN&gt; file to my project, the spi apparently does not get stuck anymore. &lt;/P&gt;&lt;P&gt;However, I still cannot see the sckl signal out of the pin using an oscilloscope. I've checked with GPIO pins and I can see them with the oscilloscope, but no the SPI pins. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 18:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KL03Z-and-fsl-spi/m-p/363845#M656</guid>
      <dc:creator>saxen</dc:creator>
      <dc:date>2015-02-11T18:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL03Z and fsl_spi</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KL03Z-and-fsl-spi/m-p/363846#M657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrico&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check out:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis/FRDM-KL03Z.html" title="http://www.utasker.com/kinetis/FRDM-KL03Z.html"&gt;http://www.utasker.com/kinetis/FRDM-KL03Z.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This supports SPI (see the nRF24L01P+ function) and will work out-of-the-box with KDS.&lt;/P&gt;&lt;P&gt;It is completely free for non-commerial use, and has fast-track support in this forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tip for the SPI on the device:&lt;/P&gt;&lt;P&gt;- after configuring it, read the status register and the data register once. This should stop code getting stick when later polling for transmission to complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;KL03: &lt;A href="http://www.utasker.com/kinetis/FRDM-KL03Z.html" title="http://www.utasker.com/kinetis/FRDM-KL03Z.html"&gt;µTasker FRDM-KL03Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 02:34:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KL03Z-and-fsl-spi/m-p/363846#M657</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-02-17T02:34:48Z</dc:date>
    </item>
  </channel>
</rss>

