<?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: s32k312 uart in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k312-uart/m-p/2137940#M51166</link>
    <description>&lt;P&gt;"This is not the issue. If I increase the baud rate, the serial bus seems to crash, and the MCU stops receiving data. If I enable error recovery, there are instant data errors but it doesn't stop receiving. Have you encountered this problem before?"&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jul 2025 05:01:40 GMT</pubDate>
    <dc:creator>fengba_360</dc:creator>
    <dc:date>2025-07-22T05:01:40Z</dc:date>
    <item>
      <title>s32k312 uart</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-uart/m-p/2136196#M51043</link>
      <description>&lt;P&gt;Hello, when using UART communication on the S32K312, if the baud rate exceeds 19200, the received data has a high error rate or even fails entirely. At baud rates below 19200, there are no issues. What could be causing this, and how can I optimize it? Below are my receive code and clock configuration？&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20250718111859.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348172i14BEFA0CBEC0F742/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20250718111859.png" alt="微信图片_20250718111859.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20250718111744.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348173i4EDC03F52CF6B31F/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20250718111744.png" alt="微信图片_20250718111744.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 03:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-uart/m-p/2136196#M51043</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2025-07-18T03:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 uart</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-uart/m-p/2136448#M51078</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;most probably it will be due to callback processing. Remove below code and rely just on callback events.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1752830107838.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348246i6F1DD2D7BD8F31C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1752830107838.png" alt="PetrS_0-1752830107838.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Try to keep RXFULL event as short as possible as this is called for each byte received if Receive function was called with 1 byte to be received.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 09:18:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-uart/m-p/2136448#M51078</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-07-18T09:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 uart</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-uart/m-p/2137940#M51166</link>
      <description>&lt;P&gt;"This is not the issue. If I increase the baud rate, the serial bus seems to crash, and the MCU stops receiving data. If I enable error recovery, there are instant data errors but it doesn't stop receiving. Have you encountered this problem before?"&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 05:01:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-uart/m-p/2137940#M51166</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2025-07-22T05:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 uart</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-uart/m-p/2138337#M51190</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;DIV&gt;the code is redundant, but can be useful to restore reception.&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;You should rather use Events directly, like below&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_2-1753181872126.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348827iE0314D995FB9C86E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_2-1753181872126.png" alt="PetrS_2-1753181872126.png" /&gt;&lt;/span&gt;
&lt;P&gt;&lt;SPAN&gt;The received byte processing code should be as short as possible, to have short execution time. This callback event must be called for each byte received. Otherwise you will get overruns etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;So consider interrupt priority with respect of other tasks/peripherals of your application.&amp;nbsp;&lt;/DIV&gt;
&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;BR, Petr&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Jul 2025 10:58:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-uart/m-p/2138337#M51190</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-07-22T10:58:44Z</dc:date>
    </item>
  </channel>
</rss>

