<?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: K24 SPI 2 instance using Edma in KSDK 1.3.0 in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397346#M1328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. The Kinetis SDK 2.0 DSPI driver already added the PCS select parameter for the transfer API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14537382836994243 jive_text_macro" data-renderedposition="92_8_1232_16" jivemacro_uid="_14537382836994243"&gt;&lt;P&gt;status_t DSPI_MasterTransferBlocking(SPI_Type *base, dspi_transfer_t *transfer);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14537382972415268 jive_macro_code jive_text_macro" data-renderedposition="129_8_1232_192" jivemacro_uid="_14537382972415268"&gt;&lt;P&gt;/*! @brief DSPI master/slave transfer structure.*/&lt;/P&gt;&lt;P&gt;typedef struct _dspi_transfer&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t *txData;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Send buffer. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t *rxData;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Receive buffer. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; volatile size_t dataSize; /*!&amp;lt; Transfer bytes. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; configFlags; /*!&amp;lt; Transfer transfer configuration flags , set from _dspi_transfer_config_flag_for_master if the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; transfer is used for master or _dspi_transfer_config_flag_for_slave enumeration if the transfer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is used for slave.*/&lt;/P&gt;&lt;P&gt;} dspi_transfer_t;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14537383144365674 jive_macro_code jive_text_macro" data-renderedposition="342_8_1232_352" jivemacro_uid="_14537383144365674"&gt;&lt;P&gt;/*! @brief Can use this enum for DSPI master transfer configFlags. */&lt;/P&gt;&lt;P&gt;enum _dspi_transfer_config_flag_for_master&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar0 = 0U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR0 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar1 = 1U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR1 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar2 = 2U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR2 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar3 = 3U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR3 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar4 = 4U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR4 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar5 = 5U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR5 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar6 = 6U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR6 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar7 = 7U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR7 setting. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs0 = 0U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS0 signal. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs1 = 1U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS1 signal. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs2 = 2U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS2 signal.*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs3 = 3U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS3 signal. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs4 = 4U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS4 signal. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs5 = 5U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS5 signal. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcsContinuous = 1U &amp;lt;&amp;lt; 20,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Is PCS signal continuous. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterActiveAfterTransfer = 1U &amp;lt;&amp;lt; 21, /*!&amp;lt; Is PCS signal active after last frame transfer.*/&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt; color: #c55a11;"&gt;&lt;SPAN style="font-weight: bold;"&gt;/* If this post answers your question please click the Correct Answer button. */&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jan 2016 16:12:19 GMT</pubDate>
    <dc:creator>EarlOrlando</dc:creator>
    <dc:date>2016-01-25T16:12:19Z</dc:date>
    <item>
      <title>K24 SPI 2 instance using Edma in KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397342#M1324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Kinetis &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;MK24FN1M0CAJ12R with KDS 3.0.0 and KSDK 1.3.0 on a custom board. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;I've tried to use the DSPI EDMA version of the driver for SPI instance 2, but am getting incorrect SPI transactions on the SPI bus.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;However, if I use the DSPI driver without EDMA on SPI instance 2 the transactions are correct. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Furthermore, if I use the DSPI EDMA version of the driver for SPI instance 0, the transactions are correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;Finally, I have found this errata for the k64 (of which the k24 is a subset derivative, I believe) &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.freescale.com%2Ffiles%2Fsoft_dev_tools%2Fdoc%2Fsupport_info%2FMQXTWRK64RN.pdf" rel="nofollow" target="_blank"&gt;http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXTWRK64RN.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt; which states that a known issue for MQX 4.1.0 is "&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Because the DMA TX channel and DMA RX channel for SPI1 and SPI2 are the same, SPI1 and SPI2 do not use the DMA driver.&lt;/SPAN&gt;" &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So my question is does this same errata apply to the KSDK 1.3.0 SPI drivers for SPI1 and SPI2 (i.e., that the EDMA version of the KDSK driver should not be used)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 16:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397342#M1324</guid>
      <dc:creator>gsosnow</dc:creator>
      <dc:date>2015-11-09T16:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: K24 SPI 2 instance using Edma in KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397343#M1325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MQX and the KSDK drivers are different. The scenario that you need is supported by KSDK so the issue that you comment is not present in these drivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have a MK24FN1M0CAJ12R MCU but I have a TWR-K24F120M which has a MK24FN256VDC12 (both have the same SPI and eDMA modules). I tested the &lt;STRONG&gt;dspi_edma_non_blocking&lt;/STRONG&gt; example (C:\Freescale\KSDK_1.3.0\examples\twrk24f120m\driver_examples\dspi\dspi_edma_non_blocking). I only changed the SPI instance to 2 and everything works Ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please run that example? It will be useful to discard a hardware problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be looking forward for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 00:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397343#M1325</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-11-12T00:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: K24 SPI 2 instance using Edma in KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397344#M1326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Earl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation!!&lt;/P&gt;&lt;P&gt;I am able to use SPI2 with EDMA now.&lt;/P&gt;&lt;P&gt;The key was to make sure the state variables are static/persistent, such as edma_state_t and dspi_edma_master_state_t.&lt;/P&gt;&lt;P&gt;It’d be good to clearly spell out in the API doc which arguments are used for subsequent operation of the driver and should be declared static vs. on the stack.&lt;/P&gt;&lt;P&gt;Some such as dspi_edma_master_user_config_t and dspi_edma_device_t can be allocated on the stack and are only used in the calls they are passed to.&lt;/P&gt;&lt;P&gt;I was having a separate initialization function and these were allocated and then deallocated on the stack, before subsequent calls to DSPI_DRV_EdmaMasterTransferBlocking.&lt;/P&gt;&lt;P&gt;To stress this, in the examples, it may be better to not allocate these in functions/on the stack, but outside statically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One other issue related to the SPI Edma driver was in terms of switching ChipSelects on a SPI bus between calls to DSPI_DRV_EdmaMasterTransferBlocking if one has more than one device on the same SPI bus.&lt;/P&gt;&lt;P&gt;It wasn’t clear what the expected methodology was supposed to be for accomplishing this, since the DSPI_DRV_EdmaMasterTransferBlocking call doesn’t have any way to specify chip select.&lt;/P&gt;&lt;P&gt;One way I was able to accomplish this, was to set the whichPcs field of dspi_edma_master_state_t for the desired chip select before making the DSPI_DRV_EdmaMasterTransferBlocking call.&lt;/P&gt;&lt;P&gt;One thing I needed to make sure of was when I called DSPI_DRV_EdmaMasterInit, that I specify all chip selects that I will use on the bus. Otherwise, the PCSIS field of SPIx_MCR reg won’t be set correctly, and chip select state won’t be correct when switching, leading to some unintended side effects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 16:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397344#M1326</guid>
      <dc:creator>gsosnow</dc:creator>
      <dc:date>2015-11-12T16:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: K24 SPI 2 instance using Edma in KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397345#M1327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reviewed the DSPI driver and I think that you are right. I reported this bug with the development team. I will keep you updated about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for contact the Freescale Technical Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 21:52:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397345#M1327</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-11-12T21:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: K24 SPI 2 instance using Edma in KSDK 1.3.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397346#M1328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion. The Kinetis SDK 2.0 DSPI driver already added the PCS select parameter for the transfer API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14537382836994243 jive_text_macro" data-renderedposition="92_8_1232_16" jivemacro_uid="_14537382836994243"&gt;&lt;P&gt;status_t DSPI_MasterTransferBlocking(SPI_Type *base, dspi_transfer_t *transfer);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14537382972415268 jive_macro_code jive_text_macro" data-renderedposition="129_8_1232_192" jivemacro_uid="_14537382972415268"&gt;&lt;P&gt;/*! @brief DSPI master/slave transfer structure.*/&lt;/P&gt;&lt;P&gt;typedef struct _dspi_transfer&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t *txData;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Send buffer. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8_t *rxData;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Receive buffer. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; volatile size_t dataSize; /*!&amp;lt; Transfer bytes. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; configFlags; /*!&amp;lt; Transfer transfer configuration flags , set from _dspi_transfer_config_flag_for_master if the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; transfer is used for master or _dspi_transfer_config_flag_for_slave enumeration if the transfer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is used for slave.*/&lt;/P&gt;&lt;P&gt;} dspi_transfer_t;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14537383144365674 jive_macro_code jive_text_macro" data-renderedposition="342_8_1232_352" jivemacro_uid="_14537383144365674"&gt;&lt;P&gt;/*! @brief Can use this enum for DSPI master transfer configFlags. */&lt;/P&gt;&lt;P&gt;enum _dspi_transfer_config_flag_for_master&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar0 = 0U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR0 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar1 = 1U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR1 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar2 = 2U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR2 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar3 = 3U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR3 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar4 = 4U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR4 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar5 = 5U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR5 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar6 = 6U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR6 setting. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterCtar7 = 7U &amp;lt;&amp;lt; DSPI_MASTER_CTAR_SHIFT, /*!&amp;lt; DSPI master transfer use CTAR7 setting. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs0 = 0U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS0 signal. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs1 = 1U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS1 signal. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs2 = 2U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS2 signal.*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs3 = 3U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS3 signal. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs4 = 4U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS4 signal. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcs5 = 5U &amp;lt;&amp;lt; DSPI_MASTER_PCS_SHIFT, /*!&amp;lt; DSPI master transfer use PCS5 signal. */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterPcsContinuous = 1U &amp;lt;&amp;lt; 20,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Is PCS signal continuous. */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kDSPI_MasterActiveAfterTransfer = 1U &amp;lt;&amp;lt; 21, /*!&amp;lt; Is PCS signal active after last frame transfer.*/&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt; color: #c55a11;"&gt;&lt;SPAN style="font-weight: bold;"&gt;/* If this post answers your question please click the Correct Answer button. */&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:12:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/K24-SPI-2-instance-using-Edma-in-KSDK-1-3-0/m-p/397346#M1328</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2016-01-25T16:12:19Z</dc:date>
    </item>
  </channel>
</rss>

