<?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: Issue with the example project “frdmmcxa346_smartdma_keyscan” in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-the-example-project-frdmmcxa346-smartdma-keyscan/m-p/2314860#M4823</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259521"&gt;@Hathaway_Noa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your post!&lt;/P&gt;
&lt;P&gt;I was able to replicate the debugging issue of the example at MCUXpresso, I'll come with further information, thanks again for the report.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your question&lt;/P&gt;
&lt;P&gt;Does NXP provide any tool that allows directly downloading a .hex file?&lt;/P&gt;
&lt;P&gt;Are you referring to download a code to a board? if that is the case no, the only compatible formats are .bin, .axf and .sb&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Feb 2026 17:26:08 GMT</pubDate>
    <dc:creator>carlos_o</dc:creator>
    <dc:date>2026-02-09T17:26:08Z</dc:date>
    <item>
      <title>Issue with the example project “frdmmcxa346_smartdma_keyscan”</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-the-example-project-frdmmcxa346-smartdma-keyscan/m-p/2312674#M4806</link>
      <description>&lt;P&gt;After building the SDK (v25.12.00) for MCUXpresso IDE (v25.6) using the &lt;STRONG&gt;MCUXpresso SDK Builder&lt;/STRONG&gt; and importing the example project &lt;STRONG&gt;“frdmmcxa346_smartdma_keyscan”&lt;/STRONG&gt;, an error occurs when debugging on the &lt;STRONG&gt;FRDM-MCXA346&lt;/STRONG&gt; board, as shown in the figure below, and the debugger cannot be launched.&lt;/P&gt;&lt;P&gt;After rebuilding the project for &lt;STRONG&gt;Keil&lt;/STRONG&gt;, the program can be downloaded and debugged normally using Keil. However, the key scanning implemented by the SmartDMA firmware is obviously too sensitive: even when no button is pressed, key events are continuously triggered, which does not match the behavior described in &lt;STRONG&gt;AN14770&lt;/STRONG&gt;. When switching to a traditional approach where the CPU actively scans the keys in the main loop, the key state is read correctly.&lt;/P&gt;&lt;P&gt;I would like to ask:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Does the example project &lt;STRONG&gt;“frdmmcxa346_smartdma_keyscan”&lt;/STRONG&gt; exhibit this issue when being debugged with &lt;STRONG&gt;MCUXpresso IDE&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Does NXP provide any tool that allows directly downloading a &lt;STRONG&gt;.hex&lt;/STRONG&gt; file?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is the overly sensitive key detection in the &lt;STRONG&gt;“frdmmcxa346_smartdma_keyscan”&lt;/STRONG&gt; example caused by the SmartDMA firmware itself?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Additionally, the &lt;STRONG&gt;P3_28&lt;/STRONG&gt; and &lt;STRONG&gt;P3_27&lt;/STRONG&gt; pins used in the &lt;EM&gt;frdmmcxa346_smartdma_keyscan&lt;/EM&gt; example are I2C pins. On the &lt;STRONG&gt;FRDM-MCXA346&lt;/STRONG&gt; board, these pins are connected to pull-up resistors &lt;STRONG&gt;R25&lt;/STRONG&gt; and &lt;STRONG&gt;R24&lt;/STRONG&gt;, which I have already removed.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 08:27:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-the-example-project-frdmmcxa346-smartdma-keyscan/m-p/2312674#M4806</guid>
      <dc:creator>Hathaway_Noa</dc:creator>
      <dc:date>2026-02-05T08:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the example project “frdmmcxa346_smartdma_keyscan”</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-the-example-project-frdmmcxa346-smartdma-keyscan/m-p/2314860#M4823</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259521"&gt;@Hathaway_Noa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your post!&lt;/P&gt;
&lt;P&gt;I was able to replicate the debugging issue of the example at MCUXpresso, I'll come with further information, thanks again for the report.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your question&lt;/P&gt;
&lt;P&gt;Does NXP provide any tool that allows directly downloading a .hex file?&lt;/P&gt;
&lt;P&gt;Are you referring to download a code to a board? if that is the case no, the only compatible formats are .bin, .axf and .sb&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 17:26:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-the-example-project-frdmmcxa346-smartdma-keyscan/m-p/2314860#M4823</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2026-02-09T17:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the example project “frdmmcxa346_smartdma_keyscan”</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-the-example-project-frdmmcxa346-smartdma-keyscan/m-p/2318035#M4852</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/259521"&gt;@Hathaway_Noa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are 3 problems with the example&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Flash driver is not set for this example.
&lt;UL&gt;
&lt;LI&gt;To fix this need to set manually the flash driver to use "MCXA3xx.cfx".&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Flash size is not 4 byte align
&lt;UL&gt;
&lt;LI&gt;To fix this the size was changed to 0xfe000&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Ram sections overlaps with Cstack
&lt;UL&gt;
&lt;LI&gt;To fix this the ram size in data section was change to 0x10000 and the ram CStack section location was changed to 0x20010000&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;All of the above has to be done in the project propertis in the" C/C++ build" in the "MCU Settings" and set the memory details to the changes mentioned above (See the reference image to set the memory configuration correctly).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carlos_o_0-1771008276189.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/376857iDDE947EA05B0A8EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carlos_o_0-1771008276189.png" alt="carlos_o_0-1771008276189.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After that changes are applied just make a clean and rebuild the project and that solves the problem.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 18:46:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Issue-with-the-example-project-frdmmcxa346-smartdma-keyscan/m-p/2318035#M4852</guid>
      <dc:creator>carlos_o</dc:creator>
      <dc:date>2026-02-13T18:46:26Z</dc:date>
    </item>
  </channel>
</rss>

