<?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 Re: LPC845 DMA write to GPIO fails in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-DMA-write-to-GPIO-fails/m-p/2390738#M59640</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/104815"&gt;@phatpaul&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;Thanks for your question.&lt;/P&gt;
&lt;P&gt;Yes, the LPC845 DMA controller cannot write directly to the GPIO register space at address 0xA0000000. The GPIO peripheral is connected through the Cortex-M0+ I/O bus for fast CPU access, whereas the DMA controller accesses memories and supported peripherals through the AHB/APB bus infrastructure.&lt;/P&gt;
&lt;P&gt;In addition, the LPC845 datasheet states that:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;"The DMA controller can access all memories and the USART, SPI, I2C, DAC, and Capacitive Touch."&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;GPIO is not listed among the peripherals accessible by DMA. Therefore, DMA transfers to the GPIO register space are not supported and will generate a transfer error (ERRINT), which is consistent with the behavior you observed.&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1783237995511.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391246i878D588FCD40A736/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1783237995511.png" alt="Alice_Yang_0-1783237995511.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 05 Jul 2026 07:55:22 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2026-07-05T07:55:22Z</dc:date>
    <item>
      <title>LPC845 DMA write to GPIO fails</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-DMA-write-to-GPIO-fails/m-p/2389301#M59636</link>
      <description>&lt;P&gt;It seems LPC845 DMA cannot write GPIO at 0xA0000000&lt;/P&gt;&lt;P&gt;I get DMA0 -&amp;gt;ERRINT=1 when trying to do the GPIO write.&lt;/P&gt;&lt;P&gt;As troublehooting step, I changed the dest address to RAM and do not get the ERRINTflag.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not been able to find a definitive source to say if this is truly impossible.&lt;/P&gt;&lt;P&gt;I did find a reference which is not definitive but hints that this might be the case:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Lpc-824-DMA-to-GPIO/m-p/650903" target="_blank" rel="nofollow noopener"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/Lpc-824-DMA-to-GPIO/m-p/650903&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can someone please confirm?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2026 21:56:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-DMA-write-to-GPIO-fails/m-p/2389301#M59636</guid>
      <dc:creator>phatpaul</dc:creator>
      <dc:date>2026-07-01T21:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845 DMA write to GPIO fails</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-DMA-write-to-GPIO-fails/m-p/2390738#M59640</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/104815"&gt;@phatpaul&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;Thanks for your question.&lt;/P&gt;
&lt;P&gt;Yes, the LPC845 DMA controller cannot write directly to the GPIO register space at address 0xA0000000. The GPIO peripheral is connected through the Cortex-M0+ I/O bus for fast CPU access, whereas the DMA controller accesses memories and supported peripherals through the AHB/APB bus infrastructure.&lt;/P&gt;
&lt;P&gt;In addition, the LPC845 datasheet states that:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;"The DMA controller can access all memories and the USART, SPI, I2C, DAC, and Capacitive Touch."&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;GPIO is not listed among the peripherals accessible by DMA. Therefore, DMA transfers to the GPIO register space are not supported and will generate a transfer error (ERRINT), which is consistent with the behavior you observed.&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1783237995511.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/391246i878D588FCD40A736/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1783237995511.png" alt="Alice_Yang_0-1783237995511.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2026 07:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-DMA-write-to-GPIO-fails/m-p/2390738#M59640</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2026-07-05T07:55:22Z</dc:date>
    </item>
  </channel>
</rss>

