<?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: CAN1 issue using S32K344 - Error Frame (stuff error) in S32K</title>
    <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1979614#M42406</link>
    <description>&lt;P&gt;Anyone can help me?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 01:27:36 GMT</pubDate>
    <dc:creator>MVR</dc:creator>
    <dc:date>2024-10-23T01:27:36Z</dc:date>
    <item>
      <title>CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1976415#M42244</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have two codes using CAN0 and CAN1, the first code using RTD (&lt;SPAN&gt;S32K3_RTD_2_0_1_D2207_ASR_REL_4_4_REV_0000_20220707) both channels are working properly with this configuration on S32DS:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_0-1729190610129.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305316i6EBCEAE53072285B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_0-1729190610129.png" alt="MVR_0-1729190610129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_1-1729190718903.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305317i2EA64D6A79A0B794/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_1-1729190718903.png" alt="MVR_1-1729190718903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I configure the same baudrate on EB Tresos 29.0, only the CAN0 is working, the CAN1 is returning error on BUSMASTER tool:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_2-1729190948305.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305319i3E24F789F35CFED9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_2-1729190948305.png" alt="MVR_2-1729190948305.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the configuration on Tresos for CAN0 and CAN1:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_3-1729191021584.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305320i423F0E23BB5BFEA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_3-1729191021584.png" alt="MVR_3-1729191021584.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_4-1729191054213.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305321i9577E01ECE026BD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_4-1729191054213.png" alt="MVR_4-1729191054213.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_5-1729191084801.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305322iEADC223DFA3EF82C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_5-1729191084801.png" alt="MVR_5-1729191084801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_14-1729199943852.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305343iFA41760068C2542E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_14-1729199943852.png" alt="MVR_14-1729199943852.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_13-1729199889766.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305342i1DBEDF49E9307904/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_13-1729199889766.png" alt="MVR_13-1729199889766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_8-1729191175262.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305325iE84E98C992E21D81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_8-1729191175262.png" alt="MVR_8-1729191175262.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_11-1729199731391.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305340i3B73778A4F6634BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_11-1729199731391.png" alt="MVR_11-1729199731391.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code that I`m using for test:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_9-1729191308590.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305326iB7079072F1E1AFFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_9-1729191308590.png" alt="MVR_9-1729191308590.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I select the instance 0, I can see the message reaching the BUSMASTER correctly:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_10-1729191541450.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305327i39858AEE821B498C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_10-1729191541450.png" alt="MVR_10-1729191541450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note: The transceiver is being configured correctly and as I said, using the RTD code it is working properly, so the hardware is validated.&lt;/P&gt;&lt;P&gt;Anyone can help me with this issue?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;MVR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 21:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1976415#M42244</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-10-17T21:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1976805#M42264</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;try to use same bit timing setting, even that the one you use in EB would be correct too.&lt;BR /&gt;Compare values actually written to bit timing registers.&lt;BR /&gt;Finally, do not use FIRC as PE clock source, select FXOSC, or PLL running from FXOSC.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 07:40:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1976805#M42264</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-10-18T07:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1977233#M42275</link>
      <description>I checked the registers and they are the same for bit timing setting, even with different values set in EB... I will test with the another clock that you recommended.</description>
      <pubDate>Fri, 18 Oct 2024 15:15:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1977233#M42275</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-10-18T15:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1977384#M42281</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I changed the clock but still the channel 1 is not working... Do you have another idea?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 20:03:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1977384#M42281</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-10-18T20:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1979614#M42406</link>
      <description>&lt;P&gt;Anyone can help me?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 01:27:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1979614#M42406</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-10-23T01:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1980167#M42433</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;try to share simplified project so can be tested on EVB.&lt;BR /&gt;Maybe other try could be testing behavior on latest RTD.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 11:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1980167#M42433</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-10-23T11:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1980792#M42457</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The generated code are the same, using the RTD 2.0.1 and the last version of AUTOSAR HF02 (&lt;SPAN&gt;S32K3_RTD_4_0_0_HF02_D2407_ASR_REL_4_7_REV_0000_20240725), but looking the registers, they are different:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Into the "FlexCAN_Ip_Vs_0_PBcfg.c" in both generated code we can see these values (this is one example about bitrate, but the other configuration are the same):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_0-1729744910477.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306621i689869C57274DC10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_0-1729744910477.png" alt="MVR_0-1729744910477.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the registers we can see different values:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_5-1729745181047.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306626i706DF22CC90E47BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_5-1729745181047.png" alt="MVR_5-1729745181047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_6-1729745194254.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306627iB6F7E089BA43628A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_6-1729745194254.png" alt="MVR_6-1729745194254.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_7-1729745202668.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306628i36E3F29343FCF941/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_7-1729745202668.png" alt="MVR_7-1729745202668.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_8-1729745213193.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306629i1C2B2146470F60F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_8-1729745213193.png" alt="MVR_8-1729745213193.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_1-1729745107341.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306622i7396BD66E3AB5D02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_1-1729745107341.png" alt="MVR_1-1729745107341.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_3-1729745122469.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306624i0DD2940AC67FD6FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_3-1729745122469.png" alt="MVR_3-1729745122469.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_4-1729745129613.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306625iF720ECC421773D34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_4-1729745129613.png" alt="MVR_4-1729745129613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How is it possible since the generated code is the same? Again, the CAN0 is working with the new version, but CAN1 is not working.&lt;/P&gt;&lt;P&gt;Note: Left side is the RTD 2.0.1 for S32DS -&amp;nbsp;SW32K3_RTD_4.4_2.0.1 (&lt;SPAN&gt;S32K3_RTD_2_0_1_D2207_ASR_REL_4_4_REV_0000_20220707) and in the right side is the new library version for Tresos - SW32K3_RTD_R21-11_4.0.0_HF_02 (S32K3_RTD_4_0_0_HF02_D2407_ASR_REL_4_7_REV_0000_20240725).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;MVR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 04:50:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1980792#M42457</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-10-24T04:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1980808#M42458</link>
      <description>&lt;P&gt;Ops, I made a mistake. CBT registers are not different, they are the same:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MVR_0-1729747003273.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306636iC3266A458051A641/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MVR_0-1729747003273.png" alt="MVR_0-1729747003273.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sorry, I took a screenshot when I was changing the bitrate. But with the bitrate the same, CBT are the same.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 05:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1980808#M42458</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-10-24T05:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1980820#M42459</link>
      <description>&lt;P&gt;Note:&amp;nbsp;I set manually the bitrate only to see if this is the problem, but the generated code for bitrate are different...&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 05:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1980820#M42459</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-10-24T05:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: CAN1 issue using S32K344 - Error Frame (stuff error)</title>
      <link>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1982261#M42549</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I found the issue. We have a mosfet in the hardware to control the terminator resistor. If the mosfet is activated, the terminator circuit will be working.&lt;/P&gt;&lt;P&gt;The CAN0 doesn't have this mosfet. I didn't know about it... Also the registers are different, so these two things fooled me.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 18:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN1-issue-using-S32K344-Error-Frame-stuff-error/m-p/1982261#M42549</guid>
      <dc:creator>MVR</dc:creator>
      <dc:date>2024-10-25T18:37:58Z</dc:date>
    </item>
  </channel>
</rss>

