<?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>S32 SDKのトピックRe: SAF85XX Realtime Driver(CAN Driver) edge case</title>
    <link>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1999845#M3973</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have created internal ticket and ask software team solution.&lt;/P&gt;
&lt;P&gt;I will inform you ASAP.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2024 07:19:47 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2024-11-22T07:19:47Z</dc:date>
    <item>
      <title>SAF85XX Realtime Driver(CAN Driver) edge case</title>
      <link>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1985970#M3953</link>
      <description>&lt;P&gt;Below is the code snippet of&amp;nbsp;&lt;SPAN&gt;Can_Ipw_GetTimestamp&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Can_TimeStampType&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt; &lt;SPAN&gt;TimestampPtr&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;uint32&lt;/SPAN&gt; &lt;SPAN&gt;Value&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eddy_bts_1-1730440854515.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308040i71DAFF4CF41E80F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="eddy_bts_1-1730440854515.png" alt="eddy_bts_1-1730440854515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then condition in the red rectangular is occured not only in yellow rectangular situation but also in timbase overflow. TimestampPtr-&amp;gt;seconds shall not be incremented and TimestampPtr-&amp;gt;nanoseconds shall not be zero in the latter case.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 06:07:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1985970#M3953</guid>
      <dc:creator>eddy_bts</dc:creator>
      <dc:date>2024-11-01T06:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAF85XX Realtime Driver(CAN Driver) edge case</title>
      <link>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1988481#M3959</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have asked RADAR team for help here.&lt;/P&gt;
&lt;P&gt;But you should have also dedicated NXP FAE, please get in touch with him also.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 05:45:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1988481#M3959</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-11-06T05:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAF85XX Realtime Driver(CAN Driver) edge case</title>
      <link>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1990122#M3961</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you let me know what is this RTD version?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 10:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1990122#M3961</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-11-07T10:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAF85XX Realtime Driver(CAN Driver) edge case</title>
      <link>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1990264#M3962</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are usinng&amp;nbsp;&lt;SPAN&gt;SAF85_S32R41_RTD_0_9_0_D2207.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is no change of the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Can_Ipw_GetTimestamp in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the &lt;/SPAN&gt;&lt;SPAN&gt;SAF85xx_SAF86xx_S32R41_RTD_2_0_0_P03_D2404.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please refer to the following CAN global timstamp configuration we are using.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eddy_bts_1-1730989480776.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309247i83848D7C86C49B98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eddy_bts_1-1730989480776.png" alt="eddy_bts_1-1730989480776.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 14:26:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1990264#M3962</guid>
      <dc:creator>eddy_bts</dc:creator>
      <dc:date>2024-11-07T14:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAF85XX Realtime Driver(CAN Driver) edge case</title>
      <link>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1994411#M3967</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The STM counter rolls over at FFFF_FFFFh to 0000_0000h.&lt;BR /&gt;The driver includes the case when counter overflows. See Can_Ipw_GetTimeElapsed function for more details.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1731569327790.png" style="width: 709px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310497i2C95D948C963B1B2/image-dimensions/709x395?v=v2" width="709" height="395" role="button" title="petervlna_0-1731569327790.png" alt="petervlna_0-1731569327790.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 07:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1994411#M3967</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-11-14T07:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAF85XX Realtime Driver(CAN Driver) edge case</title>
      <link>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1994492#M3968</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You are right. 'Can_Ipw_GetTimeElapsed' already considers the rollover of the time base so that return value of the 'Can_Ipw_GetTimeElapsed' is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It means that 'TimestampPtr-&amp;gt;nanoseonds is correct even though the rollover happens between 'Value' and 'CurrCompareValTemp' in the red rectangular of the below capture.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eddy_bts_3-1731573498769.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310520i3469B25236832D65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eddy_bts_3-1731573498769.png" alt="eddy_bts_3-1731573498769.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let's suppose as below:&lt;BR /&gt;CAN_43_FLEXCAN_TS_STM_TARGETTIME = 0x2625A00 = 4000000&lt;BR /&gt;Value = 0xFFFFFFFA&lt;BR /&gt;CurrCompareValTemp = 0x2625A00&lt;/P&gt;&lt;P&gt;'TimestampPtr-&amp;gt;nanoseconds' would be calculated as 0x2625A01 so that 'TimestampPtr-&amp;gt;nanoseconds' is greater than 'CAN_43_FLEXCAN_TS_STM_TARGETTIME&lt;/P&gt;&lt;P&gt;In yellow rectangular, Value(0xFFFFFFFA) is greater than CurrCompareValTemp(0x2625A00). However, that's not the situation which the programmer wants. In the perspective of physical timeline which doesn't have the roll-over concept, the 'Value' does not exceed 'CurrCompareValTemp'.&lt;/P&gt;&lt;P&gt;Therefore, codes in white rectangular shall not be executed.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 08:54:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1994492#M3968</guid>
      <dc:creator>eddy_bts</dc:creator>
      <dc:date>2024-11-14T08:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAF85XX Realtime Driver(CAN Driver) edge case</title>
      <link>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1999845#M3973</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have created internal ticket and ask software team solution.&lt;/P&gt;
&lt;P&gt;I will inform you ASAP.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 07:19:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/1999845#M3973</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-11-22T07:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAF85XX Realtime Driver(CAN Driver) edge case</title>
      <link>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/2009918#M3988</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have got information from RTD SW team: They will fix this potential issue in the next release.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 09:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/SAF85XX-Realtime-Driver-CAN-Driver-edge-case/m-p/2009918#M3988</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-12-09T09:16:32Z</dc:date>
    </item>
  </channel>
</rss>

