<?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のトピックRe: SS32K344 LPUART Timeout counter</title>
    <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057728#M46567</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;sure, I am attaching the complete project.&lt;/P&gt;&lt;P&gt;I am using the S32DS for ARM Version 3.4, and the RTS version that I am using is the 2.0.0 for the S32K3xx.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Mar 2025 09:28:08 GMT</pubDate>
    <dc:creator>xianalbela</dc:creator>
    <dc:date>2025-03-07T09:28:08Z</dc:date>
    <item>
      <title>SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2056462#M46483</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am trying to implement the Timeout counter from the LPUART module of an S32K344 microcontroller, but I have encountered some issues.&lt;/P&gt;&lt;P&gt;I want to use them to monitor idle bits elapsed from the last received message so, my first question is, do they have the ability of generating a hardware interrupt?&lt;/P&gt;&lt;P&gt;Looking at the table of LPUART registers as per the S32K3XX Reference Manual (section 77.6.1), the registers that I should modify to configure the timeout counters are TOCR, TOSR and TIMEOUTN.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de pantalla 2025-03-05 181026.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326870iCF14835559D8EB5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Captura de pantalla 2025-03-05 181026.png" alt="Captura de pantalla 2025-03-05 181026.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Captura de pantalla 2025-03-05 181026.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The first thing that I noticed is that these registers are not in the LPUART register layout typedef in the SDK (in the S32K344_LPUART.h)&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de pantalla 2025-03-05 180917.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326869i2E2A6CB3FF2C7E3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Captura de pantalla 2025-03-05 180917.jpg" alt="Captura de pantalla 2025-03-05 180917.jpg" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Captura de pantalla 2025-03-05 180917.jpg&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Therefore, I have tried to access these registers manually, taking the IP_LPUART_0_BASE address from the SDK and adding the corresponding offset (0x58 in this case). When trying to read/write this region, I get a Hard Fault. I have tried to read other LPUART registers from the ones in the image above with this method to ensure that the method itself is not the problem, and it worked just fine.&lt;/P&gt;&lt;P&gt;Right now I am supposing that this memory region is somehow protected, but I could not find many info on this in the Reference Manual, so my question is: Is this the case? Is this memory region protected? and, if so, is there any way that I can access it to configure the timeout counters?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 17:25:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2056462#M46483</guid>
      <dc:creator>xianalbela</dc:creator>
      <dc:date>2025-03-05T17:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2056652#M46493</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;xianalbela&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please provided your demo code so that i can reproduce your problem, it will be more easy for me to help you found the root cause.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 02:21:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2056652#M46493</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-03-06T02:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057026#M46517</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I am using the LpuartFlexio_Uart_Ip_Example_S32K344 from the NXP repository.&lt;/P&gt;&lt;P&gt;The only changes that I have made are in the main.c file (that I am attaching to this reply) to implement the timeout counter (changing the LPUART instance from 3 to 0) and to remove the Flexio UART instance.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 12:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057026#M46517</guid>
      <dc:creator>xianalbela</dc:creator>
      <dc:date>2025-03-06T12:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057410#M46543</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@xianalbela" target="_blank"&gt;Hi@xianalbela&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Could you please double check it, cause i didn't see any attachments.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 01:35:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057410#M46543</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-03-07T01:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057694#M46560</link>
      <description>&lt;P&gt;Sorry&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am re-attaching the file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 08:46:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057694#M46560</guid>
      <dc:creator>xianalbela</dc:creator>
      <dc:date>2025-03-07T08:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057714#M46566</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;xianalbela&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You also need to tell me the RTD version you're using.&lt;/P&gt;
&lt;P&gt;It would be best if you can provide me with the complete project you tested&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 09:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057714#M46566</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-03-07T09:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057728#M46567</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;sure, I am attaching the complete project.&lt;/P&gt;&lt;P&gt;I am using the S32DS for ARM Version 3.4, and the RTS version that I am using is the 2.0.0 for the S32K3xx.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 09:28:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2057728#M46567</guid>
      <dc:creator>xianalbela</dc:creator>
      <dc:date>2025-03-07T09:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2058412#M46607</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;xianalbela&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I checked your code and there is nothing wrong with your syntax.&lt;/P&gt;
&lt;P&gt;However, the register address you used is not defined.&lt;/P&gt;
&lt;P&gt;The registers that users can use and access are only in "S32K344_LPUART.h".&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 03:02:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2058412#M46607</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-03-10T03:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2059364#M46654</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes, I am aware that this register is not defined in the "S32K344_LPUART.h" file, but I wanted to know if there is any other way to use the LPUART Timeout counter feature since it is described in the reference manual.&lt;/P&gt;&lt;P&gt;Maybe there is some mode that needs to be activated before trying to access those registers.&lt;/P&gt;&lt;P&gt;Is it possible to use this feature in any way?&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 09:14:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2059364#M46654</guid>
      <dc:creator>xianalbela</dc:creator>
      <dc:date>2025-03-11T09:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: SS32K344 LPUART Timeout counter</title>
      <link>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2059377#M46655</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;xianalbela&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I have double checked it , this register is not support in S32K344,S32k324,S32K314 and S32K312.&lt;/P&gt;
&lt;P&gt;For other S32K3's mcu, it does support.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 09:27:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SS32K344-LPUART-Timeout-counter/m-p/2059377#M46655</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-03-11T09:27:59Z</dc:date>
    </item>
  </channel>
</rss>

