<?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: 32-Bit DMA Transfer Not Correctly Functioning in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422070#M4591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt;​ are you able to help here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2015 16:07:59 GMT</pubDate>
    <dc:creator>karina_valencia</dc:creator>
    <dc:date>2015-08-10T16:07:59Z</dc:date>
    <item>
      <title>32-Bit DMA Transfer Not Correctly Functioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422069#M4590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently trying to do a DMA transfer into an eDMA register related to an SPI transfer and it does not seem to be correctly working for some reason.&amp;nbsp; This is on a Vybrid VF6XX processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I manually do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//DMA30_EEI, DMA30_CEEI, DMA30_CERQ = ignore,&amp;nbsp; DMA30_SERQ = enable SPI DMA&lt;/P&gt;&lt;P&gt;*(uint32_t*)0x40098018 = (30&amp;lt;&amp;lt;24) + 0x808080;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the SPI launches no problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use another DMA channel to transfer the memory into 0x40098018, the SPI does not start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uint32_t test[1];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test[0] = (30&amp;lt;&amp;lt;24) + 0x808080;&lt;/P&gt;&lt;P&gt;transferDescriptor.SRC_ADDR&amp;nbsp; = (uint32_t)((uint32_t *)&amp;amp;(test[0]));&lt;/P&gt;&lt;P&gt;transferDescriptor.DST_ADDR&amp;nbsp; = (uint32_t) (0x40098018);&lt;/P&gt;&lt;P&gt;transferDescriptor.SRC_WIDTH = 4;&lt;/P&gt;&lt;P&gt;transferDescriptor.SRC_MODULO = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.SRC_OFFSET = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.DST_MODULO = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.DST_OFFSET = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.DST_WIDTH = 4;&lt;/P&gt;&lt;P&gt;transferDescriptor.LOOP_BYTES = 4;&lt;/P&gt;&lt;P&gt;transferDescriptor.LOOP_COUNT = 1;&lt;/P&gt;&lt;P&gt;transferDescriptor.LOOP_SRC_OFFSET = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.LOOP_DST_OFFSET = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dma_request_enable(transferChannel);&lt;/P&gt;&lt;P&gt;dma_transfer_submit(transferChannel, &amp;amp;transferDescriptor, NULL);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the same DMA channel and do an 8-bit transfer instead of 32-bit transfer, the SPI DOES start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uint8_t test[1];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test[0] = (30);&lt;/P&gt;&lt;P&gt;transferDescriptor.SRC_ADDR&amp;nbsp; = (uint32_t)((uint32_t *)&amp;amp;(test[0]));&lt;/P&gt;&lt;P&gt;transferDescriptor.DST_ADDR&amp;nbsp; = (uint32_t) (0x4009801b);&lt;/P&gt;&lt;P&gt;transferDescriptor.SRC_WIDTH = 1;&lt;/P&gt;&lt;P&gt;transferDescriptor.SRC_MODULO = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.SRC_OFFSET = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.DST_MODULO = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.DST_OFFSET = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.DST_WIDTH = 1;&lt;/P&gt;&lt;P&gt;transferDescriptor.LOOP_BYTES = 1;&lt;/P&gt;&lt;P&gt;transferDescriptor.LOOP_COUNT = 1;&lt;/P&gt;&lt;P&gt;transferDescriptor.LOOP_SRC_OFFSET = 0;&lt;/P&gt;&lt;P&gt;transferDescriptor.LOOP_DST_OFFSET = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dma_request_enable(transferChannel);&lt;/P&gt;&lt;P&gt;dma_transfer_submit(transferChannel, &amp;amp;transferDescriptor, NULL);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what's going on here?&amp;nbsp; I need to be able to do this with a 32-bit DMA transfer instead of an 8-bit DMA transfer, so that I can also modify another 32-bit register with an incremented offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 13:26:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422069#M4590</guid>
      <dc:creator>nathanb_</dc:creator>
      <dc:date>2015-08-07T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit DMA Transfer Not Correctly Functioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422070#M4591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt;​ are you able to help here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:07:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422070#M4591</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2015-08-10T16:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit DMA Transfer Not Correctly Functioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422071#M4592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this issue being encountered when running Linux, or MQX? Or, is MQX running alongside MQX?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Timesys Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 17:58:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422071#M4592</guid>
      <dc:creator>timesyssupport</dc:creator>
      <dc:date>2015-08-10T17:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit DMA Transfer Not Correctly Functioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422072#M4593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Timesys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux is running on the A5&lt;/P&gt;&lt;P&gt;MQX is running on the M4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX is setting up and running the DMA transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue occurs whether or not Linux is running (if I sit in u-boot, the same thing happens)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 18:23:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422072#M4593</guid>
      <dc:creator>nathanb_</dc:creator>
      <dc:date>2015-08-10T18:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit DMA Transfer Not Correctly Functioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422073#M4594</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;Just to clarify, you are trying to modify the configuration of a DMA module with a DMA transfer from a different one, correct?&lt;/P&gt;&lt;P&gt;I wonder if just linking channels or the scatter gather feature may help. Is there a restriction to use that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 20:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422073#M4594</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-08-10T20:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit DMA Transfer Not Correctly Functioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422074#M4595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct.&amp;nbsp; Yes I am trying to modify the config of a DMA module with a DMA transfer from a different module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linking channels with an 8-bit transfer and a 32-bit transfer would work for us, I think.&amp;nbsp; I don't believe we have any restrictions.&amp;nbsp; We just need a way to set DMAx_TCDn_DADDR and DMAx_SERQ from another DMAy transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 20:20:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422074#M4595</guid>
      <dc:creator>nathanb_</dc:creator>
      <dc:date>2015-08-10T20:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit DMA Transfer Not Correctly Functioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422075#M4596</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;We have examples for scatter-gather and channel linking for other architectures. Please refer to the attached examples. The DMA module and DMA MUX is quite similar and it should be very easy to migrate the configuration to Vybrid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 16:34:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422075#M4596</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-08-17T16:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: 32-Bit DMA Transfer Not Correctly Functioning</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422076#M4597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using an interrupt to do it at the moment now.&amp;nbsp; I will investigate moving it to a channel linked DMA when I get a chance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 11:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/422076#M4597</guid>
      <dc:creator>nathanb_</dc:creator>
      <dc:date>2015-08-19T11:46:33Z</dc:date>
    </item>
    <item>
      <title>This an automatic process.  We are marking this post as s...</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/1137419#M6095</link>
      <description>&lt;B&gt;This an automatic process.&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;
We are marking this post as solved, due to the either low activity or any reply marked as correct.&lt;BR /&gt;&lt;BR /&gt;
If you have additional questions, please create a new post and reference to this closed post.&lt;BR /&gt;&lt;BR /&gt;
NXP Community!</description>
      <pubDate>Thu, 03 Sep 2020 17:07:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/32-Bit-DMA-Transfer-Not-Correctly-Functioning/m-p/1137419#M6095</guid>
      <dc:creator>CommunityBot</dc:creator>
      <dc:date>2020-09-03T17:07:20Z</dc:date>
    </item>
  </channel>
</rss>

