<?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: CAN FD NACK Error S32k144 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/CAN-FD-NACK-Error-S32k144/m-p/1077364#M7563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;be sure&amp;nbsp;FlexCAN operates using the ISO CAN FD protocol so you have CTRL2[ISOCANFDEN] bit set.&lt;/P&gt;&lt;P&gt;Or configure it according the CAN tool setting, but this appears using ISO CAN FD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the CAN bit setting configure it to have the same sample point as CAN tool. It is recommended to have same prescaler and TDC is not needed for this rates. You can use e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CANx_CBT = 0x806B29EB;&amp;nbsp; // bitrate=500kbps, CPI clk=80 MHz; Prescaler= 4, PROPSEG=11, PSEG1=16, PSEG2=12, RJW=12, smp=70%&lt;/P&gt;&lt;P&gt;CANx_FDCBT = 0x003514E5;&amp;nbsp; // bitrateFD=1000kbps, CPI clk=80 MHz; fPrescaler= 4, fPROPSEG=5, fPSEG1=8, fPSEG2=6, fRJW=6, smp=70%&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2020 07:10:33 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2020-07-23T07:10:33Z</dc:date>
    <item>
      <title>CAN FD NACK Error S32k144</title>
      <link>https://community.nxp.com/t5/S32K/CAN-FD-NACK-Error-S32k144/m-p/1077363#M7562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using S32k144 evaluation board and i am trying to establish CAN FD communication between it and Canoe environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I configured S32k144 with arbitration phase bit rate 500kb/s and data phase bit rate 1Mb/s&lt;/P&gt;&lt;P&gt;When i start canoe, it gives me not acknowledge error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116622iBB191840F297FD1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i want to ask you if NACK error can happen because of clock settings issues in both sides?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;S32k144 parameters:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Clock 80Mhz&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Arbitration phase params:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;BR: 500k&lt;/LI&gt;&lt;LI&gt;BR prescaler: 16&lt;/LI&gt;&lt;LI&gt;Prop Seg: 5&lt;/LI&gt;&lt;LI&gt;Seg1: 2&lt;/LI&gt;&lt;LI&gt;Seg2: 2&lt;/LI&gt;&lt;LI&gt;Sjw: 1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data phase params:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;BR:&amp;nbsp;1M&lt;/LI&gt;&lt;LI&gt;BR prescaler: 4&lt;/LI&gt;&lt;LI&gt;Prop Seg: 11&lt;/LI&gt;&lt;LI&gt;Seg1: 4&lt;/LI&gt;&lt;LI&gt;Seg2: 4&lt;/LI&gt;&lt;LI&gt;Sjw: 2&lt;/LI&gt;&lt;LI&gt;Trcv delay compensation offset: 300&lt;/LI&gt;&lt;LI&gt;BRS is enabled&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And Canoe settings:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116623i7811B839292AC478/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116624iC8550AFCBE174462/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116625iFDAFE0F31CD4B776/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your kind support,&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 00:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-FD-NACK-Error-S32k144/m-p/1077363#M7562</guid>
      <dc:creator>marwanibrahim</dc:creator>
      <dc:date>2020-07-23T00:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: CAN FD NACK Error S32k144</title>
      <link>https://community.nxp.com/t5/S32K/CAN-FD-NACK-Error-S32k144/m-p/1077364#M7563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;be sure&amp;nbsp;FlexCAN operates using the ISO CAN FD protocol so you have CTRL2[ISOCANFDEN] bit set.&lt;/P&gt;&lt;P&gt;Or configure it according the CAN tool setting, but this appears using ISO CAN FD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the CAN bit setting configure it to have the same sample point as CAN tool. It is recommended to have same prescaler and TDC is not needed for this rates. You can use e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CANx_CBT = 0x806B29EB;&amp;nbsp; // bitrate=500kbps, CPI clk=80 MHz; Prescaler= 4, PROPSEG=11, PSEG1=16, PSEG2=12, RJW=12, smp=70%&lt;/P&gt;&lt;P&gt;CANx_FDCBT = 0x003514E5;&amp;nbsp; // bitrateFD=1000kbps, CPI clk=80 MHz; fPrescaler= 4, fPROPSEG=5, fPSEG1=8, fPSEG2=6, fRJW=6, smp=70%&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 07:10:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-FD-NACK-Error-S32k144/m-p/1077364#M7563</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-07-23T07:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: CAN FD NACK Error S32k144</title>
      <link>https://community.nxp.com/t5/S32K/CAN-FD-NACK-Error-S32k144/m-p/1077365#M7564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply, Petr.&lt;/P&gt;&lt;P&gt;Yes, i can confirm that the problem was in ISO CAN FD enable bit, it wasn't set so i was wrongly working on NON ISO CAN FD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2020 12:58:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-FD-NACK-Error-S32k144/m-p/1077365#M7564</guid>
      <dc:creator>marwanibrahim</dc:creator>
      <dc:date>2020-07-26T12:58:28Z</dc:date>
    </item>
  </channel>
</rss>

