<?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>Kinetis Microcontrollers中的主题 Re: Need help with configuring eDMA Software TCD for two-level dma transfer</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613034#M36331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;XiangJun Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the configuration you recommended.&amp;nbsp; However, I get a DBE (Destination Bus Error) after the 2nd TCD loads (using SGA).&amp;nbsp;&amp;nbsp;The documentation is not very clear on all the causes for getting a Bus Error. &amp;nbsp;The eDMA stops with the SADDR = 1FFF14A0 and the DADDR = 43FE0808.&amp;nbsp; I should have been clear that the destination addresses are peripheral registers and should be written 32bits at a time.&amp;nbsp; The source addresses are memory addresses where the data and software TCDs are stored. I am pasting the software TCD's that I create based upon your earlier configuration suggestion.&amp;nbsp; The only thing different in the TCDs are the minor loop offsets and the addresses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;#1 ga_swtcd_start[0]&amp;nbsp;edma_software_tcd_t&amp;nbsp;{...}&amp;nbsp;0x1fff1f40&lt;BR /&gt;&amp;nbsp;SADDR&amp;nbsp;uint32_t&amp;nbsp;0x1fff148c&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ATTR&amp;nbsp;uint16_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NBYTES&amp;nbsp;uint32_t&amp;nbsp;0x403fd002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SLAST&amp;nbsp;uint32_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DADDR&amp;nbsp;uint32_t&amp;nbsp;0x4004a008&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DLAST_SGA&amp;nbsp;uint32_t&amp;nbsp;0x1fff1f60&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CSR&amp;nbsp;uint16_t&amp;nbsp;0x11&amp;nbsp;&lt;BR /&gt;&amp;nbsp;BITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;#2 ga_swtcd_start[1]&amp;nbsp;edma_software_tcd_t&amp;nbsp;{...}&amp;nbsp;0x1fff1f60&lt;BR /&gt;&amp;nbsp;SADDR&amp;nbsp;uint32_t&amp;nbsp;0x1fff149c&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ATTR&amp;nbsp;uint16_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NBYTES&amp;nbsp;uint32_t&amp;nbsp;0x4009f002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SLAST&amp;nbsp;uint32_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DADDR&amp;nbsp;uint32_t&amp;nbsp;0x43fe0808&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DLAST_SGA&amp;nbsp;uint32_t&amp;nbsp;0x1fff1f80&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CSR&amp;nbsp;uint16_t&amp;nbsp;0x11&amp;nbsp;&lt;BR /&gt;&amp;nbsp;BITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;#3 ga_swtcd_start[2]&amp;nbsp;edma_software_tcd_t&amp;nbsp;{...}&amp;nbsp;0x1fff1f80&lt;BR /&gt;&amp;nbsp;SADDR&amp;nbsp;uint32_t&amp;nbsp;0x1fff14ac&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ATTR&amp;nbsp;uint16_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NBYTES&amp;nbsp;uint32_t&amp;nbsp;0x4009f002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SLAST&amp;nbsp;uint32_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DADDR&amp;nbsp;uint32_t&amp;nbsp;0x43fe1000&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DLAST_SGA&amp;nbsp;uint32_t&amp;nbsp;0x1fff1fa0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CSR&amp;nbsp;uint16_t&amp;nbsp;0x11&amp;nbsp;&lt;BR /&gt;&amp;nbsp;BITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My initial configuration was to use a minor loop for the first 2 32bit transfers, then a major loop to offset the destination address for the 2nd set of 32bit transfers, but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp; Duane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2017 21:15:52 GMT</pubDate>
    <dc:creator>wildhorsemusic</dc:creator>
    <dc:date>2017-01-17T21:15:52Z</dc:date>
    <item>
      <title>Need help with configuring eDMA Software TCD for two-level dma transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613031#M36328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks, I am building an application that will use the eDMA in the Kinetis K64F&amp;nbsp;MCU.&amp;nbsp;I need help in setting up the eDMA as a two-level dma transfer.&lt;/P&gt;&lt;P&gt;I am just focused on one TCD for the moment (once I understand the configuration case, I can replicate it in other areas of my code).&lt;/P&gt;&lt;P&gt;1) I am transferring 32bits of data per transfer.&lt;/P&gt;&lt;P&gt;2) The transfer will be triggered by a single software trigger by setting the CR.START to true.&lt;/P&gt;&lt;P&gt;3) Here's a list of software and hardware addresses:&lt;/P&gt;&lt;TABLE height="227" style="width: 493px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;&lt;STRONG&gt;OFFSET&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 119px; background-color: transparent;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; SOURCE&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 40px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 136px; background-color: transparent;"&gt;&lt;STRONG&gt;DESTINATION&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; OFFSET&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 119px; background-color: transparent;"&gt;0x1FFF1480&lt;/TD&gt;&lt;TD style="border: 0px black; width: 40px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 136px; background-color: transparent;"&gt;0x4004A008&lt;/TD&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;0x4&lt;/TD&gt;&lt;TD style="border: 0px black; width: 119px; background-color: transparent;"&gt;0x1FFF1484&lt;/TD&gt;&lt;TD style="border: 0px black; width: 40px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 136px; background-color: transparent;"&gt;0x4004A00C&lt;/TD&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;0x4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;0x4&lt;/TD&gt;&lt;TD style="border: 0px black; width: 119px; background-color: transparent;"&gt;0x1FFF1488&lt;/TD&gt;&lt;TD style="border: 0px black; width: 40px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 136px; background-color: transparent;"&gt;0x4004B000&lt;/TD&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;0xFF4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;0x4&lt;/TD&gt;&lt;TD style="border: 0px black; width: 119px; background-color: transparent;"&gt;0x1FFF148C&lt;/TD&gt;&lt;TD style="border: 0px black; width: 40px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 136px; background-color: transparent;"&gt;0x4004B004&lt;/TD&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;0x4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 119px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 40px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 136px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px black; width: 82px; background-color: transparent;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="5" style="border: 0px black; width: 459px; background-color: transparent;"&gt;&lt;EM&gt;*Note: Source &amp;amp; Destination sizes are 4 bytes (32bits)&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) I believe that the entire transfer will have to be done using minor and major loops, along with minor and major channel linking back to itself in order to trigger the channel requests&lt;/P&gt;&lt;P&gt;4) I know that I can do it by breaking it into two transfers, but I'd rather get a two-level configuration working because it will save me some memory on extra swTCD's.&lt;/P&gt;&lt;P&gt;5) Here's what I think the swTCD should look like:&lt;/P&gt;&lt;P&gt;SADDR&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1FFF1480&amp;nbsp;&lt;BR /&gt;SOFF&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4&amp;nbsp;&lt;BR /&gt;ATTR&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x202&amp;nbsp;&lt;BR /&gt;NBYTES&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x8&amp;nbsp;&lt;BR /&gt;SLAST&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&amp;nbsp;&lt;BR /&gt;DADDR&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4004A008&amp;nbsp;&lt;BR /&gt;DOFF&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xFF4&amp;nbsp;&lt;BR /&gt;CITER&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2&amp;nbsp;&lt;BR /&gt;DLAST_SGA =&amp;nbsp;0x0&lt;BR /&gt;CSR&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1&amp;nbsp;&lt;BR /&gt;BITER&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;DMA_BWR_CR_CLM(DMA_UNIT, true);&lt;BR /&gt;DMA_BWR_CR_EMLM(DMA_UNIT,true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I close?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 05:32:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613031#M36328</guid>
      <dc:creator>wildhorsemusic</dc:creator>
      <dc:date>2017-01-13T05:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with configuring eDMA Software TCD for two-level dma transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613032#M36329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Duane,&lt;/P&gt;&lt;P&gt;From your description, it seems that you want to transfer 2&amp;nbsp; words from the base address 0x1FFF1480 to the destination address 0x4004A008, transfer another two word from base address 0x1FFF1488 to the destination address 0x4004B000. If it is the case, because the destination address is not continuous, as you said that you can use the channel link mode or minor/major loop mode to implement the scheme.&lt;/P&gt;&lt;P&gt;In minor/major loop mode, this is the key register setting:&lt;/P&gt;&lt;P&gt;CR[EMLM] = 1;&lt;/P&gt;&lt;P&gt;DMA_TCDn_NBYTES_MLOFFYES=(1&amp;lt;&amp;lt;30)|(0xff4&amp;lt;&amp;lt;10)|0x02;&lt;/P&gt;&lt;P&gt;SOFF&amp;nbsp;= DOFF= &amp;nbsp;&amp;nbsp; 0x4;&lt;/P&gt;&lt;P&gt;BITER&amp;nbsp;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is okay, pls have a try.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 09:37:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613032#M36329</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-01-16T09:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with configuring eDMA Software TCD for two-level dma transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613033#M36330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you&amp;nbsp;XiangJun Rong,&lt;/P&gt;&lt;P&gt;I will try it shortly and let you know.&lt;/P&gt;&lt;P&gt;So, I thought that I could use the DOFF value to adjust the destination address once for every BITER?&amp;nbsp; The documentation does not give many examples that show how to configure a 2-level transfer with channel linking to trigger the subsequent DMA Requests after the initial Software Trigger.&amp;nbsp; I need to be able to start a whole series of transfers with a single Software Trigger, with Channel Linking and SGA combinations.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Duane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 04:13:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613033#M36330</guid>
      <dc:creator>wildhorsemusic</dc:creator>
      <dc:date>2017-01-17T04:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with configuring eDMA Software TCD for two-level dma transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613034#M36331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;XiangJun Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the configuration you recommended.&amp;nbsp; However, I get a DBE (Destination Bus Error) after the 2nd TCD loads (using SGA).&amp;nbsp;&amp;nbsp;The documentation is not very clear on all the causes for getting a Bus Error. &amp;nbsp;The eDMA stops with the SADDR = 1FFF14A0 and the DADDR = 43FE0808.&amp;nbsp; I should have been clear that the destination addresses are peripheral registers and should be written 32bits at a time.&amp;nbsp; The source addresses are memory addresses where the data and software TCDs are stored. I am pasting the software TCD's that I create based upon your earlier configuration suggestion.&amp;nbsp; The only thing different in the TCDs are the minor loop offsets and the addresses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;#1 ga_swtcd_start[0]&amp;nbsp;edma_software_tcd_t&amp;nbsp;{...}&amp;nbsp;0x1fff1f40&lt;BR /&gt;&amp;nbsp;SADDR&amp;nbsp;uint32_t&amp;nbsp;0x1fff148c&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ATTR&amp;nbsp;uint16_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NBYTES&amp;nbsp;uint32_t&amp;nbsp;0x403fd002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SLAST&amp;nbsp;uint32_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DADDR&amp;nbsp;uint32_t&amp;nbsp;0x4004a008&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DLAST_SGA&amp;nbsp;uint32_t&amp;nbsp;0x1fff1f60&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CSR&amp;nbsp;uint16_t&amp;nbsp;0x11&amp;nbsp;&lt;BR /&gt;&amp;nbsp;BITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;#2 ga_swtcd_start[1]&amp;nbsp;edma_software_tcd_t&amp;nbsp;{...}&amp;nbsp;0x1fff1f60&lt;BR /&gt;&amp;nbsp;SADDR&amp;nbsp;uint32_t&amp;nbsp;0x1fff149c&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ATTR&amp;nbsp;uint16_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NBYTES&amp;nbsp;uint32_t&amp;nbsp;0x4009f002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SLAST&amp;nbsp;uint32_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DADDR&amp;nbsp;uint32_t&amp;nbsp;0x43fe0808&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DLAST_SGA&amp;nbsp;uint32_t&amp;nbsp;0x1fff1f80&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CSR&amp;nbsp;uint16_t&amp;nbsp;0x11&amp;nbsp;&lt;BR /&gt;&amp;nbsp;BITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;#3 ga_swtcd_start[2]&amp;nbsp;edma_software_tcd_t&amp;nbsp;{...}&amp;nbsp;0x1fff1f80&lt;BR /&gt;&amp;nbsp;SADDR&amp;nbsp;uint32_t&amp;nbsp;0x1fff14ac&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ATTR&amp;nbsp;uint16_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NBYTES&amp;nbsp;uint32_t&amp;nbsp;0x4009f002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SLAST&amp;nbsp;uint32_t&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DADDR&amp;nbsp;uint32_t&amp;nbsp;0x43fe1000&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DOFF&amp;nbsp;uint16_t&amp;nbsp;0x4&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DLAST_SGA&amp;nbsp;uint32_t&amp;nbsp;0x1fff1fa0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CSR&amp;nbsp;uint16_t&amp;nbsp;0x11&amp;nbsp;&lt;BR /&gt;&amp;nbsp;BITER&amp;nbsp;uint16_t&amp;nbsp;0x8002&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My initial configuration was to use a minor loop for the first 2 32bit transfers, then a major loop to offset the destination address for the 2nd set of 32bit transfers, but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp; Duane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 21:15:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613034#M36331</guid>
      <dc:creator>wildhorsemusic</dc:creator>
      <dc:date>2017-01-17T21:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with configuring eDMA Software TCD for two-level dma transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613035#M36332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;XiangJun Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the other problems that I keep having is when I write to addresses in the BitBand area.&amp;nbsp; I get a DBE error, no matter what I do.&amp;nbsp; After doing some research, I discovered that the eDMA cannot access the BitBand area. While it is described in the K64 Sub-Family Reference Manual, Rev. 2, January 2014, it is not described in the eDMA section.&amp;nbsp; This is SO FRUSTRATING!&amp;nbsp; I spent, all this time working on a solution to find that the eDMA won't work in this application.&amp;nbsp; This kind of critical information should be highlighted in the key areas that apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have to find a work around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 04:57:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613035#M36332</guid>
      <dc:creator>wildhorsemusic</dc:creator>
      <dc:date>2017-01-18T04:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with configuring eDMA Software TCD for two-level dma transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613036#M36333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Duane,&lt;/P&gt;&lt;P&gt;You are right, the eDMA can not access the&amp;nbsp; address in the BitBand area.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 06:31:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613036#M36333</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-01-18T06:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with configuring eDMA Software TCD for two-level dma transfer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613037#M36334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;XiangJun Rong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I ask you for assistance on this TCD configuration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;SADDR&amp;nbsp;&amp;nbsp;0x1fff14bc&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SOFF&amp;nbsp;&amp;nbsp;0x1&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ATTR&amp;nbsp;&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NBYTES&amp;nbsp;&amp;nbsp;0x14&amp;nbsp;&lt;BR /&gt;&amp;nbsp;SLAST&amp;nbsp;&amp;nbsp;0x0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DADDR&amp;nbsp;&amp;nbsp;0x1fff12c0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DOFF&amp;nbsp;&amp;nbsp;0x1&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CITER&amp;nbsp;&amp;nbsp;0x1&amp;nbsp;&lt;BR /&gt;&amp;nbsp;DLAST_SGA&amp;nbsp;0x1fff1fa0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CSR&amp;nbsp;&amp;nbsp;0x13&amp;nbsp;&lt;BR /&gt;&amp;nbsp;BITER&amp;nbsp;&amp;nbsp;0x1&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to transfer 5 DWORDS from one memory location to another.&amp;nbsp; However, I keep getting NCE errors.&lt;/P&gt;&lt;P&gt;I have tried configuring it as ATTR = 0202 with SOFF/DOFF = 4, but I keep getting an NCE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is really basic stuff, but I seem to be missing something.&amp;nbsp; By the way what does it mean to have a 0-modulo-address-boundary?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 07:22:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Need-help-with-configuring-eDMA-Software-TCD-for-two-level-dma/m-p/613037#M36334</guid>
      <dc:creator>wildhorsemusic</dc:creator>
      <dc:date>2017-01-20T07:22:42Z</dc:date>
    </item>
  </channel>
</rss>

