<?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: Bit rate calculation for CAN FD in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645752#M459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Petr, Now we are able to see the attached file, may be there was some browser issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2016 12:33:06 GMT</pubDate>
    <dc:creator>nitinverma</dc:creator>
    <dc:date>2016-11-11T12:33:06Z</dc:date>
    <item>
      <title>Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645741#M448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using s32k144 evaluation board.&lt;/P&gt;&lt;P&gt;Currently we are using standard CAN with 500 Kbps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Macros for CAN_Baudrate setting */&lt;BR /&gt;BAUDRATE_PROPSEG = 4u&lt;BR /&gt;BAUDRATE_PHASESEG1 = &amp;nbsp;7u&lt;BR /&gt;BAUDRATE_PHASESEG2 &amp;nbsp;= 1u&lt;BR /&gt;BAUDRATE_PREDIVIDER = 0x00u&lt;BR /&gt;BAUDRATE_RJUMPWIDTH = 1u&lt;/P&gt;&lt;P&gt;This setting is working well.&lt;/P&gt;&lt;P&gt;But now we need to use it for CAN FD with data phase as 2 Mbps. Please let us know what values we need to pass for the above parameters.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 12:11:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645741#M448</guid>
      <dc:creator>nitinverma</dc:creator>
      <dc:date>2016-11-09T12:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645742#M449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Nitin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;What is clock is used for the CAN engine(PE clock) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Rares&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 12:34:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645742#M449</guid>
      <dc:creator>raresvasile</dc:creator>
      <dc:date>2016-11-09T12:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645743#M450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your bit rate setting is not correct, or better does not follow CAN standard. It can work, but it is not CAN standard compliant.&lt;/P&gt;&lt;P&gt;See attached simple example configuring CAN module to send FD message. The bit timing config is dine in InitCAN() function. A 40MHz bus clock is selected for engine clock. &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>Wed, 09 Nov 2016 13:04:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645743#M450</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-11-09T13:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645744#M451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;clock used for the CAN engine is oscillator clock with 8Mhz frequency&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645744#M451</guid>
      <dc:creator>nitinverma</dc:creator>
      <dc:date>2016-11-09T14:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645745#M452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;clock used for the CAN engine is oscillator clock with 8Mhz frequency&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645745#M452</guid>
      <dc:creator>nitinverma</dc:creator>
      <dc:date>2016-11-09T14:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645746#M453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;PFA the link from where I got the values for 500 kbps with 8Mhz frequency for standard CAN.&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="http://www.bittiming.can-wiki.info/" title="http://www.bittiming.can-wiki.info/"&gt;http://www.bittiming.can-wiki.info/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here the device I have selected as NXP(Freescale)FlexCAN, and got the following mentioned values.&lt;/P&gt;&lt;P&gt;Now, I need the values for CAN FD with data phase as 2mbps and clock is 8Mhz. As per your reply I did not find any attached example,Can you please send it once again.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 04:35:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645746#M453</guid>
      <dc:creator>nitinverma</dc:creator>
      <dc:date>2016-11-10T04:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645747#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can get some setting with the link you provided, but it does not follow basic rules given in &lt;A href="http://www.oertel-halle.de/files/cia99paper.pdf"&gt;The Configuration of the CAN Bit Timing&lt;/A&gt;. The PHY interface and bus length must be also considered to get proper PROPSEG value, etc.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can try e.g this simple guide (&lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" data-containerid="11363" data-containertype="14" data-objectid="330446" data-objecttype="102" href="https://community.nxp.com/docs/DOC-330446"&gt;https://community.nxp.com/docs/DOC-330446&lt;/A&gt;&lt;SPAN&gt;) for Standard CAN bit timing calculation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the FD bit time calculation; it is recommended to have the same time quanta length for the data phase and set the sample time somewhere in the middle of the data bit time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the 8Mhz protocol clock and your desired 2Mbps for data phase you do not get valid setting. Minimum time quanta is 5, while with 8Mhz clock you get only 4 time quanta per bit. You need to increase protocol clock to be able to have 2Mbps data phase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;For the example link; I see the file within this thread….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&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/8779iF16302F81FC6EF24/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 08:50:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645747#M454</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-11-10T08:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645748#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help. But we are not able to see the attached "S32K144_FRDM_CAN_FD_Demo_RevC.zip". Could you please upload this again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 13:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645748#M455</guid>
      <dc:creator>nitinverma</dc:creator>
      <dc:date>2016-11-10T13:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645749#M456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here it is again...&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>Fri, 11 Nov 2016 09:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645749#M456</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-11-11T09:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645750#M457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;We are still not able to see or download the attached zip file. Could you please mail us the zip file at &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:nitinkumar.verma@tcs.com"&gt;nitinkumar.verma@tcs.com&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8781i86ADADC239E2DED2/image-size/large?v=v2&amp;amp;px=999" role="button" title="12.PNG" alt="12.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 11:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645750#M457</guid>
      <dc:creator>nitinverma</dc:creator>
      <dc:date>2016-11-11T11:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645751#M458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange issue, after ctrl+f5 is still not visible? What browser are you using?&lt;/P&gt;&lt;P&gt;I cannot reproduce it on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please could you download it from &lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/servlet/JiveServlet/download/850381-1-395567/S32K144_FRDM_CAN_FD_Demo_RevC.zip" title="https://community.nxp.com/servlet/JiveServlet/download/850381-1-395567/S32K144_FRDM_CAN_FD_Demo_RevC.zip"&gt;https://community.nxp.com/servlet/JiveServlet/download/850381-1-395567/S32K144_FRDM_CAN_FD_Demo_RevC.zip&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Iva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 12:23:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645751#M458</guid>
      <dc:creator>ivadorazinova</dc:creator>
      <dc:date>2016-11-11T12:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645752#M459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Petr, Now we are able to see the attached file, may be there was some browser issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 12:33:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645752#M459</guid>
      <dc:creator>nitinverma</dc:creator>
      <dc:date>2016-11-11T12:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645753#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would it be possible to provide a specialized CAN-FD bittiming calculator?&lt;/P&gt;&lt;P&gt;There is AN5408 available for clock calcualtions on S32K but unfortunately the FlexCAN module is not considered.&lt;/P&gt;&lt;P&gt;Would be really helpful if that&amp;nbsp;one could be enhanced for standard CAN and CAN-FD clocking calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;Guenter&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 07:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645753#M460</guid>
      <dc:creator>guenter_loettrich</dc:creator>
      <dc:date>2017-04-20T07:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bit rate calculation for CAN FD</title>
      <link>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645754#M461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guenter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, I am planning to create some document/excel this year, but not sure how fast I will be. We have quite enough work (Cases, community etc) in past days/weeks/months.&lt;/P&gt;&lt;P&gt;The AN5408 does not deal with the CAN timing, only provide module/protocol clock.&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, 20 Apr 2017 09:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bit-rate-calculation-for-CAN-FD/m-p/645754#M461</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-04-20T09:07:02Z</dc:date>
    </item>
  </channel>
</rss>

