<?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 Configuration for DMA Engine 2 Direct Mode for MPC8306 in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/DMA-Configuration-for-DMA-Engine-2-Direct-Mode-for-MPC8306/m-p/483305#M1399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We want to configure a DMA Direct Mode in the DMA engine 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see in the MPC8306 Reference Manual for the register configuration, and I have a question regarding the DMAMR register.&lt;/P&gt;&lt;P&gt;The register DMAMR definition for the &lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;DRCNT&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt; is not clear. This bits is defined as "DMA request count. This field specifies the number of cache lines transferred per DMA request assertion".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;We need to know&lt;/SPAN&gt; the relationship between &lt;SPAN&gt;the definition&lt;/SPAN&gt; of these bits with the DMA &lt;SPAN&gt;size value&lt;/SPAN&gt; set in the &lt;SPAN&gt;register&lt;/SPAN&gt; &lt;SPAN&gt;DMABCR.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;For example, if we configura a 128 Byte DMA which value should be programed in the DMAMR[DRCNT].&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2016 13:18:55 GMT</pubDate>
    <dc:creator>manuelojea</dc:creator>
    <dc:date>2016-04-06T13:18:55Z</dc:date>
    <item>
      <title>DMA Configuration for DMA Engine 2 Direct Mode for MPC8306</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/DMA-Configuration-for-DMA-Engine-2-Direct-Mode-for-MPC8306/m-p/483305#M1399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We want to configure a DMA Direct Mode in the DMA engine 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see in the MPC8306 Reference Manual for the register configuration, and I have a question regarding the DMAMR register.&lt;/P&gt;&lt;P&gt;The register DMAMR definition for the &lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;DRCNT&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt; is not clear. This bits is defined as "DMA request count. This field specifies the number of cache lines transferred per DMA request assertion".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;We need to know&lt;/SPAN&gt; the relationship between &lt;SPAN&gt;the definition&lt;/SPAN&gt; of these bits with the DMA &lt;SPAN&gt;size value&lt;/SPAN&gt; set in the &lt;SPAN&gt;register&lt;/SPAN&gt; &lt;SPAN&gt;DMABCR.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;For example, if we configura a 128 Byte DMA which value should be programed in the DMAMR[DRCNT].&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 13:18:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/DMA-Configuration-for-DMA-Engine-2-Direct-Mode-for-MPC8306/m-p/483305#M1399</guid>
      <dc:creator>manuelojea</dc:creator>
      <dc:date>2016-04-06T13:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Configuration for DMA Engine 2 Direct Mode for MPC8306</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/DMA-Configuration-for-DMA-Engine-2-Direct-Mode-for-MPC8306/m-p/483306#M1400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;DRCNT specifies the number of cache lines transferred per DMA request assertion&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;If DRCNT=0b0101 then 32 bytes are transferred per DMA request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;BWC field determines how many data a given channel is allowed to transfer after it is granted access to the IOS interface and before it releases the interface to the next channel. This parameter doesn't allow a single channel to monopolize IOS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;The MPC8306 provides internal DMA request signals. This processor does not have external DMA request signal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;Values the DRCNT and BWC provide different IOS interface utilization and bus loading.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; color: black;"&gt;Set the DMAMR[DRCNT] to 4 cache lines if 128 bytes data transfers is needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&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>Thu, 07 Apr 2016 06:45:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/DMA-Configuration-for-DMA-Engine-2-Direct-Mode-for-MPC8306/m-p/483306#M1400</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2016-04-07T06:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: DMA Configuration for DMA Engine 2 Direct Mode for MPC8306</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/DMA-Configuration-for-DMA-Engine-2-Direct-Mode-for-MPC8306/m-p/483307#M1401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;I have another question:&lt;/P&gt;&lt;P&gt;The DMAMR[DRCNT] counter is limited to 1,2,4,8,16 and 32.&lt;/P&gt;&lt;P&gt;This means that DMA access can not be made of, for example, 160 bytes, because for this size the value in the register should be 5 cache lines.&lt;/P&gt;&lt;P&gt;In this case, we should configure the value in DMAMR[DRCNT] to 4 and the DMA engine mades to requests to transfer the 5 cache lines or we should configure to the next higher value to transfer 5 cache lines and then the DMA engine stops the accesses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Manuel Ojea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 07:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/DMA-Configuration-for-DMA-Engine-2-Direct-Mode-for-MPC8306/m-p/483307#M1401</guid>
      <dc:creator>manuelojea</dc:creator>
      <dc:date>2016-04-07T07:23:45Z</dc:date>
    </item>
  </channel>
</rss>

