<?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のトピックLPUART Transmitter and Recviever using MCAL</title>
    <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2117259#M49939</link>
    <description>&lt;P&gt;I am new to NXP micrcontrontrollers. I am currently working on S32k118evb where i want it to talk to an application in python. I am have configured the MCU LPUART0 peripheral and double checked them on the debugger, but yet it does not work as itended. I can not send nor recieve anything on the LPUART0 interface. I have used the MCAL layer. I have attached the project. Any assistance would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jun 2025 21:52:48 GMT</pubDate>
    <dc:creator>yousefdessouki123</dc:creator>
    <dc:date>2025-06-16T21:52:48Z</dc:date>
    <item>
      <title>LPUART Transmitter and Recviever using MCAL</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2117259#M49939</link>
      <description>&lt;P&gt;I am new to NXP micrcontrontrollers. I am currently working on S32k118evb where i want it to talk to an application in python. I am have configured the MCU LPUART0 peripheral and double checked them on the debugger, but yet it does not work as itended. I can not send nor recieve anything on the LPUART0 interface. I have used the MCAL layer. I have attached the project. Any assistance would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 21:52:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2117259#M49939</guid>
      <dc:creator>yousefdessouki123</dc:creator>
      <dc:date>2025-06-16T21:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART Transmitter and Recviever using MCAL</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2117580#M49965</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251159"&gt;@yousefdessouki123&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You enabled the loopback option:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1750149473802.png" style="width: 734px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/343274i1746ECE592410719/image-dimensions/734x254?v=v2" width="734" height="254" role="button" title="danielmartynek_0-1750149473802.png" alt="danielmartynek_0-1750149473802.png" /&gt;&lt;/span&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 08:38:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2117580#M49965</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-06-17T08:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART Transmitter and Recviever using MCAL</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2117813#M49983</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I enabled loopback mode to internally test the LPUART peripheral, which eliminates the need for physical connections. Aside from this, does loopback mode affect functionality in any other way? Also, why might the peripheral fail to operate correctly when loopback mode is enabled? Is there anything extra i have to write in the MCAL layer application code?&lt;BR /&gt;&lt;BR /&gt;BR&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 13:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2117813#M49983</guid>
      <dc:creator>yousefdessouki123</dc:creator>
      <dc:date>2025-06-17T13:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART Transmitter and Recviever using MCAL</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2118388#M50018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251159"&gt;@yousefdessouki123&lt;/a&gt;,&lt;/P&gt;
&lt;P style="display: block; font-weight: 400; margin: 8px 0px 4px; overflow-wrap: break-word; color: #d6d6d6; font-family: 'Segoe Sans', 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #1f1f1f; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-darkreader-inline-color="" data-darkreader-inline-bgcolor=""&gt;You’re right—the loopback mode does not affect transmission.&lt;/P&gt;
&lt;P style="display: block; font-weight: 400; margin: 8px 0px 4px; overflow-wrap: break-word; color: #d6d6d6; font-family: 'Segoe Sans', 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #1f1f1f; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-darkreader-inline-color="" data-darkreader-inline-bgcolor=""&gt;I ran the project without making any modifications.&lt;/P&gt;
&lt;P style="display: block; font-weight: 400; margin: 8px 0px 4px; overflow-wrap: break-word; color: #d6d6d6; font-family: 'Segoe Sans', 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #1f1f1f; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-darkreader-inline-color="" data-darkreader-inline-bgcolor=""&gt;As shown below, transmission does occur, but the baud rate is not the configured&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="font-weight: 600;"&gt;115200 kbps&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1750235324775.png" style="width: 694px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/343503iE34F9653079F28C7/image-dimensions/694x280?v=v2" width="694" height="280" role="button" title="danielmartynek_0-1750235324775.png" alt="danielmartynek_0-1750235324775.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me look into it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 08:35:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2118388#M50018</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-06-18T08:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART Transmitter and Recviever using MCAL</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2118409#M50020</link>
      <description>&lt;P&gt;I see the problem - there is an inconsistency in the clock configuration.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1750236224341.png" style="width: 418px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/343513i85AE5DEC3EE6424D/image-dimensions/418x509?v=v2" width="418" height="509" role="button" title="danielmartynek_0-1750236224341.png" alt="danielmartynek_0-1750236224341.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The modules is clocked by 8MHz from SIRCDIV2_CLK.&lt;/P&gt;
&lt;P&gt;But the UART module calculates the baudrate from ReferencePoint_0 which is 48MHz.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1750236286676.png" style="width: 621px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/343515i4DEFB8FA5F12921F/image-dimensions/621x204?v=v2" width="621" height="204" role="button" title="danielmartynek_1-1750236286676.png" alt="danielmartynek_1-1750236286676.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_2-1750236435331.png" style="width: 736px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/343519i19881308A5784B12/image-dimensions/736x251?v=v2" width="736" height="251" role="button" title="danielmartynek_2-1750236435331.png" alt="danielmartynek_2-1750236435331.png" /&gt;&lt;/span&gt;&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>Wed, 18 Jun 2025 08:47:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2118409#M50020</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-06-18T08:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART Transmitter and Recviever using MCAL</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2123281#M50257</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the help. I have reconfigured the clock for the LPUART to make it match that of the MCU(48 MHZ). However, the problem presists. In terms of transmission, the LPUART0 TX pin transmits the required data correct in terms of both the duration and frequency of each character. However the problem presists in terms of connecting the TX with the RX pin. The RX pin does not recieve the data. I have reouted the RX pin to PTC8 and PTB0 and still the issue presists. The UART bus is always idle when i try to recieve data. I have attached some screenshots for some tests I did by picoscope. I have also attached the code after fixing the clock issue.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 15:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2123281#M50257</guid>
      <dc:creator>yousefdessouki123</dc:creator>
      <dc:date>2025-06-25T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART Transmitter and Recviever using MCAL</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2123691#M50273</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251159"&gt;@yousefdessouki123&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What exactly do you mean by 'the RX pin does not receive the data'?&lt;/SPAN&gt;&lt;BR style="color: #d6d6d6; font-family: 'Segoe Sans', 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #1f1f1f; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-darkreader-inline-color="" data-darkreader-inline-bgcolor="" /&gt;&lt;SPAN&gt;If data is visible on the TX pin but not on the RX pin, it likely indicates a hardware issue.&lt;/SPAN&gt;&lt;BR style="color: #d6d6d6; font-family: 'Segoe Sans', 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: #1f1f1f; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-darkreader-inline-color="" data-darkreader-inline-bgcolor="" /&gt;&lt;SPAN&gt;However, if the data appears on the RX pin but the UART module fails to receive it, the issue might be related to loopback mode.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1750920777791.png" style="width: 715px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/344771i0DAA363E5827BEA4/image-dimensions/715x115?v=v2" width="715" height="115" role="button" title="danielmartynek_0-1750920777791.png" alt="danielmartynek_0-1750920777791.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 06:54:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2123691#M50273</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-06-26T06:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART Transmitter and Recviever using MCAL</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2123841#M50282</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I hope everything is well. The previous test I sent, had the loopback mode disabled, so that I can see the signals on an oscillscope. However, I have tried it again with the loopback mode, but still the issue presists. The Receiver is always idle. Bear in mind, the EVb I have is brand new and only UART has been tested on it. Also, what do you mean by hardware issue? DO you mean the kit is damaged or there is jumper position wrong.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 09:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2123841#M50282</guid>
      <dc:creator>yousefdessouki123</dc:creator>
      <dc:date>2025-06-26T09:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART Transmitter and Recviever using MCAL</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2124774#M50326</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251159"&gt;@yousefdessouki123&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please check the PTB0 RX pin using an oscilloscope to rule out any potential hardware issues.&lt;/P&gt;
&lt;P&gt;Make sure that loopback mode is disabled if you intend to use the RX pin for external communication.&lt;/P&gt;
&lt;P&gt;To send and receive data, you must use asynchronous mode.&lt;BR /&gt;Follow this sequence:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Call Uart_AsyncReceive() first to prepare the receiver.&lt;/LI&gt;
&lt;LI&gt;Then call Uart_AsyncSend() to transmit data.&lt;/LI&gt;
&lt;LI&gt;Use Uart_GetStatus() to monitor the status of the receiver.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 11:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-Transmitter-and-Recviever-using-MCAL/m-p/2124774#M50326</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-06-27T11:48:25Z</dc:date>
    </item>
  </channel>
</rss>

