<?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: LPUART7 not working in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1996714#M43392</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For projects developed based on NON-AUTOSAR MCAL, you need to enable the clock gate of LPUART7 in &lt;EM&gt;&lt;STRONG&gt;Clocks&lt;/STRONG&gt; Tool&lt;/EM&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LPUART clock gate enable Clocks Tool S32K312.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311119i899414EDA10B9BCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPUART clock gate enable Clocks Tool S32K312.jpg" alt="LPUART clock gate enable Clocks Tool S32K312.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For projects developed based on AUTOSAR MCAL, you need to enable the clock gate of LPUART7 in &lt;STRONG&gt;Mcu&lt;/STRONG&gt;-&amp;gt; &lt;STRONG&gt;McuPeripheral&lt;/STRONG&gt; -&amp;gt;&amp;nbsp;&lt;STRONG&gt;Peripheral Clock Enable&lt;/STRONG&gt; in &lt;EM&gt;&lt;STRONG&gt;Peripherals&lt;/STRONG&gt; Tool&lt;/EM&gt;: refer to the discussion in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K312EVB-Q172-UART-Example-not-working/td-p/1762274" target="_self"&gt;S32K312EVB-Q172 UART Example not working&lt;/A&gt;&lt;/P&gt;
&lt;P&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 "ACCEPT AS SOLUTION" 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;</description>
    <pubDate>Tue, 19 Nov 2024 02:14:54 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2024-11-19T02:14:54Z</dc:date>
    <item>
      <title>S32K312: LPUART7 not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1995740#M43344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a project that uses S32K312 microcontroller. While working on the dev board and using LPUART1 for uart communication, it works fine and I am able tom see the required output.&lt;/P&gt;&lt;P&gt;However, my project needs to use LPUART0. So when I try to use LPUART0, the code goes into a hard-fault. The following line in&lt;STRONG&gt; Lpuart_Uart_Ip_HwAccess.c&lt;/STRONG&gt; causes the hard-fault:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himonkoch_0-1731767256426.png" style="width: 712px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310885i7FAA2DEB3447EDD6/image-dimensions/712x116?v=v2" width="712" height="116" role="button" title="himonkoch_0-1731767256426.png" alt="himonkoch_0-1731767256426.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same code using only LPUART1 works just fine.&lt;/P&gt;&lt;P&gt;What could be the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="S32K312EVB-Q172" id="S32K312EVB-Q172"&gt;&lt;/LI-PRODUCT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 14:30:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1995740#M43344</guid>
      <dc:creator>himonkoch</dc:creator>
      <dc:date>2024-11-16T14:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312: LPUART7 not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1996714#M43392</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For projects developed based on NON-AUTOSAR MCAL, you need to enable the clock gate of LPUART7 in &lt;EM&gt;&lt;STRONG&gt;Clocks&lt;/STRONG&gt; Tool&lt;/EM&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LPUART clock gate enable Clocks Tool S32K312.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311119i899414EDA10B9BCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="LPUART clock gate enable Clocks Tool S32K312.jpg" alt="LPUART clock gate enable Clocks Tool S32K312.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For projects developed based on AUTOSAR MCAL, you need to enable the clock gate of LPUART7 in &lt;STRONG&gt;Mcu&lt;/STRONG&gt;-&amp;gt; &lt;STRONG&gt;McuPeripheral&lt;/STRONG&gt; -&amp;gt;&amp;nbsp;&lt;STRONG&gt;Peripheral Clock Enable&lt;/STRONG&gt; in &lt;EM&gt;&lt;STRONG&gt;Peripherals&lt;/STRONG&gt; Tool&lt;/EM&gt;: refer to the discussion in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K312EVB-Q172-UART-Example-not-working/td-p/1762274" target="_self"&gt;S32K312EVB-Q172 UART Example not working&lt;/A&gt;&lt;/P&gt;
&lt;P&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 "ACCEPT AS SOLUTION" 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;</description>
      <pubDate>Tue, 19 Nov 2024 02:14:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1996714#M43392</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-11-19T02:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312: LPUART7 not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1996798#M43393</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57959"&gt;@Robin_Shen&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;The Project is not AUTOSAR based. The clocks for all the LPUART peripherals are already enabled.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himonkoch_0-1731991800767.png" style="width: 692px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311143i15A7969C54089760/image-dimensions/692x180?v=v2" width="692" height="180" role="button" title="himonkoch_0-1731991800767.png" alt="himonkoch_0-1731991800767.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another piece of information that I did not mention in the query is that currently we are only performing Transmission of uart messages, no receiving. Also, the tx is a synchronous tx. The following is the function we are calling for the same.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="himonkoch_1-1731991980419.png" style="width: 702px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311144iE05651E40353636B/image-dimensions/702x309?v=v2" width="702" height="309" role="button" title="himonkoch_1-1731991980419.png" alt="himonkoch_1-1731991980419.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;Himon Koch&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 04:54:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1996798#M43393</guid>
      <dc:creator>himonkoch</dc:creator>
      <dc:date>2024-11-19T04:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312: LPUART7 not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1996801#M43394</link>
      <description>&lt;P&gt;If it is convenient, please send me a simple test project for a quick test.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 04:59:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1996801#M43394</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-11-19T04:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312: LPUART7 not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1998053#M43450</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57959"&gt;@Robin_Shen&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;In the process of making the test project with uart, the issue was resolved. Thank you for the support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 14:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-LPUART7-not-working/m-p/1998053#M43450</guid>
      <dc:creator>himonkoch</dc:creator>
      <dc:date>2024-11-20T14:05:04Z</dc:date>
    </item>
  </channel>
</rss>

