<?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 UART Transmitting Garbage Data When Using FreeRTOS S32k118 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/UART-Transmitting-Garbage-Data-When-Using-FreeRTOS-S32k118/m-p/2107714#M49396</link>
    <description>&lt;P&gt;I attempted to send and receive data via UART using FreeRTOS. However, the transmitted data appears as random or corrupted characters, for example:&lt;BR /&gt;&lt;STRONG&gt;tK�Z)J�Z)J�{hK�ZtJ�ZtK�KhK�)J�Z)J�)J�)J�)J�KtK�KtK�)J�ZtJ�{hK�KtK�KtK�ZtK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My actual intended message is:&lt;BR /&gt;"&lt;STRONG&gt;Welcome to RTOS \r\n&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;When I run the same UART communication code without FreeRTOS, it works correctly and the message is transmitted as expected.&lt;/P&gt;&lt;P&gt;Please assist as soon as possible to help resolve this issue.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 30 May 2025 06:26:11 GMT</pubDate>
    <dc:creator>Arunpk</dc:creator>
    <dc:date>2025-05-30T06:26:11Z</dc:date>
    <item>
      <title>UART Transmitting Garbage Data When Using FreeRTOS S32k118</title>
      <link>https://community.nxp.com/t5/S32K/UART-Transmitting-Garbage-Data-When-Using-FreeRTOS-S32k118/m-p/2107714#M49396</link>
      <description>&lt;P&gt;I attempted to send and receive data via UART using FreeRTOS. However, the transmitted data appears as random or corrupted characters, for example:&lt;BR /&gt;&lt;STRONG&gt;tK�Z)J�Z)J�{hK�ZtJ�ZtK�KhK�)J�Z)J�)J�)J�)J�KtK�KtK�)J�ZtJ�{hK�KtK�KtK�ZtK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My actual intended message is:&lt;BR /&gt;"&lt;STRONG&gt;Welcome to RTOS \r\n&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;When I run the same UART communication code without FreeRTOS, it works correctly and the message is transmitted as expected.&lt;/P&gt;&lt;P&gt;Please assist as soon as possible to help resolve this issue.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 06:26:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/UART-Transmitting-Garbage-Data-When-Using-FreeRTOS-S32k118/m-p/2107714#M49396</guid>
      <dc:creator>Arunpk</dc:creator>
      <dc:date>2025-05-30T06:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: UART Transmitting Garbage Data When Using FreeRTOS S32k118</title>
      <link>https://community.nxp.com/t5/S32K/UART-Transmitting-Garbage-Data-When-Using-FreeRTOS-S32k118/m-p/2107784#M49409</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239251"&gt;@Arunpk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You have shared your code on our system already. So, please kindly review my observations:&lt;/P&gt;
&lt;P&gt;1. You are currently using an outdated SDK. It is recommended to migrate to the RTD (Real-Time Drivers) for better support and long-term maintainability.&lt;BR /&gt;2. Clock initialization is being performed inside a task. This should be done before the scheduler starts, ideally during system initialization.&lt;BR /&gt;3. If you are using FreeRTOS, it is preferable to use vTaskDelay(MS_TO_TICKS(1000)) instead of delay_ms(1000) to ensure proper task scheduling and timing accuracy.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 07:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/UART-Transmitting-Garbage-Data-When-Using-FreeRTOS-S32k118/m-p/2107784#M49409</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2025-05-30T07:32:38Z</dc:date>
    </item>
  </channel>
</rss>

