<?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>S32KのトピックRe: UART DMA transmit only works when stopping code with breakpoint otherwise data corrupted</title>
    <link>https://community.nxp.com/t5/S32K/UART-DMA-transmit-only-works-when-stopping-code-with-breakpoint/m-p/1854993#M34676</link>
    <description>&lt;P&gt;Thanks for the tip, Daniel, that solved it. I did it as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pragma GCC section bss ".mcal_bss_no_cacheable"&lt;BR /&gt;uint8_t buffer_test[SIZE_OF_BUFFER];&lt;BR /&gt;#pragma GCC section bss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To your questions, this is for a s32K312 using s32ds3.5&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 17:35:07 GMT</pubDate>
    <dc:creator>sdusheyko</dc:creator>
    <dc:date>2024-04-25T17:35:07Z</dc:date>
    <item>
      <title>UART DMA transmit only works when stopping code with breakpoint otherwise data corrupted</title>
      <link>https://community.nxp.com/t5/S32K/UART-DMA-transmit-only-works-when-stopping-code-with-breakpoint/m-p/1854095#M34616</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have tested my app on the dev board and it works. Now on custom hardware I am having this issue. The problem is that the UART output is corrupted when the debugger is running without breakpoints. When I interrupt the code with a breakpoint the expected behavior is observed. Is this a problem that anyone else has seen? It looks like what is described in the provided link. The poster mentioned assigning the TX buffer to a specific area of memory, though I have not seen this solution elsewhere including examples. Please advise, thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/UART-DMA-works-as-intended-when-debugging-but-doesn-t-when-not/td-p/516890" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/UART-DMA-works-as-intended-when-debugging-but-doesn-t-when-not/td-p/516890&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 23:58:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/UART-DMA-transmit-only-works-when-stopping-code-with-breakpoint/m-p/1854095#M34616</guid>
      <dc:creator>sdusheyko</dc:creator>
      <dc:date>2024-04-24T23:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA transmit only works when stopping code with breakpoint otherwise data corrupted</title>
      <link>https://community.nxp.com/t5/S32K/UART-DMA-transmit-only-works-when-stopping-code-with-breakpoint/m-p/1854781#M34668</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231223"&gt;@sdusheyko&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please specify the MCU part, and if you use SDK/RTD, the revision of it.&lt;/P&gt;
&lt;P&gt;The data could be corrupted if the buffer is placed in a cacheable memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 13:36:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/UART-DMA-transmit-only-works-when-stopping-code-with-breakpoint/m-p/1854781#M34668</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-04-25T13:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA transmit only works when stopping code with breakpoint otherwise data corrupted</title>
      <link>https://community.nxp.com/t5/S32K/UART-DMA-transmit-only-works-when-stopping-code-with-breakpoint/m-p/1854993#M34676</link>
      <description>&lt;P&gt;Thanks for the tip, Daniel, that solved it. I did it as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;#pragma GCC section bss ".mcal_bss_no_cacheable"&lt;BR /&gt;uint8_t buffer_test[SIZE_OF_BUFFER];&lt;BR /&gt;#pragma GCC section bss&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To your questions, this is for a s32K312 using s32ds3.5&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 17:35:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/UART-DMA-transmit-only-works-when-stopping-code-with-breakpoint/m-p/1854993#M34676</guid>
      <dc:creator>sdusheyko</dc:creator>
      <dc:date>2024-04-25T17:35:07Z</dc:date>
    </item>
  </channel>
</rss>

