<?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: S32K144 FlexCAN0 FD Mode in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137229#M51127</link>
    <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961" target="_blank"&gt;@PetrS&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your response!&lt;/P&gt;&lt;P&gt;As you suggested, I tried configuring the CAN to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;receive only 0x7E0 Extended ID frames&lt;/STRONG&gt;, but I’m&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;getting a Bus Error&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;when trying to receive FD frames with those settings. (I'm using PEAK CAN for sending CAN FD frames with EXT ID - 0x7E0 with BRS = 0)&lt;/P&gt;&lt;P&gt;I would like to request your help with a more specific configuration. I'm trying to configure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;FlexCAN0 on the S32K144&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to receive&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;CAN FD frames&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with the following settings:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Nominal Bitrate&lt;/STRONG&gt;: 1 Mbps&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Data Bitrate&lt;/STRONG&gt;: (Same as nominal, since BRS = 0)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;FD Mode&lt;/STRONG&gt;: Enabled&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bit Rate Switching (BRS)&lt;/STRONG&gt;: Disabled (i.e., BRS = 0)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Frame ID to receive&lt;/STRONG&gt;: Extended ID&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;0x7E0&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So far, I’ve been successful with Classical CAN using various IDs and baud rates, but I'm having trouble with enabling and validating the FD mode specifically on S32K144.&lt;/P&gt;&lt;P&gt;Could you please provide a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;step-by-step guide or checklist&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Enable and configure CAN FD mode on S32K144 (FlexCAN0).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Properly configure the timing and control registers for 1 Mbps nominal bitrate with FD enabled and BRS disabled(FlexCAN0_clk -&amp;gt; 40MHz).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Set up the receive message buffers to accept&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Extended ID 0x7E0&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in FD format.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Verify that the received FD frame is being correctly handled (with or without payload checking).&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance for your support!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Prashanth Kumar M G&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jul 2025 08:52:10 GMT</pubDate>
    <dc:creator>Prashanth1</dc:creator>
    <dc:date>2025-07-21T08:52:10Z</dc:date>
    <item>
      <title>S32K144 FlexCAN0 FD Mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2136396#M51075</link>
      <description>&lt;P&gt;Hi NXP Community,&lt;/P&gt;&lt;P&gt;I'm currently working on enabling &lt;STRONG&gt;CAN FD (no BRS)&lt;/STRONG&gt; reception using &lt;STRONG&gt;FlexCAN0 on S32K144&lt;/STRONG&gt;. I have successfully configured Classic CAN for both standard and extended IDs, and it works as expected.&lt;/P&gt;&lt;P&gt;However, when switching to &lt;STRONG&gt;CAN FD with BRS = 0&lt;/STRONG&gt;, I am &lt;STRONG&gt;unable to receive messages&lt;/STRONG&gt; for extended IDs &lt;STRONG&gt;0x7E0 and 0x7DF&lt;/STRONG&gt;. Here's a summary of what I’ve done:&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;Configuration Details:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;FD Mode Enabled&lt;/STRONG&gt; (CTRL2.ISOCANFDEN = 1)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;BRS Disabled&lt;/STRONG&gt; via frame format, but FDCTRL.FDRATE = 1 (still OK per spec)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Message Buffers 4 and 5&lt;/STRONG&gt; configured to receive &lt;STRONG&gt;extended IDs&lt;/STRONG&gt; 0x7E0 and 0x7DF&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bit Timing&lt;/STRONG&gt; (Nominal = 500 kbps, Data = 2 Mbps)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;CBT &amp;amp; FDCBT&lt;/STRONG&gt; used for CAN FD mode (via FD features)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;H3&gt;What Works:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Classic CAN Rx/Tx works for both IDs.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;H3&gt;Issue:&lt;/H3&gt;&lt;P&gt;When trying to receive &lt;STRONG&gt;CAN FD frames with BRS = 0&lt;/STRONG&gt;, no interrupt or flag is triggered, and nothing is received in MB4/MB5.&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;Code :&lt;/H3&gt;&lt;P&gt;void FLEXCAN0_init(void)&lt;BR /&gt;{&lt;BR /&gt;#define MSG_BUF_SIZE 18 /* Msg Buffer Size: 2 header + 2 data = 4 words */&lt;BR /&gt;uint32_t i = 0;&lt;/P&gt;&lt;P&gt;/* Enable clock to FlexCAN0 */&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_FlexCAN0_INDEX] |= PCC_PCCn_CGC_MASK;&lt;/P&gt;&lt;P&gt;/* Enable FD support and allow configuration via CBT */&lt;BR /&gt;CAN0-&amp;gt;MCR |= CAN_MCR_MDIS_MASK; // Disable module&lt;BR /&gt;CAN0-&amp;gt;CTRL1 &amp;amp;= ~CAN_CTRL1_CLKSRC_MASK; // CLKsrc=0: Clock Source = SOSCDIV2 (8 MHz)&lt;BR /&gt;CAN0-&amp;gt;MCR &amp;amp;= ~CAN_MCR_MDIS_MASK; // Enable module (enter Freeze mode)&lt;/P&gt;&lt;P&gt;while (!((CAN0-&amp;gt;MCR &amp;amp; CAN_MCR_FRZACK_MASK) &amp;gt;&amp;gt; CAN_MCR_FRZACK_SHIFT)) {}&lt;/P&gt;&lt;P&gt;/* Configure nominal phase: 500 kbps */&lt;BR /&gt;CAN0-&amp;gt;CBT = CAN_CBT_EPSEG2(12) // EPSEG2 = 12&lt;BR /&gt;| CAN_CBT_EPSEG1(18) // EPSEG1 = 18&lt;BR /&gt;| CAN_CBT_EPROPSEG(46) // EPROPSEG = 46&lt;BR /&gt;| CAN_CBT_ERJW(12); // ERJW = 12&lt;/P&gt;&lt;P&gt;/* Configure data phase: 2 Mbps */&lt;BR /&gt;CAN0-&amp;gt;FDCBT = CAN_CBT_EPSEG2(3) // FPSEG2 = 3&lt;BR /&gt;| CAN_CBT_EPSEG1(7) // FPSEG1 = 7&lt;BR /&gt;| CAN_CBT_EPROPSEG(7) // FPROPSEG = 7&lt;BR /&gt;| CAN_CBT_ERJW(3); // FRJW = 3&lt;/P&gt;&lt;P&gt;/* Enable FD mode with TDC, 64-byte payload, BRS = 1 */&lt;BR /&gt;CAN0-&amp;gt;FDCTRL = CAN_FDCTRL_FDRATE_MASK // BRS enabled&lt;BR /&gt;| CAN_FDCTRL_MBDSR0(3) // MB payload = 64 bytes&lt;BR /&gt;| CAN_FDCTRL_TDCEN_MASK // Transceiver delay compensation&lt;BR /&gt;| CAN_FDCTRL_TDCOFF(5); // TDC offset = 5&lt;/P&gt;&lt;P&gt;/* Clear all message buffers */&lt;BR /&gt;for (i = 0; i &amp;lt; 128; i++) {&lt;BR /&gt;CAN0-&amp;gt;RAMn[i] = 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/* Enable all RXIMR filters */&lt;BR /&gt;for (i = 0; i &amp;lt; 16; i++) {&lt;BR /&gt;CAN0-&amp;gt;RXIMR[i] = 0xFFFFFFFF;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;CAN0-&amp;gt;RXMGMASK = 0x1FFFFFFF;&lt;/P&gt;&lt;P&gt;/* MB4 -&amp;gt; Receive Extended ID 0x7E0 as CAN FD, no BRS */&lt;BR /&gt;CAN0-&amp;gt;RAMn[4 * MSG_BUF_SIZE + 0] =&lt;BR /&gt;(4 &amp;lt;&amp;lt; 24) // CODE = 0b0100 (Rx Empty)&lt;BR /&gt;| (1 &amp;lt;&amp;lt; 21) // IDE = 1 (Extended ID)&lt;BR /&gt;| (1 &amp;lt;&amp;lt; 20); // EDL = 1 (CAN FD Frame, BRS = 0)&lt;/P&gt;&lt;P&gt;CAN0-&amp;gt;RAMn[4 * MSG_BUF_SIZE + 1] = 0x1F800000; // ID = 0x7E0&lt;/P&gt;&lt;P&gt;/* MB5 -&amp;gt; Receive Extended ID 0x7DF as CAN FD, no BRS */&lt;BR /&gt;CAN0-&amp;gt;RAMn[5 * MSG_BUF_SIZE + 0] =&lt;BR /&gt;(4 &amp;lt;&amp;lt; 24) // CODE = 0b0100 (Rx Empty)&lt;BR /&gt;| (1 &amp;lt;&amp;lt; 21) // IDE = 1 (Extended ID)&lt;BR /&gt;| (1 &amp;lt;&amp;lt; 20); // EDL = 1 (CAN FD Frame, BRS = 0)&lt;/P&gt;&lt;P&gt;CAN0-&amp;gt;RAMn[5 * MSG_BUF_SIZE + 1] = 0x1FA00000; // ID = 0x7DF&lt;/P&gt;&lt;P&gt;/* Enable ISO CAN FD CRC support */&lt;BR /&gt;CAN0-&amp;gt;CTRL2 |= CAN_CTRL2_ISOCANFDEN_MASK;&lt;/P&gt;&lt;P&gt;/* Exit freeze mode */&lt;BR /&gt;CAN0-&amp;gt;MCR = 0x0000081F;&lt;/P&gt;&lt;P&gt;while ((CAN0-&amp;gt;MCR &amp;amp; CAN_MCR_FRZACK_MASK) &amp;gt;&amp;gt; CAN_MCR_FRZACK_SHIFT) {}&lt;BR /&gt;while ((CAN0-&amp;gt;MCR &amp;amp; CAN_MCR_NOTRDY_MASK) &amp;gt;&amp;gt; CAN_MCR_NOTRDY_SHIFT) {}&lt;BR /&gt;}&lt;/P&gt;&lt;HR /&gt;&lt;H3&gt;My Questions:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is &lt;STRONG&gt;additional configuration required&lt;/STRONG&gt; to receive &lt;STRONG&gt;CAN FD frames with BRS = 0&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there &lt;STRONG&gt;restrictions in FlexCAN&lt;/STRONG&gt; that affect reception of FD frames without bit rate switching?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Does FDCTRL.FDRATE need to be set to 0 when BRS is not used?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;How can I debug whether the message is being filtered or discarded?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;HR /&gt;&lt;H3&gt;Tools Used:&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;S32 Design Studio&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;S32K144EVB&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;External CAN tool sending FD frames with BRS = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Prashanth Kumar M G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 08:20:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2136396#M51075</guid>
      <dc:creator>Prashanth1</dc:creator>
      <dc:date>2025-07-18T08:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN0 FD Mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2136553#M51091</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;1) no, it behaves the same way as receiving Normal CAN, Also you need not to set BRS/EDL bits in RX MB. Those are updated upon reception based on message&lt;BR /&gt;2) no restriction for receiving&lt;BR /&gt;3)&amp;nbsp;&lt;SPAN&gt;FDCTRL.FDRATE affects only message transmission, does not influence reception.&amp;nbsp;&lt;BR /&gt;4) you can only see if message is properly received without error, in that case MB flag is set and MB updated. There is no indication of discard etc. You can inspect error detected (ECR/ESR1 registers)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In your case, most probably the MB ID setting is the cause. if have IDE bit set and&amp;nbsp;&lt;BR /&gt;CAN0-&amp;gt;RAMn[4 * MSG_BUF_SIZE + 1] = 0x1F800000; // ID = 0x7E0&lt;BR /&gt;Then did you send message with ID=0x1F800000 by CAN tool? Or you sent ext ID = 0x7E0&lt;BR /&gt;In that case you need to have&lt;BR /&gt;CAN0-&amp;gt;RAMn[4 * MSG_BUF_SIZE + 1] = 0x7E0; // ID = 0x7E0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 12:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2136553#M51091</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-07-18T12:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN0 FD Mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137229#M51127</link>
      <description>&lt;P&gt;Hi&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961" target="_blank"&gt;@PetrS&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your response!&lt;/P&gt;&lt;P&gt;As you suggested, I tried configuring the CAN to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;receive only 0x7E0 Extended ID frames&lt;/STRONG&gt;, but I’m&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;getting a Bus Error&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;when trying to receive FD frames with those settings. (I'm using PEAK CAN for sending CAN FD frames with EXT ID - 0x7E0 with BRS = 0)&lt;/P&gt;&lt;P&gt;I would like to request your help with a more specific configuration. I'm trying to configure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;FlexCAN0 on the S32K144&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to receive&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;CAN FD frames&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with the following settings:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Nominal Bitrate&lt;/STRONG&gt;: 1 Mbps&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Data Bitrate&lt;/STRONG&gt;: (Same as nominal, since BRS = 0)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;FD Mode&lt;/STRONG&gt;: Enabled&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bit Rate Switching (BRS)&lt;/STRONG&gt;: Disabled (i.e., BRS = 0)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Frame ID to receive&lt;/STRONG&gt;: Extended ID&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;0x7E0&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So far, I’ve been successful with Classical CAN using various IDs and baud rates, but I'm having trouble with enabling and validating the FD mode specifically on S32K144.&lt;/P&gt;&lt;P&gt;Could you please provide a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;step-by-step guide or checklist&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Enable and configure CAN FD mode on S32K144 (FlexCAN0).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Properly configure the timing and control registers for 1 Mbps nominal bitrate with FD enabled and BRS disabled(FlexCAN0_clk -&amp;gt; 40MHz).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Set up the receive message buffers to accept&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Extended ID 0x7E0&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in FD format.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Verify that the received FD frame is being correctly handled (with or without payload checking).&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance for your support!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Prashanth Kumar M G&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 08:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137229#M51127</guid>
      <dc:creator>Prashanth1</dc:creator>
      <dc:date>2025-07-21T08:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN0 FD Mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137300#M51130</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;can you share your simplified project so I can check/test?&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 09:55:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137300#M51130</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-07-21T09:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN0 FD Mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137367#M51135</link>
      <description>Hi Sir,&lt;BR /&gt;I attached my project .zip file privately&lt;BR /&gt;Can you please Check Once</description>
      <pubDate>Mon, 21 Jul 2025 10:58:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137367#M51135</guid>
      <dc:creator>Prashanth1</dc:creator>
      <dc:date>2025-07-21T10:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN0 FD Mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137429#M51141</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;thanks for a code, unfortunately I do not have SDK401 installed, so cannot compile a code.&lt;BR /&gt;But from code checking I also see the CAN bit timing is wrong. You need to set module to use sys_clk as clock source as with 8MHz crystal you cannot get desired 1M/2M bitrate.&lt;BR /&gt;See attached demo, tested on S32K144EVB.&lt;BR /&gt;I got right communication with PCAN tool, receiving ext ID0x7e0 FD message with BRS=0 into MB4.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1753099550983.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/348544iDEB95DD526F27B0A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1753099550983.png" alt="PetrS_0-1753099550983.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 12:06:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137429#M51141</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-07-21T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN0 FD Mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137448#M51145</link>
      <description>Hi Sir,&lt;BR /&gt;Thank you very much! Your latest suggestion worked perfectly, and now I'm able to receive CAN FD frames with the desired configuration on the S32K144.&lt;BR /&gt;&lt;BR /&gt;I have a quick follow-up:&lt;BR /&gt;&lt;BR /&gt;Is there any **easiest or recommended way to calculate the CAN/CAN FD bitrates**, especially while choosing the timing segments and prescaler values?&lt;BR /&gt;So far, I'm using this formula:&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;Bitrate = CAN_CLK / ((1 + PROPSEG + PSEG1 + PSEG2) * (1 + PREDIV))&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;Is this only formula we should rely on? Also, in the S32K SDK, I noticed that the available FlexCAN configuration APIs (like `FLEXCAN_SetBitrate()`, etc.) **don’t seem to produce valid timing settings**, especially for FD mode. Is there any specific reason behind this or a better way to use those APIs correctly?&lt;BR /&gt;&lt;BR /&gt;Thanks again for your support and guidance!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Prashanth Kumar M G</description>
      <pubDate>Mon, 21 Jul 2025 12:42:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137448#M51145</guid>
      <dc:creator>Prashanth1</dc:creator>
      <dc:date>2025-07-21T12:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 FlexCAN0 FD Mode</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137953#M51168</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;the generic formula is&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Bitrate = CAN_CLK / ((1 + PROPSEG + PSEG1 + PSEG2) * (PREDIV))&lt;BR /&gt;where parameters are calculated one, note the value written to register is minus 1, except of propseg for data phase. To ease calculation you can use below tool I did&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5xxx-S32Kxx-LPCxxxx-CAN-CAN-FD-bit-timing-calculation/ta-p/1119319" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5xxx-S32Kxx-LPCxxxx-CAN-CAN-FD-bit-timing-calculation/ta-p/1119319&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For FlexCAN SDK API;&amp;nbsp;FLEXCAN_DRV_SetBitrate and&amp;nbsp;FLEXCAN_DRV_SetBitrateCbt can be used to set nominal and data bitrates. Functions writes given values to respective registers directly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 05:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-FlexCAN0-FD-Mode/m-p/2137953#M51168</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-07-22T05:18:18Z</dc:date>
    </item>
  </channel>
</rss>

