<?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: S32K311 UART Timeout</title>
    <link>https://community.nxp.com/t5/S32K/S32K311-UART-Timeout/m-p/2123989#M50292</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;timeout counter monitors idle time in number of bits. So if 9 bytes should be checked, then&amp;nbsp;&lt;SPAN&gt;LIN_REG.TIMEOUT[0].B.TIMEOUT should be min 90. Probably little bit more assuming there can be any additional inter-byte space in LIN frame.&amp;nbsp;&lt;BR /&gt;You need to set&amp;nbsp;the extended idle feature for this mode as well, configuring REIR register. This must be greater then configured timeout.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2025 12:11:46 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2025-06-26T12:11:46Z</dc:date>
    <item>
      <title>S32K311 UART Timeout</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-UART-Timeout/m-p/2122379#M50205</link>
      <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;I am using S32k311 MCU board UART peripheral for LIN communication.&lt;/P&gt;&lt;P&gt;I would like to use the timeout functionality in the UART peripheral.&lt;/P&gt;&lt;P&gt;In my application i am using 19200 baud rate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My LIN frame consists of a header, 8 byte data and Checksum.&lt;/P&gt;&lt;P&gt;After receiving the first byte i want to start the timeout value till i receive checksum.&lt;/P&gt;&lt;P&gt;As i have configured 19200 as baud rate the total time for receiving the complete frame till checksum will be 4680 microseconds.&lt;/P&gt;&lt;P&gt;9 bytes ( 8 data bytes and one checksum). Each bit is 52 microseconds and each byte as 10 bits. so total time is 4680 micro seconds.&lt;/P&gt;&lt;P&gt;This is the configuration i am doing.&lt;/P&gt;&lt;P&gt;LIN_REG.TOCR.B.TOIE = 1; //timeout 0 interrupt enable&lt;BR /&gt;LIN_REG.TOSR.B.TOF = 1; // Clear interrupt flag&lt;BR /&gt;LIN_REG.TIMEOUT[0].B.CFG = 3; //reset the timeout count to 1&lt;BR /&gt;/* Set the timeout value */&lt;BR /&gt;LIN_REG.TIMEOUT[0].B.TIMEOUT = 8000;// timeout value&lt;BR /&gt;/* Enable the TIMEOUT0 counter */&lt;BR /&gt;LIN_REG.TOCR.B.TOEN = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know how the timeout value is to be written in the&amp;nbsp;LIN_REG.TIMEOUT[0].B.TIMEOUT register. for 4680 micro seconds what value should be written or how it should be configured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 16:18:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-UART-Timeout/m-p/2122379#M50205</guid>
      <dc:creator>kiran5</dc:creator>
      <dc:date>2025-06-24T16:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 UART Timeout</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-UART-Timeout/m-p/2123989#M50292</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;timeout counter monitors idle time in number of bits. So if 9 bytes should be checked, then&amp;nbsp;&lt;SPAN&gt;LIN_REG.TIMEOUT[0].B.TIMEOUT should be min 90. Probably little bit more assuming there can be any additional inter-byte space in LIN frame.&amp;nbsp;&lt;BR /&gt;You need to set&amp;nbsp;the extended idle feature for this mode as well, configuring REIR register. This must be greater then configured timeout.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 12:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-UART-Timeout/m-p/2123989#M50292</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-06-26T12:11:46Z</dc:date>
    </item>
  </channel>
</rss>

