<?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 CMSIS SPI driver code disabled in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/CMSIS-SPI-driver-code-disabled/m-p/1190991#M2909</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am creating code for the MK12DN512VLK5 device. My device is required to communicate on the SPI port. I have posted another query on whether to use the SPI CMSIS-DRIVER or the MCUXPresso SDK API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I am trying to use the CMSIS-DRIVER api, the code in the fsl_dspi_cmsis.c is disabled, after the following preprocessor check;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#include "fsl_dspi_cmsis.h"

#if ((RTE_SPI0 &amp;amp;&amp;amp; defined(DSPI0)) || (RTE_SPI1 &amp;amp;&amp;amp; defined(DSPI1)) || (RTE_SPI2 &amp;amp;&amp;amp; defined(DSPI2)))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing a bare metal application. I do not want to use the DMA for the SPI data transfer.&lt;/P&gt;&lt;P&gt;The sample DSPI CMSIS-Driver project that I am referring to is for the Tower board Twrk21d50m, in that project there is a file MK21DA5.h file, in which DSPI0 is defined, whereas in the project that I have created for my&amp;nbsp; processor Mk12DN512VLK5 I could not find similar definition or the device header file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why would this be? The SDK that I had configured and downloaded was for the MK12DN512 part, and it is named accordingly&amp;nbsp;SDK_2.3.1_MK12DN512xxx5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 10:53:13 GMT</pubDate>
    <dc:creator>DeepakKukreja</dc:creator>
    <dc:date>2020-12-01T10:53:13Z</dc:date>
    <item>
      <title>CMSIS SPI driver code disabled</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/CMSIS-SPI-driver-code-disabled/m-p/1190991#M2909</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am creating code for the MK12DN512VLK5 device. My device is required to communicate on the SPI port. I have posted another query on whether to use the SPI CMSIS-DRIVER or the MCUXPresso SDK API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I am trying to use the CMSIS-DRIVER api, the code in the fsl_dspi_cmsis.c is disabled, after the following preprocessor check;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#include "fsl_dspi_cmsis.h"

#if ((RTE_SPI0 &amp;amp;&amp;amp; defined(DSPI0)) || (RTE_SPI1 &amp;amp;&amp;amp; defined(DSPI1)) || (RTE_SPI2 &amp;amp;&amp;amp; defined(DSPI2)))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing a bare metal application. I do not want to use the DMA for the SPI data transfer.&lt;/P&gt;&lt;P&gt;The sample DSPI CMSIS-Driver project that I am referring to is for the Tower board Twrk21d50m, in that project there is a file MK21DA5.h file, in which DSPI0 is defined, whereas in the project that I have created for my&amp;nbsp; processor Mk12DN512VLK5 I could not find similar definition or the device header file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why would this be? The SDK that I had configured and downloaded was for the MK12DN512 part, and it is named accordingly&amp;nbsp;SDK_2.3.1_MK12DN512xxx5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 10:53:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/CMSIS-SPI-driver-code-disabled/m-p/1190991#M2909</guid>
      <dc:creator>DeepakKukreja</dc:creator>
      <dc:date>2020-12-01T10:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: CMSIS SPI driver code disabled</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/CMSIS-SPI-driver-code-disabled/m-p/1193003#M2914</link>
      <description>&lt;P&gt;Hi DeepakKukreja:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NXP demos is based on NXP boards.&amp;nbsp; Since we don't have a board with&amp;nbsp;&lt;SPAN&gt;MK12DN512VLK5,&amp;nbsp; so you can not import the CMSIS demos.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can start with TWR-K21D50M demos as a reference, and start your own project.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:34:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/CMSIS-SPI-driver-code-disabled/m-p/1193003#M2914</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2020-12-03T08:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: CMSIS SPI driver code disabled</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/CMSIS-SPI-driver-code-disabled/m-p/1195268#M2921</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;My query was not regarding how to use the demo code.&lt;/P&gt;&lt;P&gt;When I try to include the DSPI CMSIS headers in my application&amp;nbsp; (which is created for the KM12DN512VLK5) the code in the header file is all commented out because of some missing definitions.&lt;/P&gt;&lt;P&gt;What does a software engineer need to do in case he/she wants to use the CMSIS Driver code for a NXP controller for which NXP does not have an evaluation board?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:48:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/CMSIS-SPI-driver-code-disabled/m-p/1195268#M2921</guid>
      <dc:creator>DeepakKukreja</dc:creator>
      <dc:date>2020-12-08T07:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: CMSIS SPI driver code disabled</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/CMSIS-SPI-driver-code-disabled/m-p/1197743#M2926</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried it on my newly created empty project based on MK12DN512XXX5,&amp;nbsp; selected the CMSIS drivers SPI_SMSISInclude , and I found the Driver_SPI.h and Drvier_Common.h are still there.&amp;nbsp; not commented out.&amp;nbsp; &amp;nbsp;how can I reproduce your issue on my side?&lt;/P&gt;
&lt;P&gt;I am using MCUXpresso IDE 11.2.1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielchen_1-1607653470219.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132410iFE23546FB1E0343A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielchen_1-1607653470219.png" alt="danielchen_1-1607653470219.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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielchen_0-1607653111552.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132409i674DA975FDB7F09D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielchen_0-1607653111552.png" alt="danielchen_0-1607653111552.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 02:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/CMSIS-SPI-driver-code-disabled/m-p/1197743#M2926</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2020-12-11T02:24:46Z</dc:date>
    </item>
  </channel>
</rss>

