<?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 DMA and serial in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/DMA-and-serial/m-p/321432#M22</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning..&lt;/P&gt;&lt;P&gt;I have used the SDK for starting the DMA and the serial rx.&lt;/P&gt;&lt;P&gt;I used the same guidelines as in the edma spi example. It works fine for the first&lt;/P&gt;&lt;P&gt;round. But I need to be circularly updating the buffer endlessly. How to modify for?&lt;/P&gt;&lt;P&gt;The code is attached.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update . I see I receive a TCDn_DLASTSGA error. The address of the descriptor is fine. I don t know...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339010"&gt;DMA.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 11:27:50 GMT</pubDate>
    <dc:creator>pietrodicastri</dc:creator>
    <dc:date>2014-06-19T11:27:50Z</dc:date>
    <item>
      <title>DMA and serial</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/DMA-and-serial/m-p/321432#M22</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning..&lt;/P&gt;&lt;P&gt;I have used the SDK for starting the DMA and the serial rx.&lt;/P&gt;&lt;P&gt;I used the same guidelines as in the edma spi example. It works fine for the first&lt;/P&gt;&lt;P&gt;round. But I need to be circularly updating the buffer endlessly. How to modify for?&lt;/P&gt;&lt;P&gt;The code is attached.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update . I see I receive a TCDn_DLASTSGA error. The address of the descriptor is fine. I don t know...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339010"&gt;DMA.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 11:27:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/DMA-and-serial/m-p/321432#M22</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2014-06-19T11:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and serial</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/DMA-and-serial/m-p/321433#M23</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TCDn_DLASTSGA or TCDn_SLASTSGA must be set to [-(minus) buffer length in bytes] when using a circular buffer.&lt;/P&gt;&lt;P&gt;If you are using no displacement at either the source or destination set TCDn_SLASTSGA or TCDn_DLASTSGA = 0 [you may find some devices don't reset this value to 0 and that then causes an error when the mode is enabled, if it is not specifically initialised by code].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 18:50:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/DMA-and-serial/m-p/321433#M23</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-06-19T18:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: DMA and serial</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/DMA-and-serial/m-p/321434#M24</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You for the help. I need to understand more. In the RM at page 503/504 I read when the scatter gather is enabled TCDn_CSR[ESG] = 1, the DMA_TCDn_DLASTSGA is referring to the TDC next to be loaded in the channel itself. The TCDn_DLASTSGA is pointing to the software TCD already used for the first iteration of the service, but now is no more good. So I need to have a clear vision of it is happening. I fluently depend on DMA on this application.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;P.S.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Somewhere I remember there is a code for handling the double buffering with DMA and ADC, probably for the KwikStik, if You drop a link for the app note I am interested.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 06:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/DMA-and-serial/m-p/321434#M24</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2014-06-20T06:43:34Z</dc:date>
    </item>
  </channel>
</rss>

