<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MPC5748G eDMA register configuration error in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-eDMA-register-configuration-error/m-p/515471#M3383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have some problem when configuring eDMA register in MPC5748G.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121728i7AACCA38564F966B/image-size/large?v=v2&amp;amp;px=999" title="153029_153029.png" alt="153029_153029.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59997i4CCBA5B40D0B6FE5/image-size/large?v=v2&amp;amp;px=999" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The code "pDMA-&amp;gt;SEEI.R = (vuint8_t)channel" will cause an error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121729iFE9315FAA5EF5EAD/image-size/large?v=v2&amp;amp;px=999" title="153030_153030.png" alt="153030_153030.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60037i14790DB2B6BDE8B5/image-size/large?v=v2&amp;amp;px=999" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And then the project could not run normally.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121730iA32478AE58CBA38D/image-size/large?v=v2&amp;amp;px=999" title="153031_153031.png" alt="153031_153031.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60079i0FB5AB4A452C9EA0/image-size/large?v=v2&amp;amp;px=999" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The attachment is my project.&lt;/P&gt;&lt;P&gt;What mistake that I have made?&lt;/P&gt;&lt;P&gt;And what can be helpful to deal with it ?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qian&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-338331"&gt;mpc5748g_Z4_1.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2016 15:59:54 GMT</pubDate>
    <dc:creator>shifeiqian</dc:creator>
    <dc:date>2016-06-06T15:59:54Z</dc:date>
    <item>
      <title>MPC5748G eDMA register configuration error</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-eDMA-register-configuration-error/m-p/515471#M3383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have some problem when configuring eDMA register in MPC5748G.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121728i7AACCA38564F966B/image-size/large?v=v2&amp;amp;px=999" title="153029_153029.png" alt="153029_153029.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59997i4CCBA5B40D0B6FE5/image-size/large?v=v2&amp;amp;px=999" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The code "pDMA-&amp;gt;SEEI.R = (vuint8_t)channel" will cause an error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121729iFE9315FAA5EF5EAD/image-size/large?v=v2&amp;amp;px=999" title="153030_153030.png" alt="153030_153030.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60037i14790DB2B6BDE8B5/image-size/large?v=v2&amp;amp;px=999" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And then the project could not run normally.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121730iA32478AE58CBA38D/image-size/large?v=v2&amp;amp;px=999" title="153031_153031.png" alt="153031_153031.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60079i0FB5AB4A452C9EA0/image-size/large?v=v2&amp;amp;px=999" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The attachment is my project.&lt;/P&gt;&lt;P&gt;What mistake that I have made?&lt;/P&gt;&lt;P&gt;And what can be helpful to deal with it ?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qian&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-338331"&gt;mpc5748g_Z4_1.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-eDMA-register-configuration-error/m-p/515471#M3383</guid>
      <dc:creator>shifeiqian</dc:creator>
      <dc:date>2016-06-06T15:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G eDMA register configuration error</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-eDMA-register-configuration-error/m-p/515472#M3384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at first, you program crashed in this function:&lt;/P&gt;&lt;P&gt;void DMAMUX_HAL_Init(struct DMAMUX_tag *pDMAMUX)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (i = 0; i &amp;lt; FSL_FEATURE_DMAMUX_MODULE_CHANNELS; i++)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pDMAMUX-&amp;gt;CHCFG[i].R = (uint8_t)0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot initialize all 32 DMAMUX channels, because there are two peripherals and their address spaces are not linked.&lt;/P&gt;&lt;P&gt;DMAMUX0 channel 15 has address FFF6_C00F&lt;/P&gt;&lt;P&gt;DMAMUX1 channel 1 has address FFF6_C200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to change the pointer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About problem you mention in your post, pDMA pointer has value NULL, so it can point everywhere. This is the root cause of the IVOR0 exception.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60733i1EB92B5CBC37B138/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 06:47:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-eDMA-register-configuration-error/m-p/515472#M3384</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-06-07T06:47:36Z</dc:date>
    </item>
  </channel>
</rss>

