<?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: DDS implementation with KL25Z in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/DDS-implementation-with-KL25Z/m-p/401410#M2686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Franco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes , you can use two DMA channels for DAC converter .&lt;/P&gt;&lt;P&gt;1. The DAC conversion complete flag requests a DMA transfer for channel 1.&lt;/P&gt;&lt;P&gt;2. The channel 1 transfer finishes and the resulting value is transferred to the SRAM buffer.&lt;/P&gt;&lt;P&gt;3. Since channel 1 is linked to channel 0, the channel 1 finish requests a transfer start on channel 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a sample code (AN4590)about kineits K series , the DMA have some difference with KL25, while the process we can refer to .&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/search?client=search_all_results&amp;amp;site=fsl_en&amp;amp;proxystylesheet=search_style_fe&amp;amp;sort=date%3AD%3AL%3Ad1&amp;amp;oe=UTF-8&amp;amp;ie=UTF-8&amp;amp;ud=1&amp;amp;output=xml_no_dtd&amp;amp;exclude_apps=1&amp;amp;callback=ss_show&amp;amp;lang_cd=en&amp;amp;filter=0&amp;amp;getfields=*&amp;amp;baseUrl=http%3A%2F%2Fwww.freescale.com%2Fwebapp&amp;amp;SEARCH_OPERATOR=Contains&amp;amp;attempt=-1&amp;amp;rc=1&amp;amp;hl=en&amp;amp;dnavs=&amp;amp;q=AN4590" title="http://www.freescale.com/search?client=search_all_results&amp;amp;site=fsl_en&amp;amp;proxystylesheet=search_style_fe&amp;amp;sort=date%3AD%3AL%3Ad1&amp;amp;oe=UTF-8&amp;amp;ie=UTF-8&amp;amp;ud=1&amp;amp;output=xml_no_dtd&amp;amp;exclude_apps=1&amp;amp;callback=ss_show&amp;amp;lang_cd=en&amp;amp;filter=0&amp;amp;getfields=*&amp;amp;baseUrl=http%3A%2F%2Fwww.freescale.com%2Fwebapp&amp;amp;SEARCH_OPERATOR=Contains&amp;amp;attempt=-1&amp;amp;rc=1&amp;amp;hl=en&amp;amp;dnavs=&amp;amp;q=AN4590"&gt;Search Results: AN4590&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Fri, 16 Oct 2015 02:56:46 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2015-10-16T02:56:46Z</dc:date>
    <item>
      <title>DDS implementation with KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/DDS-implementation-with-KL25Z/m-p/401409#M2685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I have been trying to implement a DDS with the DMA peripheral of a KL25Z.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The basic Idea is to transfer one period of my signal without CPU intervention to a single memory location (DAC output register), periodically. THe sample time is commanded by the PIT tick.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could do it by reloading the DMA configuration in each period, within the DMA IRQ handler but I have the problem of the IRQ handler processing latency, so I was thinking a way of workarround that behavior.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I tried to use a second DMA channel, linked with the first one, to transfer the configuration for the 1rst channel when the signal period expired. But I could make it work. Is that possible to do?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is to have all the DDS process without CPU intervention.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tip will be apreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found many examples using the eDMA module (from another kinetis cpus) but s few for the DMA module of the KL25z one.&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;Franco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 00:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/DDS-implementation-with-KL25Z/m-p/401409#M2685</guid>
      <dc:creator>bukitoo</dc:creator>
      <dc:date>2015-10-16T00:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: DDS implementation with KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/DDS-implementation-with-KL25Z/m-p/401410#M2686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Franco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes , you can use two DMA channels for DAC converter .&lt;/P&gt;&lt;P&gt;1. The DAC conversion complete flag requests a DMA transfer for channel 1.&lt;/P&gt;&lt;P&gt;2. The channel 1 transfer finishes and the resulting value is transferred to the SRAM buffer.&lt;/P&gt;&lt;P&gt;3. Since channel 1 is linked to channel 0, the channel 1 finish requests a transfer start on channel 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a sample code (AN4590)about kineits K series , the DMA have some difference with KL25, while the process we can refer to .&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/search?client=search_all_results&amp;amp;site=fsl_en&amp;amp;proxystylesheet=search_style_fe&amp;amp;sort=date%3AD%3AL%3Ad1&amp;amp;oe=UTF-8&amp;amp;ie=UTF-8&amp;amp;ud=1&amp;amp;output=xml_no_dtd&amp;amp;exclude_apps=1&amp;amp;callback=ss_show&amp;amp;lang_cd=en&amp;amp;filter=0&amp;amp;getfields=*&amp;amp;baseUrl=http%3A%2F%2Fwww.freescale.com%2Fwebapp&amp;amp;SEARCH_OPERATOR=Contains&amp;amp;attempt=-1&amp;amp;rc=1&amp;amp;hl=en&amp;amp;dnavs=&amp;amp;q=AN4590" title="http://www.freescale.com/search?client=search_all_results&amp;amp;site=fsl_en&amp;amp;proxystylesheet=search_style_fe&amp;amp;sort=date%3AD%3AL%3Ad1&amp;amp;oe=UTF-8&amp;amp;ie=UTF-8&amp;amp;ud=1&amp;amp;output=xml_no_dtd&amp;amp;exclude_apps=1&amp;amp;callback=ss_show&amp;amp;lang_cd=en&amp;amp;filter=0&amp;amp;getfields=*&amp;amp;baseUrl=http%3A%2F%2Fwww.freescale.com%2Fwebapp&amp;amp;SEARCH_OPERATOR=Contains&amp;amp;attempt=-1&amp;amp;rc=1&amp;amp;hl=en&amp;amp;dnavs=&amp;amp;q=AN4590"&gt;Search Results: AN4590&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Fri, 16 Oct 2015 02:56:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/DDS-implementation-with-KL25Z/m-p/401410#M2686</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-10-16T02:56:46Z</dc:date>
    </item>
  </channel>
</rss>

