<?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>Digital Signal ControllersのトピックMC56F82748 Problem with setting DMA SCI</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82748-Problem-with-setting-DMA-SCI/m-p/603879#M858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have problem with setting DMA SCI on peripheral request.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* initialise SYS module */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(SYS, SYS_INIT, NULL);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* configure COP module */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(COP, COP_INIT, NULL);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* configure all GPIO modules */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(PIT_1, PIT_INIT, NULL);&lt;/P&gt;&lt;P&gt;ioctl(GPIO, GPIO_INIT_ALL, NULL);&lt;/P&gt;&lt;P&gt;ioctl(XBAR_A, XBAR_A_INIT,NULL);&lt;/P&gt;&lt;P&gt;ioctl(SCI_1, SCI_DMA_TRANSMITTER, SCI_ENABLE);&lt;/P&gt;&lt;P&gt;ioctl(SCI_1, SCI_DMA_RECEIVER, SCI_ENABLE);&lt;/P&gt;&lt;P&gt;ioctl(SCI_1, SCI_INIT, NULL);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ioctl(DMA, DMA_CH0_CLEAR_STATE_MACHINE_CONTROL, NULL);&lt;/P&gt;&lt;P&gt;ioctl(DMA_0,DMA_SET_SOURCE_ADDRESS,0x00E094);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ioctl(DMA_0,DMA_SET_DESTINATION_ADDRESS, (&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: small;"&gt;UWord32&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;)&amp;amp;data2); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(DMA_0, DMA_SET_PERIPHERAL_REQUEST, DMA_ENABLE);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ioctl(DMA, DMA_CH1_CLEAR_STATE_MACHINE_CONTROL, NULL);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ioctl(DMA_1,DMA_SET_SOURCE_ADDRESS,(&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: small;"&gt;UWord32&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;)&amp;amp;data); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ioctl(DMA_1,DMA_SET_DESTINATION_ADDRESS, 0x00E094&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/*(UWord32)&amp;amp;ArchIO.Sci1.&lt;SPAN style="text-decoration: underline;"&gt;scidr&lt;/SPAN&gt;)*/&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(DMA_1, DMA_SET_PERIPHERAL_REQUEST, DMA_ENABLE);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// While stepping through the program occurs here setting the bit CE in register DMA_DSR_BCR1.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175682_175682.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122812i398D88F65EE92B66/image-size/large?v=v2&amp;amp;px=999" role="button" title="175682_175682.png" alt="175682_175682.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16441690_1569488916402571_1049989739_n.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13009i88231F31554D0CCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="16441690_1569488916402571_1049989739_n.png" alt="16441690_1569488916402571_1049989739_n.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ioctl(DMA, DMA_INIT, NULL);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* initialise interrupt controller and enable interrupts */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(INTC, INTC_INIT, NULL);&lt;/P&gt;&lt;P&gt;archEnableInt();&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other setting in GCT:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175683_175683.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122813i47A4C44AB5ED770C/image-size/large?v=v2&amp;amp;px=999" role="button" title="175683_175683.PNG" alt="175683_175683.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Výstřižek.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13051i5A8F90011B00B811/image-size/large?v=v2&amp;amp;px=999" role="button" title="Výstřižek.PNG" alt="Výstřižek.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175684_175684.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122814i9BE12F9C59C1D0CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="175684_175684.PNG" alt="175684_175684.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Výstřižek.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13075iF01A637921B9B687/image-size/large?v=v2&amp;amp;px=999" role="button" title="Výstřižek.PNG" alt="Výstřižek.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175685_175685.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122815i481EB9997E1C95E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="175685_175685.PNG" alt="175685_175685.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Výstřižek.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13114i9FC7A7CDF7C53608/image-size/large?v=v2&amp;amp;px=999" role="button" title="Výstřižek.PNG" alt="Výstřižek.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175686_175686.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122816iA6EC712D39584520/image-size/large?v=v2&amp;amp;px=999" role="button" title="175686_175686.PNG" alt="175686_175686.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Výstřižek.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13174i139DE3B39E727045/image-size/large?v=v2&amp;amp;px=999" role="button" title="Výstřižek.PNG" alt="Výstřižek.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In Attached is the full code. Does anyone know what is wrong set? Thank you very much&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yours Sincerely&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin Smolák&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-337801"&gt;DMA_test.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Feb 2017 11:57:06 GMT</pubDate>
    <dc:creator>martinsmolak</dc:creator>
    <dc:date>2017-02-05T11:57:06Z</dc:date>
    <item>
      <title>MC56F82748 Problem with setting DMA SCI</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82748-Problem-with-setting-DMA-SCI/m-p/603879#M858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have problem with setting DMA SCI on peripheral request.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* initialise SYS module */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(SYS, SYS_INIT, NULL);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* configure COP module */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(COP, COP_INIT, NULL);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* configure all GPIO modules */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(PIT_1, PIT_INIT, NULL);&lt;/P&gt;&lt;P&gt;ioctl(GPIO, GPIO_INIT_ALL, NULL);&lt;/P&gt;&lt;P&gt;ioctl(XBAR_A, XBAR_A_INIT,NULL);&lt;/P&gt;&lt;P&gt;ioctl(SCI_1, SCI_DMA_TRANSMITTER, SCI_ENABLE);&lt;/P&gt;&lt;P&gt;ioctl(SCI_1, SCI_DMA_RECEIVER, SCI_ENABLE);&lt;/P&gt;&lt;P&gt;ioctl(SCI_1, SCI_INIT, NULL);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ioctl(DMA, DMA_CH0_CLEAR_STATE_MACHINE_CONTROL, NULL);&lt;/P&gt;&lt;P&gt;ioctl(DMA_0,DMA_SET_SOURCE_ADDRESS,0x00E094);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ioctl(DMA_0,DMA_SET_DESTINATION_ADDRESS, (&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: small;"&gt;UWord32&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;)&amp;amp;data2); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(DMA_0, DMA_SET_PERIPHERAL_REQUEST, DMA_ENABLE);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ioctl(DMA, DMA_CH1_CLEAR_STATE_MACHINE_CONTROL, NULL);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ioctl(DMA_1,DMA_SET_SOURCE_ADDRESS,(&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: small;"&gt;UWord32&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;)&amp;amp;data); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; ioctl(DMA_1,DMA_SET_DESTINATION_ADDRESS, 0x00E094&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/*(UWord32)&amp;amp;ArchIO.Sci1.&lt;SPAN style="text-decoration: underline;"&gt;scidr&lt;/SPAN&gt;)*/&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(DMA_1, DMA_SET_PERIPHERAL_REQUEST, DMA_ENABLE);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// While stepping through the program occurs here setting the bit CE in register DMA_DSR_BCR1.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175682_175682.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122812i398D88F65EE92B66/image-size/large?v=v2&amp;amp;px=999" role="button" title="175682_175682.png" alt="175682_175682.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16441690_1569488916402571_1049989739_n.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13009i88231F31554D0CCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="16441690_1569488916402571_1049989739_n.png" alt="16441690_1569488916402571_1049989739_n.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ioctl(DMA, DMA_INIT, NULL);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: small;"&gt;/* initialise interrupt controller and enable interrupts */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ioctl(INTC, INTC_INIT, NULL);&lt;/P&gt;&lt;P&gt;archEnableInt();&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other setting in GCT:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175683_175683.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122813i47A4C44AB5ED770C/image-size/large?v=v2&amp;amp;px=999" role="button" title="175683_175683.PNG" alt="175683_175683.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Výstřižek.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13051i5A8F90011B00B811/image-size/large?v=v2&amp;amp;px=999" role="button" title="Výstřižek.PNG" alt="Výstřižek.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175684_175684.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122814i9BE12F9C59C1D0CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="175684_175684.PNG" alt="175684_175684.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Výstřižek.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13075iF01A637921B9B687/image-size/large?v=v2&amp;amp;px=999" role="button" title="Výstřižek.PNG" alt="Výstřižek.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175685_175685.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122815i481EB9997E1C95E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="175685_175685.PNG" alt="175685_175685.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Výstřižek.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13114i9FC7A7CDF7C53608/image-size/large?v=v2&amp;amp;px=999" role="button" title="Výstřižek.PNG" alt="Výstřižek.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="175686_175686.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122816iA6EC712D39584520/image-size/large?v=v2&amp;amp;px=999" role="button" title="175686_175686.PNG" alt="175686_175686.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Výstřižek.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13174i139DE3B39E727045/image-size/large?v=v2&amp;amp;px=999" role="button" title="Výstřižek.PNG" alt="Výstřižek.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In Attached is the full code. Does anyone know what is wrong set? Thank you very much&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yours Sincerely&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Martin Smolák&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-337801"&gt;DMA_test.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Feb 2017 11:57:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F82748-Problem-with-setting-DMA-SCI/m-p/603879#M858</guid>
      <dc:creator>martinsmolak</dc:creator>
      <dc:date>2017-02-05T11:57:06Z</dc:date>
    </item>
  </channel>
</rss>

