<?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: FRDM-K64F SAI fails to transmit (example project) in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467825#M3671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! This is a good start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 May 2016 18:56:18 GMT</pubDate>
    <dc:creator>jacobjennings</dc:creator>
    <dc:date>2016-05-16T18:56:18Z</dc:date>
    <item>
      <title>FRDM-K64F SAI fails to transmit (example project)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467823#M3669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a very simple PX KDSK1.3 project with only an SAI module added, which blocks during initialization on a call to SAI_DRV_TxSetIntCmd due to a continuously firing ISR. The call to &lt;SPAN style="color: #799ebf;"&gt;SAI_DRV_SendDataDma in main never happens.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would really help is a working example of double-buffered (largest buffer possible) I2S master receive and transmit via eDMA, which might also resolve &lt;A _jive_internal="true" data-containerid="11234" data-containertype="14" data-objectid="335561" data-objecttype="1" href="https://community.nxp.com/thread/335561"&gt;Here's an example for using SAI w/EDMA without the SND API (K22)..&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 20:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467823#M3669</guid>
      <dc:creator>jacobjennings</dc:creator>
      <dc:date>2016-05-12T20:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F SAI fails to transmit (example project)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467824#M3670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the driver code is not used for DMA case, and you might have to implement it based on HAL driver, but so far there is no sai DMA ksdk demo available, I just have the bare metal code for your reference, you may find it in the attachment, please refer to sai_dma_test() in sai_test.c for details. This project is for K70, but should be helpful for K64.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&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>Mon, 16 May 2016 08:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467824#M3670</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2016-05-16T08:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F SAI fails to transmit (example project)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467825#M3671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! This is a good start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 18:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467825#M3671</guid>
      <dc:creator>jacobjennings</dc:creator>
      <dc:date>2016-05-16T18:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F SAI fails to transmit (example project)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467826#M3672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the example provided, I attempted to replicate a similar setup using the SAI and EDMA HAL in KSDK1.3 directly for SAI transmit only today. I have attached my test project which produces a bit clock and (incorrect) frame clock, but does not seem to trigger the DMA channel to start moving data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22642iC152B38382213440/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone has experience with SAI I would appreciate any advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 00:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467826#M3672</guid>
      <dc:creator>jacobjennings</dc:creator>
      <dc:date>2016-05-19T00:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F SAI fails to transmit (example project)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467827#M3673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Today, I extracted the "sai_dma_test" method from the validation code provided by &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Kan"&gt;Kan&lt;/A&gt;​ and set it up in a KDS project targeting the FRDM-K64 with only it's necessary dependencies, and I also set up UART to act as a terminal. I got the exact same results with this method as I got interfacing with the KSDK 1.3 SAI / EDMA HAL in my previous post. PTC1 remains low while PTC2, PTC3 show a valid frame sync and bit clock signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the complete KDS project demonstrating the issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 22:06:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467827#M3673</guid>
      <dc:creator>jacobjennings</dc:creator>
      <dc:date>2016-05-19T22:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F SAI fails to transmit (example project)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467828#M3674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question is marked "Assumed answered", I can't seem to figure out how to undo that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 22:07:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467828#M3674</guid>
      <dc:creator>jacobjennings</dc:creator>
      <dc:date>2016-05-19T22:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F SAI fails to transmit (example project)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467829#M3675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After bare metal, KSDK 1.3 driver, KSDK 1.3 HAL layer approaches failed, using the KSDK 2.0 driver, I have found success in transmitting data over SAI using EDMA on the FRDM-K64F. I have not made a register-level comparison between them to determine the core issue, and probably will not, preferring to migrate my existing code to KSDK 2.0 (can't wait for kinetis expert release!) I have attached the example project for posterity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 22:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-SAI-fails-to-transmit-example-project/m-p/467829#M3675</guid>
      <dc:creator>jacobjennings</dc:creator>
      <dc:date>2016-05-23T22:48:20Z</dc:date>
    </item>
  </channel>
</rss>

