<?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: UART clock issue using Tresos - S32K344 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/UART-clock-issue-using-Tresos-S32K344/m-p/1964143#M41441</link>
    <description>&lt;P&gt;Sorry, I may not understand your question.&amp;nbsp;If you follow your settings, the UART baud rate observed by a logic analyzer or oscilloscope is not 115200?&lt;/P&gt;
&lt;P&gt;From your Uart.xdm, I see that you use &lt;STRONG&gt;LPUART0&lt;/STRONG&gt;. According to &lt;EM&gt;Table 124. LPUARTn instance clocking&lt;/EM&gt; of the S32K3 reference manual: LPUART [&lt;STRONG&gt;0&lt;/STRONG&gt;] and [8] is clocked by &lt;STRONG&gt;AIPS_PLAT_CLK&lt;/STRONG&gt;.&lt;BR /&gt;&lt;STRONG&gt;AIPS_PLAT_CLK&lt;/STRONG&gt; has been configured to &lt;STRONG&gt;40&lt;/STRONG&gt;MHz.&lt;BR /&gt;In your Mcu.xdm, &lt;STRONG&gt;PLL_PHI0_CLK&lt;/STRONG&gt; is selected as the &lt;EM&gt;CGM0 Clock Mux0 Source&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;And &lt;STRONG&gt;Uart_Example_S32K344&lt;/STRONG&gt; uses &lt;STRONG&gt;LPUART3&lt;/STRONG&gt;: LPUART [1:7] and [9:15] is clocked by &lt;STRONG&gt;AIPS_SLOW_CLK&lt;/STRONG&gt;.&lt;BR /&gt;&lt;STRONG&gt;AIPS_SLOW_CLK&lt;/STRONG&gt; has been configured to &lt;STRONG&gt;24&lt;/STRONG&gt;MHz.&lt;BR /&gt;&lt;STRONG&gt;FIRC_CLK&lt;/STRONG&gt; is selected as the &lt;EM&gt;CGM0 Clock Mux0 Source&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;Do you call &lt;STRONG&gt;Mcu_DistributePllClock&lt;/STRONG&gt; after calling &lt;STRONG&gt;Mcu_InitClock&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 04:40:12 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2024-09-30T04:40:12Z</dc:date>
    <item>
      <title>UART clock issue using Tresos - S32K344</title>
      <link>https://community.nxp.com/t5/S32K/UART-clock-issue-using-Tresos-S32K344/m-p/1962967#M41384</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm configuring the UART peripheral on Tresos tool as per AUTOSAR standard for S32K344 uC.&lt;/P&gt;&lt;P&gt;With my clock configuration (mcu module), the message is out of baudrate selected. If I use the example project, it works fine.&lt;/P&gt;&lt;P&gt;Can you please help me with this topic? What is the configuration that I'm doing wrongly?&lt;/P&gt;&lt;P&gt;Spec. Version: 4.7.0&lt;/P&gt;&lt;P&gt;SW Version: 4.0.0 HF01_D2401&lt;/P&gt;&lt;P&gt;Attached are the both mcu modules configurations (one of them work fine, from example project).&lt;/P&gt;&lt;P&gt;Also I attached the UART module configuration that is very simple.&lt;/P&gt;&lt;P&gt;Note: In my configuration, I'm using PLL.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;MVR&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 21:26:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/UART-clock-issue-using-Tresos-S32K344/m-p/1962967#M41384</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-09-26T21:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: UART clock issue using Tresos - S32K344</title>
      <link>https://community.nxp.com/t5/S32K/UART-clock-issue-using-Tresos-S32K344/m-p/1964143#M41441</link>
      <description>&lt;P&gt;Sorry, I may not understand your question.&amp;nbsp;If you follow your settings, the UART baud rate observed by a logic analyzer or oscilloscope is not 115200?&lt;/P&gt;
&lt;P&gt;From your Uart.xdm, I see that you use &lt;STRONG&gt;LPUART0&lt;/STRONG&gt;. According to &lt;EM&gt;Table 124. LPUARTn instance clocking&lt;/EM&gt; of the S32K3 reference manual: LPUART [&lt;STRONG&gt;0&lt;/STRONG&gt;] and [8] is clocked by &lt;STRONG&gt;AIPS_PLAT_CLK&lt;/STRONG&gt;.&lt;BR /&gt;&lt;STRONG&gt;AIPS_PLAT_CLK&lt;/STRONG&gt; has been configured to &lt;STRONG&gt;40&lt;/STRONG&gt;MHz.&lt;BR /&gt;In your Mcu.xdm, &lt;STRONG&gt;PLL_PHI0_CLK&lt;/STRONG&gt; is selected as the &lt;EM&gt;CGM0 Clock Mux0 Source&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;And &lt;STRONG&gt;Uart_Example_S32K344&lt;/STRONG&gt; uses &lt;STRONG&gt;LPUART3&lt;/STRONG&gt;: LPUART [1:7] and [9:15] is clocked by &lt;STRONG&gt;AIPS_SLOW_CLK&lt;/STRONG&gt;.&lt;BR /&gt;&lt;STRONG&gt;AIPS_SLOW_CLK&lt;/STRONG&gt; has been configured to &lt;STRONG&gt;24&lt;/STRONG&gt;MHz.&lt;BR /&gt;&lt;STRONG&gt;FIRC_CLK&lt;/STRONG&gt; is selected as the &lt;EM&gt;CGM0 Clock Mux0 Source&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;Do you call &lt;STRONG&gt;Mcu_DistributePllClock&lt;/STRONG&gt; after calling &lt;STRONG&gt;Mcu_InitClock&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 04:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/UART-clock-issue-using-Tresos-S32K344/m-p/1964143#M41441</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-09-30T04:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: UART clock issue using Tresos - S32K344</title>
      <link>https://community.nxp.com/t5/S32K/UART-clock-issue-using-Tresos-S32K344/m-p/1964491#M41475</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57959"&gt;@Robin_Shen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was not calling&amp;nbsp;&lt;STRONG&gt;Mcu_DistributePllClock&lt;/STRONG&gt;, now it is working. Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 13:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/UART-clock-issue-using-Tresos-S32K344/m-p/1964491#M41475</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-09-30T13:10:49Z</dc:date>
    </item>
  </channel>
</rss>

