<?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: S32K311 - FlexCAN using FIRC not working in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346175#M57753</link>
    <description>What hardware module are you using?</description>
    <pubDate>Tue, 07 Apr 2026 09:30:43 GMT</pubDate>
    <dc:creator>geeznxp</dc:creator>
    <dc:date>2026-04-07T09:30:43Z</dc:date>
    <item>
      <title>S32K311 - FlexCAN using FIRC not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2345081#M57711</link>
      <description>&lt;P&gt;I'm trying to implement FlexCAN &lt;STRONG&gt;using FIRC clock mode, but not able to successfully tx and rx CAN data&lt;/STRONG&gt;. However, &lt;U&gt;CAN is able to tx and rx when FXOSC is configured&lt;/U&gt;. According to the Clock diagram, FlexCAN is using FIRC_CLK (/2) on 24Mhz resulting in 500kbps CAN bit rate. I don't understand what I'm doing wrong.&lt;/P&gt;&lt;P&gt;Please refer to the Clock settings below. I'm attaching code base zip as well.&lt;/P&gt;&lt;P&gt;Please help me run FlexCAN on FIRC.&lt;/P&gt;&lt;P&gt;Thanks &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;#s32k3 &lt;LI-PRODUCT title="AUTOMOTIVE-RTD" id="AUTOMOTIVE-RTD"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="NXPCAN" id="NXPCAN"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2026 12:03:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2345081#M57711</guid>
      <dc:creator>geeznxp</dc:creator>
      <dc:date>2026-04-03T12:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 - FlexCAN using FIRC not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2345818#M57732</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/261352"&gt;@geeznxp&lt;/a&gt;, &lt;/P&gt;
&lt;P&gt;I've imported and tested your project. I can see both 014h and 015h IDs being sent correctly when connecting a PCAN-USB analyzer:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_1f7078a1.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381368i99D3BEA7E502AAEC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_1f7078a1.png" alt="Snag_1f7078a1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, CAN bit rate is set to 250kbps with 87.5% SP, not 500kbps:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_1f7106d7.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381369iDC79EA9B7E9EB917/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_1f7106d7.png" alt="Snag_1f7106d7.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_1f71ac10.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381370i1BE144E0BF1DD8C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_1f71ac10.png" alt="Snag_1f71ac10.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can calculate the bit rate values for 500kbps using the&amp;nbsp;&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;MPC5xxx/S32Kxx/LPCxxxx: CAN / CAN FD bit timing calculation&lt;/A&gt;&amp;nbsp;tool.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 22:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2345818#M57732</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2026-04-06T22:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 - FlexCAN using FIRC not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346175#M57753</link>
      <description>What hardware module are you using?</description>
      <pubDate>Tue, 07 Apr 2026 09:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346175#M57753</guid>
      <dc:creator>geeznxp</dc:creator>
      <dc:date>2026-04-07T09:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 - FlexCAN using FIRC not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346181#M57754</link>
      <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;What hardware module are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 09:31:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346181#M57754</guid>
      <dc:creator>geeznxp</dc:creator>
      <dc:date>2026-04-07T09:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 - FlexCAN using FIRC not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346393#M57762</link>
      <description>&lt;P&gt;I'm receiving BUSHEAVY when the same firmware is tested on PCAN-View resulting in no data reception.&lt;/P&gt;&lt;P&gt;What could be the reason to get BUSHEAVY status ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 13:48:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346393#M57762</guid>
      <dc:creator>geeznxp</dc:creator>
      <dc:date>2026-04-07T13:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 - FlexCAN using FIRC not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346459#M57763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/261352"&gt;@geeznxp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I tested your SW in the&amp;nbsp;&lt;A href="https://www.nxp.com/design/design-center/development-boards-and-designs/S32K31XEVB-Q100" target="_blank" rel="noopener"&gt;S32K31XEVB-Q100 Evaluation Board.&lt;/A&gt;&amp;nbsp;I connected CAN Rx/Tx to PCAN-USB analyzer and tested with 250kbps.&lt;/P&gt;
&lt;P&gt;Can you try one of the available examples from the RTD package?&amp;nbsp; Or alternatively, these community examples:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/RTD600-MCAL-amp-IP-S32K3X4EVB-T172-FlexCAN-Example-Interrupt/ta-p/2142069" target="_blank" rel="noopener"&gt;[RTD600 MCAL &amp;amp; IP] S32K3X4EVB-T172 FlexCAN Example Interrupt/Polling&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-CAN-Transmit-amp-Receive-Using-Polling-mode-DS3/ta-p/1789191" target="_blank" rel="noopener"&gt;Example S32K312 CAN Transmit &amp;amp; Receive Using Polling mode DS3.5 RTD300&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-CAN-Transmit-amp-Receive-Using-MB-amp-FIFO-DMA/ta-p/1789196" target="_blank" rel="noopener"&gt;Example S32K312 CAN Transmit &amp;amp; Receive Using MB &amp;amp; FIFO DMA DS3.5 RTD300&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;As for the&amp;nbsp;&lt;SPAN&gt;PCAN error message "bus heavy", that is a very broad description. Could you confirm if your bus has correct terminating resistors?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 21:54:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346459#M57763</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2026-04-07T21:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 - FlexCAN using FIRC not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346760#M57774</link>
      <description>&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;After referring to the examples you have shared, I have made another program having CAN tx and rx on interrupt with &lt;STRONG&gt;sampling point as 75% and running entirely on FIRC.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But I'm still not able to receive data on CAN. &lt;/STRONG&gt;&lt;STRONG&gt;Whereas if a CAN message is sent from PCAN its response is successfully received. But messages are not getting transmitted on the specified interval.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm attaching the screenshots as well as zip file. Can you please take a look at it ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 07:27:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2346760#M57774</guid>
      <dc:creator>geeznxp</dc:creator>
      <dc:date>2026-04-08T07:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 - FlexCAN using FIRC not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2347742#M57796</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/261352"&gt;@geeznxp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I've also tested your SW with PCAN USB correctly, both with 0x240 &amp;amp; 0x420 IDs:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_58433be.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381645iA313F05BD3512D9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snag_58433be.png" alt="Snag_58433be.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I imagine you are using a custom board, correct? I strongly suggest comparing your design with either&amp;nbsp;&lt;A href="https://www.nxp.com/design/design-center/development-boards-and-designs/S32K31XEVB-Q100" target="_blank"&gt;S32K31XEVB-Q100 EVB&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://www.nxp.com/design/design-center/development-boards-and-designs/S32K312EVB-Q172" target="_blank"&gt;S32K312EVB-Q172 EVB&lt;/A&gt;. Specifically, the CAN interface. You can also refer to&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=S32K3_HW-DesignPackage" target="_self"&gt;S32K3 Hardware Design Guidelines.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also, please check the terminating resistors.&amp;nbsp;I think the issue is due to bus termination.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 23:36:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2347742#M57796</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2026-04-08T23:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 - FlexCAN using FIRC not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2347976#M57806</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Yes I'm using a custom board to test.&lt;/P&gt;&lt;P&gt;I was successfully able to execute CAN on the above firmware when I changed a few CAN settings attached in the screenshot.&lt;/P&gt;&lt;P&gt;I'm not sure what is the root cause of it, but as of now it is &lt;STRONG&gt;working with BTR 0 = 40h and BTR 1 = 2Bh Sample point 81%.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I would also compare the design with the EVB boards you have linked.&lt;/P&gt;&lt;P&gt;Thanks so much &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 07:10:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FlexCAN-using-FIRC-not-working/m-p/2347976#M57806</guid>
      <dc:creator>geeznxp</dc:creator>
      <dc:date>2026-04-09T07:10:53Z</dc:date>
    </item>
  </channel>
</rss>

