<?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>MQX Software Solutions中的主题 Re: Use of DMA</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386311#M12872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arno,&lt;/P&gt;&lt;P&gt;Attached is my example of getting the DMA complete callback function to be called.&lt;/P&gt;&lt;P&gt;I started with the mqx/examples/hello2 project and used the TWR-K70F120M (and CW10.6) for MQX4.1.1.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 17:49:14 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2015-01-06T17:49:14Z</dc:date>
    <item>
      <title>Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386310#M12871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a K70 with MQX 4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the LCDC controller of the K70.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want modify my controller driver to use the DMA to copy a new image to the image buffer used by the LCDC (given by LCDC_LSSAR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then currently I have the following code: (This code copy a picture from&amp;nbsp; pGet to pPut (LSSAR = Pput)&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14204624337555668" jivemacro_uid="_14204624337555668"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 8pt;"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Top; Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&amp;lt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (Top &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;+&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Height); Row&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;++&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)
 &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;STRONG&gt;defined&lt;/STRONG&gt;(PEG_MULT_SOFT_SURFACES)
 pGet &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (PEGCOLOR *)mpCompositeBuffer;
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#else&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (PEG_ORIENTATION &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;==&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; PEG_ORIENTATION_ROTATE_CW)
 pGet &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (PEGCOLOR *)(pSurface&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;pScanPointers[mHRes&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;-&lt;/STRONG&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;]);
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#else&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 pGet &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (PEGCOLOR *)(pSurface&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;pScanPointers[&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;] &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;-&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; mVRes);
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#endif&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#endif&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 
 
 pPut &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (PEGCOLOR *)mpVidMemBase;
 pGet &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;+=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (mVRes &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;*&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;+&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Left);
 pPut &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;+=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (mVRes &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;*&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;+&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Left);
 
 
 &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt;"&gt;for&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Column &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; Column &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;&amp;lt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Width ; Column&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;++&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)
 &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 8pt;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 
 pPut[Column] &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; pGet[Column];&amp;nbsp; 
 &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 &lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The picture is 480x800 pixel of two bytes (65K color) with mVRes = 800. Top, Left, Width, Height allow to indicate wich part of the picture refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I want use the DMA because this copy take about 30ms!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following code:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14204625932582354" jivemacro_uid="_14204625932582354"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;SRC_ADDR&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (uint32_t)pGet;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;SRC_WIDTH&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;SRC_OFFSET&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&amp;nbsp; 
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;SRC_MODULO&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;DST_ADDR&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (uint32_t)pPut;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;DST_WIDTH&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;DST_OFFSET&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&amp;nbsp; 
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;DST_MODULO&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOOP_BYTES&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Width &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;*&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOOP_COUNT&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Height;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOOP_SRC_OFFSET &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (mVRes &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;-&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Width) *&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOOP_DST_OFFSET &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (mVRes &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;-&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; Width) *&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 
 &lt;STRONG&gt;dma_channel_claim&lt;/STRONG&gt;(&amp;amp;lcd_dma_channel_handle, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;);
 &lt;STRONG&gt;dma_channel_setup&lt;/STRONG&gt;(lcd_dma_channel_handle, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;);
 &lt;STRONG&gt;dma_callback_reg&lt;/STRONG&gt;(lcd_dma_channel_handle,(DMA_EOT_CALLBACK)(my_CallBack),&amp;amp;Copy);
 &lt;STRONG&gt;dma_request_source&lt;/STRONG&gt;(lcd_dma_channel_handle, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;54&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); 
 &lt;STRONG&gt;dma_transfer_submit&lt;/STRONG&gt;(lcd_dma_channel_handle, &amp;amp;lcd_dma_tcd, &amp;amp;lcd_dma_tcd_seq);
 &lt;STRONG&gt;dma_request_enable&lt;/STRONG&gt;(lcd_dma_channel_handle);
 &lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But transfer not start. I don't now where is my mistake?&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;I try with a simpliest code to copy a simple buffer but nothing work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 12:58:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386310#M12871</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-01-05T12:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386311#M12872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arno,&lt;/P&gt;&lt;P&gt;Attached is my example of getting the DMA complete callback function to be called.&lt;/P&gt;&lt;P&gt;I started with the mqx/examples/hello2 project and used the TWR-K70F120M (and CW10.6) for MQX4.1.1.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 17:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386311#M12872</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-01-06T17:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386312#M12873</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;Then the only difference is the call to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;_int_install_unexpected_isr&lt;/STRONG&gt;();&lt;BR /&gt; &lt;STRONG&gt;_int_install_exception_isr&lt;/STRONG&gt;();&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;What is the aim of this two command?&lt;/P&gt;&lt;P&gt;I will try by adding its...but I like understand what&amp;nbsp; I do, then the aim of these commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 06:41:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386312#M12873</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-01-07T06:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386313#M12874</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;In fact, my system use SPI which is configured to use DAM channel 0 to 3, then there was a conflict on my new request on channel 0 was rejected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use now the channel 6 and all work correctly now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your help.:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 08:06:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386313#M12874</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-01-07T08:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386314#M12875</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;I have other problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the DMA to transfer data corresponding to a picture to display on a LCD screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My picture has 800 x 480 pixels. Each pixel is codded on 2 bytes (65k Colors)&lt;/P&gt;&lt;P&gt;Then my picture take in a buffer 780000 Bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My driver function must be capable to copy all the picture or only a part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then my pointer source pGet point on the first pixel to copy. Same for pPut which is the destination buffer.&lt;/P&gt;&lt;P&gt;Width is the number of pixel on a line to copy and Height is the number of (partial) line to copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14206271867897709" jivemacro_uid="_14206271867897709"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;SRC_ADDR&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = (&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)pGet;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;SRC_WIDTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 2;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;SRC_OFFSET&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 2;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;SRC_MODULO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 0;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DST_ADDR&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = (&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)pPut;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DST_WIDTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 2;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DST_OFFSET&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 2;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DST_MODULO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 0;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;LOOP_BYTES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = Width * 2;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;LOOP_COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = Height;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;LOOP_SRC_OFFSET&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = (&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;mHRes&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; - Width) *2;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;LOOP_DST_OFFSET&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = (&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;mHRes&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; - Width) *2;&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code work when the size of picture to refresh&amp;nbsp; is small.&lt;/P&gt;&lt;P&gt;But if my picture take a big part or all the picture (800x480) I have many problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;LOOP_BYTES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = Width * 2; = 800*2 = 1600. But It seems the MQX (and/or DMA hardware) limit to 1024 bytes...:smileyconfused:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To try, When width = 800 and height = 480, I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14206271867519934" jivemacro_uid="_14206271867519934"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;SRC_ADDR&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = (&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)pGet;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;SRC_WIDTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 2;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;SRC_OFFSET&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 2;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;SRC_MODULO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 0;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DST_ADDR&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = (&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;uint32_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)pPut;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DST_WIDTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 2;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DST_OFFSET&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 2;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;DST_MODULO&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 0;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;LOOP_BYTES&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 800;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;LOOP_COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; = 960;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;LOOP_SRC_OFFSET&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = 0;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; lcd_dma_tcd.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: 10pt;"&gt;LOOP_DST_OFFSET&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; = 0;&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the software bug, transfert is not complete, only some pixel are copied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, do you have an Idea to can make a copy on a complete buffer / and on a partial buffer which represent only a specified rectangular zone on the picture?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another point: the speed transfer.&lt;/P&gt;&lt;P&gt;I don't find where the DMA clock is configured. My CPU Clock is 150MHz. But when I Copy an entire buffer (780KByte) this seems take between 150 to 200ms. If clock is 150MHz, this couls take 0.78/150 = 5ms.. ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 10:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386314#M12875</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-01-07T10:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386315#M12876</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;Finaly, bellow is the used code to copy my picture. In fact, I decide to copy always all the picture even if PEG ask copy only a specific zone.&lt;/P&gt;&lt;P&gt;Then I have the code bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14206376569785306" jivemacro_uid="_14206376569785306"&gt;
&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 8pt;"&gt;&lt;STRONG&gt;static&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; DMA_TCD lcd_dma_tcd;
 &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt;"&gt;static&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; DMA_CHANNEL_HANDLE lcd_dma_channel_handle;
 &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt;"&gt;static&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; uint32_t lcd_dma_tcd_seq;
 &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt;"&gt;static&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; uint32_t lcd_dma_tcd_remaining;
 
 pGet &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (PEGCOLOR *)(pSurface&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;-&amp;gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;pScanPointers[&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;]);
 pPut &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (PEGCOLOR *)mpVidMemBase;
 
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;SRC_ADDR&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (uint32_t)pGet;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;SRC_WIDTH&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;SRC_OFFSET&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;SRC_MODULO&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;DST_ADDR&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (uint32_t)pPut;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;DST_WIDTH&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;DST_OFFSET&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;DST_MODULO&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOOP_BYTES&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;960&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOOP_COUNT&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;800&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOOP_SRC_OFFSET &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 lcd_dma_tcd&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;.&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOOP_DST_OFFSET &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;
 
 Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;STRONG&gt;dma_channel_claim&lt;/STRONG&gt;(&amp;amp;lcd_dma_channel_handle, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 8pt;"&gt;/* DES get available channel handle */&lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;STRONG&gt;dma_channel_setup&lt;/STRONG&gt;(lcd_dma_channel_handle, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 8pt;"&gt;/* DES setup to use slot #1 */&lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;STRONG&gt;dma_callback_reg&lt;/STRONG&gt;(lcd_dma_channel_handle,(DMA_EOT_CALLBACK)(LcdDma_CallBack),NULL);
 Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;STRONG&gt;dma_request_source&lt;/STRONG&gt;(lcd_dma_channel_handle, &lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;54&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 8pt;"&gt;/* DES DMAMUX "always enabled" */&lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 
 &lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 8pt;"&gt;/* ensure that the semaphore is at zero count */&lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt;"&gt;while&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;STRONG&gt;_lwsem_poll&lt;/STRONG&gt;(&amp;amp;lcd_dma_sem)) &lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-size: 8pt;"&gt;{}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 
 Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;STRONG&gt;dma_transfer_submit&lt;/STRONG&gt;(lcd_dma_channel_handle, &amp;amp;lcd_dma_tcd, &amp;amp;lcd_dma_tcd_seq);
 
 Row &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;STRONG&gt;dma_request_enable&lt;/STRONG&gt;(lcd_dma_channel_handle); &lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 8pt;"&gt;//DES start DMA transfer
 &lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; 
 &lt;/SPAN&gt;&lt;EM style=": ; color: #008000; font-size: 8pt;"&gt;/* Wait DMA callBack post semaphore */&lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;
 &lt;STRONG&gt;_lwsem_wait&lt;/STRONG&gt;(&amp;amp;lcd_dma_sem);
 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This copy take about 22ms (May be can you confirm this time and justify it?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have a problem.&lt;/P&gt;&lt;P&gt;I use spi bus and as soon as first dma transfer is done for the lcd panel, all spi write/read are blocked in _dspi_dma_transfer by a lwsem_wait(xx)...&lt;/P&gt;&lt;P&gt;It seem they wait DMA interrupt which never come!..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why. My SPI are configured to use channel&amp;nbsp; 0,1,2,3:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14206378478165166 jive_text_macro jive_macro_code" jivemacro_uid="_14206378478165166"&gt;
&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; BSP_DSPI0_DMA_RX_CHANNEL (&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; BSP_DSPI0_DMA_TX_CHANNEL (&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; BSP_DSPI0_DMA_RX_SOURCE (&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;16&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; BSP_DSPI0_DMA_TX_SOURCE (&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;17&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)
 
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; BSP_DSPI1_DMA_RX_CHANNEL (&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; BSP_DSPI1_DMA_TX_CHANNEL (&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; BSP_DSPI1_DMA_RX_SOURCE (&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;18&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)
 &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 8pt;"&gt;#define&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; BSP_DSPI1_DMA_TX_SOURCE (&lt;/SPAN&gt;&lt;SPAN style="color: #808000; font-size: 8pt;"&gt;19&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an idea to help me:smileycry:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:37:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386315#M12876</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-01-07T13:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386316#M12877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nobody to help me?:smileyplain:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 07:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386316#M12877</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-01-09T07:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386317#M12878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get back to this.&lt;/P&gt;&lt;P&gt;Sorry for delay.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 19:34:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386317#M12878</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-01-09T19:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386318#M12879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will wait your back.&lt;/P&gt;&lt;P&gt;:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 06:49:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386318#M12879</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-01-12T06:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386319#M12880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arno,&lt;/P&gt;&lt;P&gt;In general the current implementation of the eDMA driver does have a size limitation.&lt;/P&gt;&lt;P&gt;I have studied the code and found a workaround that you can try.&lt;/P&gt;&lt;P&gt;Please note that the DMA is setup to transfer 32-bits (4 bytes) at a time.  Please check to see if Endian-ness is not affecting your image.  If it is then code needs additional modifications.&lt;/P&gt;&lt;P&gt;I’m attaching the two test files I have.  Hello.c from the hello2 MQX4.1.1\mqx\examples.&lt;/P&gt;&lt;P&gt;And edma.c from the BSP.  The change was to use the minor loop NBYTES 32-bit register to transfer the entire contiguous memory block rather than the major loop counter that is limited to 15 bits.&lt;/P&gt;&lt;P&gt;The hello.c has many comments to explain the test setup.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 18:58:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386319#M12880</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-01-15T18:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386320#M12881</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;Thank for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will test this.&lt;/P&gt;&lt;P&gt;Else have you an explication why other SPI transfert (using DMA) are stopped when I'm using DMA for IMAGE transfert?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 06:18:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386320#M12881</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-01-16T06:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386321#M12882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arno,&lt;/P&gt;&lt;P&gt;The eDMA example for the image transfer is setup to move the entire image in one transfer which consumes a relatively big amount of time (as compared to transferring a smaller block) which would block other eDMA transfers.&lt;/P&gt;&lt;P&gt;You can alter the Bandwidth Control setting for the image transfer by changing the BWC field in the DMA_TCD_CSR register.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 15:42:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386321#M12882</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-01-16T15:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Use of DMA</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386322#M12883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find the following text in the MQX 4.1.1 ReleaseNote&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQX_Release_Notes.pdf?fasp=1" title="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQX_Release_Notes.pdf?fasp=1"&gt;http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQX_Release_Notes.pdf?fasp=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG style=": ; font-size: 14pt; text-decoration: underline;"&gt;5 Known Issues and Limitations&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DSPI issues related to the DMA usage&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;When the DSPI uses the eDMA, it may transfer data incorrectly or fail when eDMA is used for another purpose. If the DSPI&lt;/P&gt;
&lt;P&gt;driver is the only user of eDMA, it should operate correctly. This behavior is a result of the silicon design of the DSPI. DMA&lt;/P&gt;
&lt;P&gt;usage can be disabled in the DSPI driver by redefining the macro BSPCFG_DSPIx_USE_DMA to 0 in user_config.h.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this explain my problem, but not indicate to me if this problem will be correct in a futur version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 15:50:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Use-of-DMA/m-p/386322#M12883</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-02-24T15:50:33Z</dc:date>
    </item>
  </channel>
</rss>

