<?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>MPC5xxxのトピックRe: MPA5643L_eDMA</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503645#M2953</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;example 2 is correct. It's hexadecimal number, not binary...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, data queues should be power-of-2 size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, smod=5 creates buffer size 32 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;"0-modulo-size" - That's what I wrote in my last post: "If smod/dmod is used (different from 0) then saddr/daddr should be aligned accordingly. For example, if smod=3 then saddr should be aligned to 8 bytes."&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2016 11:50:15 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2016-04-18T11:50:15Z</dc:date>
    <item>
      <title>MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503638#M2946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;I think the code (AN4794) exists some errors..&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="min- padding: 0px; background: white;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Q1:Dma.c &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="margin-left: 21pt; text-indent: 0cm; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;about the DMA channel 1, there exist following codes,&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt; EDMA.CHANNEL[1].TCDWORD20_.B.CITER_E_LINK = 1; &lt;SPAN style="color: green;"&gt;//&amp;nbsp; link to channel 0 on minor loop&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt; EDMA.CHANNEL[1].TCDWORD20_.B.CITER_LINKCH = 0; &lt;SPAN style="color: green;"&gt;// &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt; EDMA.CHANNEL[1].TCDWORD28_.B.BITER_E_LINK = 0; &lt;SPAN style="color: green;"&gt;// no link on minor loop&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt; EDMA.CHANNEL[1].TCDWORD28_.B.BITER_LINKCH = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;In general ,we should configure the citer_e_link bit value equal to the biter_e_link bit value ,also citer_e_linkch and biter_e_linkch ,ortherwise a configuration error will be reported. &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="min- padding: 0px; background: white;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;My confusion is from the corresponding technical report(AN4794), the result is normal , but we can get some information from RM(reference mannul), f&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;ollowing is the description of the biter_e_link,&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: red;"&gt;“This is the initial value copied into the citer.e_link field when the major loop is completed&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #00b050;"&gt;. The citer.e_link field controls channel linking during channel execution.”&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt; From this,we can get if the maior loop is completed,then the the citer_e_link bit value will be decided by the biter_e_link bit value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="min- padding: 0px; background: white;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="145958_145958.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121373i91251CAA74150EE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="145958_145958.PNG" alt="145958_145958.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DMA_biter1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32092iF94BBB9659309136/image-size/large?v=v2&amp;amp;px=999" role="button" title="DMA_biter1.PNG" alt="DMA_biter1.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="min- padding: 0px; background: white;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt; If so,after completing one maior loop, then the &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #00b050;"&gt;citer.e_link &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;will becmome 0 ,the case is in direct contradiction to the principle the author proposed. I can’t understand how he could get the right result,is my understanding wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Thanks very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Yanna&lt;/SPAN&gt;&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-338279"&gt;dma.c.zip&lt;/A&gt;&lt;/STRONG&gt;&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-338279"&gt;AN4794SW.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 08:26:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503638#M2946</guid>
      <dc:creator>yanna</dc:creator>
      <dc:date>2016-04-14T08:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503639#M2947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Q2&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 宋体; color: #51626f;"&gt;：&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;I don’t quite understand how to configure smod and dmod bit of the TCD field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="margin-left: 21pt; text-indent: 0cm; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Example : (AN4794 codes) &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="margin-left: 24.15pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 宋体; color: #51626f;"&gt;、&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;uint64_t forceOut_conf[] = {0x0000000080400800, 0x0008008080300800, 0x0000000080400800, 0x0000008080300800};&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EDMA.CHANNEL[0].TCDWORD0_.B.SADDR = (uint32_t) (forceOut_conf);&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;// Source address&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EDMA.CHANNEL[0].TCDWORD4_.B.SMOD&amp;nbsp; = 5;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;//&amp;nbsp; Source address modulo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 宋体; color: #51626f;"&gt;、&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;uint8_t dma_gpio_toggle[2] =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {0x00, 0x01};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EDMA.CHANNEL[5].TCDWORD0_.B.SADDR = (uint32_t) (dma_gpio_toggle);&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;// Source Address&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-indent: 14.25pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EDMA.CHANNEL[5].TCDWORD4_.B.SMOD = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;//&amp;nbsp; Source address modulo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;(1)&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Why the smod bit value of channel 0 TCD is 5,and the smod bit value of channel 5 TCD is 1?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;(2)&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;If the value of the smod bit isn’t 1,did it show the source address is a circular data queue?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;(3)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Although there exists description about smod in RM(reference mannual),I still cann’t understand the antuor’s meaning ,could anyone express clearly again? Did anone have conrresponding example codes ? &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="margin-left: 21pt; text-indent: 0cm; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Thanks very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="margin-left: 21pt; text-indent: 0cm; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Yanna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 09:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503639#M2947</guid>
      <dc:creator>yanna</dc:creator>
      <dc:date>2016-04-14T09:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503640#M2948</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;this seems to be copy-paste issue in the AN software. It was not intention. citer.e_link and biter.e_link must be really the same. If not, error will be reported in eDMA Error Status register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From RM:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32103i0E46BDBCB571B8A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know the software in AN4797 but we should definitely follow this rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:07:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503640#M2948</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-04-14T10:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503641#M2949</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;smod creates circular buffer. It says how many LSB bits are used to increment the address. Upper bits in address remain untouched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example (1):&lt;/P&gt;&lt;P&gt;SADDR = 0x4000_0000&lt;/P&gt;&lt;P&gt;SOFF = 1&lt;/P&gt;&lt;P&gt;SMOD = 1 //only the last bit in address is touched when address is incremented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If more than two bytes are going to be transferred, following addresses will be used:&lt;/P&gt;&lt;P&gt;0x4000_0000&lt;/P&gt;&lt;P&gt;0x4000_0001&lt;/P&gt;&lt;P&gt;0x4000_0000&lt;/P&gt;&lt;P&gt;0x4000_0001&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example (2):&lt;/P&gt;&lt;P&gt;SADDR = 0x4000_0000&lt;/P&gt;&lt;P&gt;SOFF = 1&lt;/P&gt;&lt;P&gt;SMOD = 2 //only two last bits in address are touched when address is incremented&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If more than four bytes are going to be transferred, following addresses will be used:&lt;/P&gt;&lt;P&gt;0x4000_0000&lt;/P&gt;&lt;P&gt;0x4000_0001&lt;/P&gt;&lt;P&gt;0x4000_0002&lt;/P&gt;&lt;P&gt;0x4000_0003&lt;/P&gt;&lt;P&gt;0x4000_0000&lt;/P&gt;&lt;P&gt;0x4000_0001&lt;/P&gt;&lt;P&gt;0x4000_0002&lt;/P&gt;&lt;P&gt;0x4000_0003&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If smod/dmod is used (different from 0) then saddr/daddr should be aligned accordingly. For example, if smod=3 then saddr should be aligned to 8 bytes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 06:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503641#M2949</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-04-15T06:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503642#M2950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Hi, Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Thanks very much! Your explanation is very clear.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;There is a clerical error in example 2 . It should be &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;0x4000_0000&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;0x4000_0001&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;0x4000_0002&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4000_00&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: red;"&gt;10 &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;0x4000_0003&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;0x4000_00&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: red;"&gt;11&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;0x4000_0000&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;0x4000_0001&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;0x4000_0002&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4000_00&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: red;"&gt;10&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;0x4000_0003&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4000_00&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: red;"&gt;11&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;In summary,&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="margin-left: 42pt; text-indent: 21pt; background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;if SMOD = 1,only the last bit in address can be changed(one byte).&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;if SMOD = 2,only the last two bits in address can be changed(four bytes).&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if SMOD = 3,only the last three bits in address can be changed(eight bytes).&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;therefore ,the data queues requiring power-of-2 “size” bytes,is it right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32410i7BD4338592B7C5D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;In AN4797 code example(attachment),&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;uint64_t forceOut_conf[] = {0x0000000080400800, 0x0008008080300800, 0x0000000080400800, 0x0000008080300800};&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt; EDMA.CHANNEL[0].TCDWORD0_.B.SADDR = (uint32_t) (forceOut_conf);&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;// Source address&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt; EDMA.CHANNEL[0].TCDWORD4_.B.SMOD = 5;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;//&amp;nbsp; Source address modulo&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Because the &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;forceOut_conf[] &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;data queques totally have 32 size bytes, it needs change five address bits. So,the smod bit is 5,is it right?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Another question: what does "0-modulo-size" mean?&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Thanks very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Yanna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 08:01:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503642#M2950</guid>
      <dc:creator>yanna</dc:creator>
      <dc:date>2016-04-18T08:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503643#M2951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Hi, Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;The code and technical report are in attachment(above).&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32380i580092F23E2B5A15/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;I think if the citer_e_link bit value isn’t equal to the biter_e_link bit value, getting the right waveform isn’t possible. &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;I think the author of AN4794(Yves Briant) may revise the codes while doing experiment ,but the codes in website remain unmodified.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Thanks very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Yanna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 08:29:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503643#M2951</guid>
      <dc:creator>yanna</dc:creator>
      <dc:date>2016-04-18T08:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503644#M2952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left" style="background: white;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Q3&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; font-family: 宋体; color: #51626f;"&gt;：&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Priority&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;In An4794, the author said that &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: red;"&gt;The DMA transfer for the force-out configuration should have the highest priority over other DMA transfers., &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;that means , the channel 0 and 1 should have the higher priority over the channel 4 and 5. But in codes,the author violate the priciple.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="AN4794_codes_pririty.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32386i6638E36C6EEB5E1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="AN4794_codes_pririty.PNG" alt="AN4794_codes_pririty.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Thanks very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Yanna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 08:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503644#M2952</guid>
      <dc:creator>yanna</dc:creator>
      <dc:date>2016-04-18T08:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503645#M2953</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;example 2 is correct. It's hexadecimal number, not binary...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, data queues should be power-of-2 size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, smod=5 creates buffer size 32 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;"0-modulo-size" - That's what I wrote in my last post: "If smod/dmod is used (different from 0) then saddr/daddr should be aligned accordingly. For example, if smod=3 then saddr should be aligned to 8 bytes."&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 11:50:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503645#M2953</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-04-18T11:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503646#M2954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will ping Yves if he can comment...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 11:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503646#M2954</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-04-18T11:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503647#M2955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Hi,Lukas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Sorry,I’m wrong. You are right.&amp;nbsp; ‑_-&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Thanks very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Yanna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 01:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503647#M2955</guid>
      <dc:creator>yanna</dc:creator>
      <dc:date>2016-04-19T01:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503648#M2956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Hi,Lukas.&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lukaszadrapa"&gt;lukaszadrapa&lt;/A&gt;​&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;I think AN4794 exists some clarical errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/skins/images/B6DA735FF71A258A22DFE49B13E35F09/responsive_peak/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/skins/images/B6DA735FF71A258A22DFE49B13E35F09/responsive_peak/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/skins/images/B6DA735FF71A258A22DFE49B13E35F09/responsive_peak/images/image_not_found.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Thanks very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Yanna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 01:41:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503648#M2956</guid>
      <dc:creator>yanna</dc:creator>
      <dc:date>2016-04-20T01:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503649#M2957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, there are a few typos in the note and in the code itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regarding the eDMA channel 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;channel 1 should be configured to link to channel 0 on minor loop, and to not link on major loop. The code actually configured a link to channel 0 on *major* loop, and no link on minor loop (the inconsistent setting of biter_e_linkch=0 and citer_e_linkch=1 results in no link on minor loop). It still worked in spite of this mistake because it only caused a shift of one channel1 transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regarding the DMA priority:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Small mistake there, as the DMA channel priorities only affect the behaviour of the DMA when there are some concurrent requests, which is not the case here because all DMA requests are time-triggered. I will change the code to this configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="font-size: 10pt;"&gt; ConfigureDMA_Priorities(&lt;/SPAN&gt;&lt;SPAN style="color: #7f0055; font-size: 10pt;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) {&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;/* Priorities */&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DCHPRI0&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;R&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = 4;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DCHPRI1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;R&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = 3;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DCHPRI2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;R&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = 5;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DCHPRI3&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;R&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = 2;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DCHPRI4&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;R&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = 1;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DCHPRI5&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;R&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = 0;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;//channel5 should have a lower priority than channel 4&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regarding the note itself:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I realize that the table 1 pages 11-12 has a lot of typos, I should correct the values of the offsets and of the source size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to have a new revision of the note published on nxp.com. I will keep you informed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for looking so carrefully at my application note, you are a fantastic reviewer !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 16:09:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503649#M2957</guid>
      <dc:creator>yvesbriant</dc:creator>
      <dc:date>2016-04-29T16:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503650#M2958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Hi,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt; Yves&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;Thanks for your reply!&amp;nbsp; Your application note help me a lot for understanding the basic consepts about FlexPWM and CTU and DMA .&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;I think a good review should be someone who propose valuable ideas other than point out some small typos. :smileyhappy:&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;I have another question about DMA_MUX source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;In AN4794, when the counter reach the value of VAL0(SUB0 and SUB1 of FlexPWM_0), a DMA transfer will occur.(configure FlexPWM registers ) So the corresponding DMA source bit equal 12(comp_val).&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="AN4794_generation of DMA request.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56751i198A8547197ED0BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="AN4794_generation of DMA request.PNG" alt="AN4794_generation of DMA request.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="AN4794_DMA source 12.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56788i55A411E1612FA7E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="AN4794_DMA source 12.PNG" alt="AN4794_DMA source 12.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;My understanding is if we set the &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt;VALDE &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;bit and configure the DMA channel source equal 12 (enable DMA,) then the counter reach the value of VALx(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: red; background: white;"&gt;x=0,1,2,3,4,5&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;),a DMA transfer will occur. Is it right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt; FLEXPWM_0.SUB[0].DMAEN.B.VALDE = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;//Enable DMA&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.5pt; font-family: 新宋体;"&gt; DMAMUX.CHCONFIG[1].B.SOURCE = 12;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;//FlexPWM write request&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;If it is right, then the VAL2(3…) register not only VAL0 cause a DMA transfer, is it right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;But from the waveform of AN4794, we can know that the DMA transfer occur only when the counter reach the VAL0 value, did there exist the register which select the VALx write request to the comp_val signal?&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;Addition: &lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;Strictly, if a DMA transfer occur when FIFO 0 contains 4 ADC results, then FIFO 0 threthold should be 0x3. Is it right? &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="AN4794_FIFO.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56630iB2B92BD0D630EC05/image-size/large?v=v2&amp;amp;px=999" role="button" title="AN4794_FIFO.png" alt="AN4794_FIFO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;Thanks very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 11.5pt; font-family: 'Arial',sans-serif; color: #51626f; background: white;"&gt;Yanna &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 12:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503650#M2958</guid>
      <dc:creator>yanna</dc:creator>
      <dc:date>2016-05-03T12:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503651#M2959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regarding the DMA triggers by the FlexPWM:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the chapter 2.4.1, the AN describes shortly when the FlexPWM can trigger a DMA transfer. Basically, a DMA transfer can be triggered at each reload event, ie when the submodule's counter reaches the value of VAL0 (=half reload, because VAL0 is "traditionnaly" 0, ie in the middle of the PWM period) and/or VAL1 (=full reload because this events occurs at the end of the PWM period). No DMA transfer is triggered if the submodule counter reaches VAL2, VAL3, VAL4 or VAL5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a reload event, the double buffered values of the VALx registers (among others) are taken into account. The principle is to trigger a DMA transfer on these events to "reload" the values of the VALx registers (among others) for the next period or half period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if the bit CTRL1[HALF] is set, then half-cylce reloads are enabled, and a DMA transfer will be triggered when the submodule counter reaches VAL0. In addition if the bit CTRL1[FULL] is set, then full-cycle relaods are enabled, and a DMA transfer will be triggerd when the submodule counter reaches VAL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regarding the CTU FIFO:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You are true, a DMA transfer from the FIFO is triggered when the number of entries in that FIFO exceeds the threshold value. So a threshold of 3 would have been more logical. But since the FIFO0 has 16 entries, there is no problem with a setting of 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 09:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503651#M2959</guid>
      <dc:creator>yvesbriant</dc:creator>
      <dc:date>2016-05-17T09:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: MPA5643L_eDMA</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503652#M2960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P align="left" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11.5pt; font-family: Arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11.5pt; font-family: Arial, sans-serif; background-position: initial;"&gt; Yves&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;/P&gt;&lt;P align="left" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11.5pt; font-family: Arial, sans-serif; background-position: initial;"&gt;Thanks for your reply!&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11.5pt; font-family: Arial, sans-serif; background-position: initial;"&gt;&lt;SPAN style="color: #51626f; font-family: Arial, sans-serif; font-size: 15.3333px;"&gt; I got it. Yes,&lt;/SPAN&gt; you are right. &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11.5pt; font-family: Arial, sans-serif; background-position: initial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-weight: inherit; font-size: 15.3333px; font-family: Arial, sans-serif; font-style: inherit; background-position: initial;"&gt;Best regards!&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11.5pt; font-family: Arial, sans-serif; background-position: initial;"&gt;Yanna&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 11.5pt; font-family: Arial, sans-serif; background-position: initial;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 02:30:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPA5643L-eDMA/m-p/503652#M2960</guid>
      <dc:creator>yanna</dc:creator>
      <dc:date>2016-05-19T02:30:47Z</dc:date>
    </item>
  </channel>
</rss>

