<?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: RS232 UART in S32K</title>
    <link>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1940033#M40088</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239237"&gt;@SE500&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It is important to set the system clock correctly.&lt;/P&gt;
&lt;P&gt;Use Option A (core_clk 160MHz), and set all the clocks precisely.&lt;/P&gt;
&lt;P&gt;RM, Section 24.7.2 System clocking configurations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The RTD generated code should not be modified manually.&lt;/P&gt;
&lt;P&gt;Check the LPUART registers after the initialization of the LPUART driver.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind that not all the pins support such a baudrate.&lt;/P&gt;
&lt;P&gt;DS, Table 25. GPIO DC electrical specifications, 5.0V (4.5V - 5.5V)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1724655589295.png" style="width: 478px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295177i0058ADB0E87F756C/image-dimensions/478x183?v=v2" width="478" height="183" role="button" title="danielmartynek_0-1724655589295.png" alt="danielmartynek_0-1724655589295.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>Mon, 26 Aug 2024 07:02:16 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2024-08-26T07:02:16Z</dc:date>
    <item>
      <title>RS232 UART</title>
      <link>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1936221#M39850</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I currently use the&amp;nbsp;S32K3X4EVB-T17 eval board.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; There's a requirement in my current project. We need high speed of UART.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; From&amp;nbsp;S32K3XXRM.pdf, page 772, it is written&amp;nbsp;LPUART_0 and LPUART_1 is clocked by AIPS_PLAT_CLK, to support up to 12 Mbps while the core is running at 120 MHz, plz can you provide me an example source codes to have a test of high speed UART, if possible at speed of 6 Mbps ? I'd like to know the reg. config to set the baudrate. At my side, I use CH343G a usb dongle that may support up to 6 Mbps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your support !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 11:11:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1936221#M39850</guid>
      <dc:creator>SE500</dc:creator>
      <dc:date>2024-08-20T11:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: RS232 UART</title>
      <link>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1937202#M39892</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239237"&gt;@SE500&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can modify the LpuartFlexio_Uart_Ip_Example_S32K344 RTD example.&lt;/P&gt;
&lt;P&gt;Select LPURT_0 and a custom baudrate in the configuration tool.&lt;/P&gt;
&lt;P&gt;You would need to modify also the port, interrupt configuration etc.&lt;/P&gt;
&lt;P&gt;But at 120MHz = CORE_CLK = AIPS_PLAT_CLK, this would be the baudrate configuration:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1724228122219.png" style="width: 520px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294474i5DA69609D7583005/image-dimensions/520x433?v=v2" width="520" height="433" role="button" title="danielmartynek_1-1724228122219.png" alt="danielmartynek_1-1724228122219.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-1724228188050.png" style="width: 627px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294475iE1F2BF04E06AD4CD/image-dimensions/627x217?v=v2" width="627" height="217" role="button" title="danielmartynek_2-1724228188050.png" alt="danielmartynek_2-1724228188050.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, 21 Aug 2024 08:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1937202#M39892</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-08-21T08:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: RS232 UART</title>
      <link>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1937395#M39899</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you for your prompt answer. I can't find the example you've mentionned. :&amp;nbsp;&lt;SPAN&gt;LpuartFlexio_Uart_Ip_Example_S32K344 RTD example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to create project from example for my board, I only get that :&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="SE500_0-1724239871328.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294533i142165456FC1DBA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SE500_0-1724239871328.png" alt="SE500_0-1724239871328.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this normal ? What to install to have your example ?&lt;/P&gt;&lt;P&gt;Sry, I've a beginner in S32k products and S32k design studio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 11:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1937395#M39899</guid>
      <dc:creator>SE500</dc:creator>
      <dc:date>2024-08-21T11:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: RS232 UART</title>
      <link>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1937417#M39900</link>
      <description>&lt;P&gt;You don't have the RTD installed in the S32DS 3.5.&lt;/P&gt;
&lt;P&gt;Once it is installed, you should see it there.&lt;/P&gt;
&lt;P&gt;The RTD is S32K3xx Standard SW.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-general-purpose-mcus/s32k3-microcontrollers-for-automotive-general-purpose:S32K3" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-general-purpose-mcus/s32k3-microcontrollers-for-automotive-general-purpose:S32K3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1724241234546.png" style="width: 619px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294538i437DE7239D535470/image-dimensions/619x243?v=v2" width="619" height="243" role="button" title="danielmartynek_0-1724241234546.png" alt="danielmartynek_0-1724241234546.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can follow this guide.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-offline-install-S32K3-RTD-3-0-0-in-S32DS-v3-5/ta-p/1753870" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-offline-install-S32K3-RTD-3-0-0-in-S32DS-v3-5/ta-p/1753870&lt;/A&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 12:00:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1937417#M39900</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-08-21T12:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: RS232 UART</title>
      <link>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1937532#M39911</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thank you for your hints. I've installed what you ask me. Now I can create the Lpuart example.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;According to the Clk &amp;amp; Lpuart configuration :&lt;/P&gt;&lt;P&gt;AIPS_PLAT_CLK = 48 Mhz&lt;/P&gt;&lt;P&gt;LPUART asynchronous module clk = 7.3 Mhz&lt;/P&gt;&lt;P&gt;to get the baudrate of 115200, we have set&lt;/P&gt;&lt;P&gt;#define LPUART_FEATURE_DEFAULT_OSR (0xFU)&lt;BR /&gt;#define LPUART_FEATURE_DEFAULT_SBR (0x4U)&lt;/P&gt;&lt;P&gt;I compiled the source codes and plug the lpuart3 rx/tx wires to my usb uart dongle (CH343G).&lt;/P&gt;&lt;P&gt;I get the WELCOME_MSG_1 "Hello, This message is sent via Uart!" displayed in Putty. Good !&lt;/P&gt;&lt;P&gt;However we didn't get&amp;nbsp;WELCOME_MSG_2&amp;nbsp;"Have a nice day!", not displayed in Putty ? Bad !&lt;/P&gt;&lt;P&gt;Then, I've changed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I changed manually in the file RTD/include/Lpuart_Uart_Ip_HwAccess.h this parameter LPUART_FEATURE_DEFAULT_OSR&amp;nbsp; to 0, normally, we should be able to run the same demo at speed of 1.8432 Baudrate, but after compilation and reload, nothing happens, nothing displayed in Putty ? Seems the uart clk is not configured ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Plz, tell me what is wrong ?&lt;/P&gt;&lt;P&gt;Also, I'd like to reach the speed of 12 Mbps with the dongle FT232H which can run at this speed, how can I achieve this with S32K344 ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 14:50:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1937532#M39911</guid>
      <dc:creator>SE500</dc:creator>
      <dc:date>2024-08-21T14:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: RS232 UART</title>
      <link>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1940033#M40088</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239237"&gt;@SE500&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It is important to set the system clock correctly.&lt;/P&gt;
&lt;P&gt;Use Option A (core_clk 160MHz), and set all the clocks precisely.&lt;/P&gt;
&lt;P&gt;RM, Section 24.7.2 System clocking configurations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The RTD generated code should not be modified manually.&lt;/P&gt;
&lt;P&gt;Check the LPUART registers after the initialization of the LPUART driver.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind that not all the pins support such a baudrate.&lt;/P&gt;
&lt;P&gt;DS, Table 25. GPIO DC electrical specifications, 5.0V (4.5V - 5.5V)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1724655589295.png" style="width: 478px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295177i0058ADB0E87F756C/image-dimensions/478x183?v=v2" width="478" height="183" role="button" title="danielmartynek_0-1724655589295.png" alt="danielmartynek_0-1724655589295.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>Mon, 26 Aug 2024 07:02:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/RS232-UART/m-p/1940033#M40088</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-08-26T07:02:16Z</dc:date>
    </item>
  </channel>
</rss>

