<?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: Estimating DMA controller load</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Estimating-DMA-controller-load/m-p/683018#M42035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your way sounds reasonable.&lt;/P&gt;&lt;P&gt;It also could using a PIT to periodic trigger the DMA as eDMA working pulse shows:&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/10260iE59E197D83D72061/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;The DMA transfer could toggle a GPIO pin.&lt;/P&gt;&lt;P&gt;Customer could short the PIT period interval to check if the eDMA engineer could response the trigger.&lt;/P&gt;&lt;P&gt;If the eDMA with heavy load, the periodic trigger will be ignored.&lt;/P&gt;&lt;P&gt;More detailed info, please check below picture:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/10307i1BCFF16F2B61636C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attached a PIT periodic trigger DMA example for your reference.&lt;/P&gt;&lt;P&gt;Thank you for the attention.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 03 Aug 2017 07:43:23 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2017-08-03T07:43:23Z</dc:date>
    <item>
      <title>Estimating DMA controller load</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Estimating-DMA-controller-load/m-p/683017#M42034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm making fairly heavy use of DMA in a project, considerably more than I've used in any previous project. &amp;nbsp;I have high speed (&amp;gt;= 1 mbps) UART traffic, I2S, DAC and ADC samples, and probably SPI a little later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm curious if there are any good tools or techniques for keeping an eye on how busy the DMA controller is, and ideally also how much load is hitting the bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only idea I've come up with so far would be to set up a channel with the lowest possible priority to send alternating 1s and 0s to a GPIO, where it could be monitored with a logic analyzer, the idea being that any gaps in the pattern would represent times the DMA controller was busy with higher-priority requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that reasonable? &amp;nbsp;Are there other ways to approach it? &amp;nbsp;I've done a little searching and haven't come up with anything, but I may not be using the right search terms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 21:55:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Estimating-DMA-controller-load/m-p/683017#M42034</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2017-07-25T21:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Estimating DMA controller load</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Estimating-DMA-controller-load/m-p/683018#M42035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your way sounds reasonable.&lt;/P&gt;&lt;P&gt;It also could using a PIT to periodic trigger the DMA as eDMA working pulse shows:&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/10260iE59E197D83D72061/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;The DMA transfer could toggle a GPIO pin.&lt;/P&gt;&lt;P&gt;Customer could short the PIT period interval to check if the eDMA engineer could response the trigger.&lt;/P&gt;&lt;P&gt;If the eDMA with heavy load, the periodic trigger will be ignored.&lt;/P&gt;&lt;P&gt;More detailed info, please check below picture:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/10307i1BCFF16F2B61636C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attached a PIT periodic trigger DMA example for your reference.&lt;/P&gt;&lt;P&gt;Thank you for the attention.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 03 Aug 2017 07:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Estimating-DMA-controller-load/m-p/683018#M42035</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-08-03T07:43:23Z</dc:date>
    </item>
  </channel>
</rss>

