<?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 using fsl_dspi driver for simple spi in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-fsl-dspi-driver-for-simple-spi/m-p/839134#M50667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm new to NXP world. I have a FRDM-K28F board to evaluate the micro.&lt;/P&gt;&lt;P&gt;I have 2 standard SPI slave devices (with SCK, MISO, MOS and SS pins) and I want to configure the K28F as the master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Keil, but the driver files for this device do not contain the fsl_spi driver. Only the fsl_dspi and fsl_qspi are present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Why the standard driver is not included?&lt;/P&gt;&lt;P&gt;2. Can I use the device as a simple SPI master using any of this driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - After googling I read that is possible, so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2a. What is the correct configuration? What should I watch out for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2b. There is an example of this use case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2018 12:01:42 GMT</pubDate>
    <dc:creator>portal127</dc:creator>
    <dc:date>2018-12-05T12:01:42Z</dc:date>
    <item>
      <title>using fsl_dspi driver for simple spi</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-fsl-dspi-driver-for-simple-spi/m-p/839134#M50667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm new to NXP world. I have a FRDM-K28F board to evaluate the micro.&lt;/P&gt;&lt;P&gt;I have 2 standard SPI slave devices (with SCK, MISO, MOS and SS pins) and I want to configure the K28F as the master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Keil, but the driver files for this device do not contain the fsl_spi driver. Only the fsl_dspi and fsl_qspi are present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Why the standard driver is not included?&lt;/P&gt;&lt;P&gt;2. Can I use the device as a simple SPI master using any of this driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - After googling I read that is possible, so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2a. What is the correct configuration? What should I watch out for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2b. There is an example of this use case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2018 12:01:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-fsl-dspi-driver-for-simple-spi/m-p/839134#M50667</guid>
      <dc:creator>portal127</dc:creator>
      <dc:date>2018-12-05T12:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: using fsl_dspi driver for simple spi</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-fsl-dspi-driver-for-simple-spi/m-p/839135#M50668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi antonio,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for the interest in NXP kinetis product, I would like to provide service for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Now, answer you several questions:&lt;/P&gt;&lt;P&gt;1. Why the standard driver is not included?&lt;/P&gt;&lt;P&gt;Answer: &amp;nbsp; Actually, dspi is the SPI which you need, just in the K28 MCU, the SPI module name is DSPI.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Don't worry, you can use that dspi examples.&lt;/P&gt;&lt;P&gt;2. Can I use the device as a simple SPI master using any of this driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - After googling I read that is possible, so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2a. What is the correct configuration? What should I watch out for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2b. There is an example of this use case?&lt;/P&gt;&lt;P&gt;Answer: Please refer to the official SDK code for K28, which can be downloaded from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please choose the chip as MK28, then generate the code and download it.&lt;/P&gt;&lt;P&gt;After you download the code, you can find the dspi sample code in folder:&lt;/P&gt;&lt;P&gt;\FRDM-K28F\boards\frdmk28f\driver_examples\dspi&lt;/P&gt;&lt;P&gt;Please try it on your side, each example have the readme.txt help you to understand it.&lt;/P&gt;&lt;P&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2018 06:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/using-fsl-dspi-driver-for-simple-spi/m-p/839135#M50668</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-12-06T06:58:47Z</dc:date>
    </item>
  </channel>
</rss>

