<?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>MPC5xxx中的主题 Re: MPC5748G CAN-FD bit timing</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575958#M4125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I had this discussion last year when I received Cut2. It was a mistake in CAN-FD specification. :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2016 15:17:58 GMT</pubDate>
    <dc:creator>antoniograu</dc:creator>
    <dc:date>2016-06-29T15:17:58Z</dc:date>
    <item>
      <title>MPC5748G CAN-FD bit timing</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575954#M4121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a couple of questions. I´m using a MPC5748G and I want to change the bit timming when using CAN-FD mode.&lt;/P&gt;&lt;P&gt;Currently I have CAN-FD working with 500kbps arbritation and 2000Kbps Data Phase working.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to change the sample point to make some tests.&lt;/P&gt;&lt;P&gt;Is there any document like "FlexCANbitTiming.pdf" but for CAN-FD?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understood from Reference Manual that CAN-FD arbitration bit timing is affected by CAN_CTRL1 or CAN_CBT and data phase is affected only by register CAN_FDCBT, right?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far I understood, the CRC on the register is filled at TX:&lt;STRONG&gt; "This register is updated at the same time the Tx Interrupt Flag is asserted."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is the CAN module checking also the CRC of received frames? Is there a code to calculate CRC of CANFD frames of a non-iso can-fd?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 07:37:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575954#M4121</guid>
      <dc:creator>antoniograu</dc:creator>
      <dc:date>2016-06-27T07:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G CAN-FD bit timing</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575955#M4122</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 style="margin-bottom: .0001pt;"&gt;Q: Is there any document like "FlexCANbitTiming.pdf" but for CAN-FD?&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;A: unfortunately not. You should use an info stated within Reference Manual or CAN-FD specification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Q: I understood from Reference Manual that CAN-FD arbitration bit timing is affected by CAN_CTRL1 or CAN_CBT and data phase is affected only by register CAN_FDCBT, right?&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;A: Yes, you are right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Q: Is the CAN module checking also the CRC of received frames? Is there a code to calculate CRC of CAN-FD frames of a non-iso can-fd?&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;A: There are different CRC polynomials for different CAN frame formats. &lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;- CRC_15 … used for all frames in Classical CAN format. &lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;- CRC_17 … used for frames in CAN FD format with a data field up to 16 bytes long.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;- CRC_21 … used for frames in CAN FD format with a data field longer than 16 sixteen bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;The receivers use the same polynomial to calculate the check sum from the bits as seen on the bus-lines. Thus when receiving a message, FlexCAN decodes EDL and DLC to select the adequate CRC polynomial to check for a CRC error.&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>Tue, 28 Jun 2016 07:35:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575955#M4122</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-06-28T07:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G CAN-FD bit timing</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575956#M4123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/antoniograu"&gt;antoniograu&lt;/A&gt;​, you might want to look at this topic as well, especially answer from &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lukaszadrapa"&gt;lukaszadrapa&lt;/A&gt;​:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/377680#comment-575999" title="https://community.nxp.com/thread/377680#comment-575999"&gt;https://community.nxp.com/thread/377680#comment-575999&lt;/A&gt; &lt;/P&gt;&lt;P&gt;CRC calculation of MPC5748G is compliant up to certain version of CAN-FD specification, for later specification, you(we)'ll need newer cut of the devices...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575956#M4123</guid>
      <dc:creator>alexvinchev</dc:creator>
      <dc:date>2016-06-28T07:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G CAN-FD bit timing</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575957#M4124</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;thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the CRC Thema for CAN_FD frames with BRS (Bite Rate Switch) activated:&lt;/P&gt;&lt;P&gt;I´m sending CAN-FD with fixed DLC =15 from FlexCAN1 to FlexCAN2, 3, 4 and 5. So CRC21 will be used.&lt;/P&gt;&lt;P&gt;I can see the register CAN_FDCRC of CAN1 is updated every time a frame is sent.&lt;/P&gt;&lt;P&gt;What I want is to compare the CRC_FD from my CAN1 with the CRC_FD received on the other channels. &lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;Is FlexCAN module only showing CRC or CRC-FD errors at Transmission time? Is it possible to check CRC errors at receiving?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN-FD CRC.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/60794i6925B7B6A9C2255F/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN-FD CRC.PNG" alt="CAN-FD CRC.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 15:15:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575957#M4124</guid>
      <dc:creator>antoniograu</dc:creator>
      <dc:date>2016-06-29T15:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G CAN-FD bit timing</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575958#M4125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I had this discussion last year when I received Cut2. It was a mistake in CAN-FD specification. :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 15:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-FD-bit-timing/m-p/575958#M4125</guid>
      <dc:creator>antoniograu</dc:creator>
      <dc:date>2016-06-29T15:17:58Z</dc:date>
    </item>
  </channel>
</rss>

