<?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: S32K148 FlexCAN2 not working in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K148-FlexCAN2-not-working/m-p/2337801#M57463</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/260934"&gt;@sousou54&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1. I see no issues with MCP2551 compatibility.&lt;/P&gt;
&lt;P&gt;2. Yes.&lt;/P&gt;
&lt;P&gt;3. No additional configuration. CAN0/1/2 are clocked the same.&lt;/P&gt;
&lt;P&gt;You can try testing your node by steps...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try connecting TX/RX pins together without transceiver and send a message. You should see message repeatedly due to missing ACK. TX error counter is 0x80 and module is in error passive. If you see anything else, you have wrong pin settings.&lt;/P&gt;
&lt;P&gt;Connect TX/RX pins to transceiver normally and have it unconnected from the bus. Send a message. You should see the same as above. If not, transceiver could be disabled or it is not terminated.&lt;/P&gt;
&lt;P&gt;I can see from MCP2551 datasheet that you must select high-speed mode by connecting Rs pin to Vss.&lt;/P&gt;
&lt;P&gt;Connect transceiver to the bus with other nodes (e.g. CAN tool), send/receive messages. If any error is detected most probably the CAN bit timing is not right. Be sure all nodes use same bitrate and sample point.&lt;/P&gt;
&lt;P&gt;You can use the following tool:&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" rel="noopener"&gt;MPC5xxx/S32Kxx/LPCxxxx: CAN / CAN FD bit timing calculation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Lastly, is this a custom board, or are you using S32K148EVB? If this is a custom board, please check connections as described in &lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5426" target="_self"&gt; AN5426: Hardware Design Guidelines for S32K1xx.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2026 18:14:36 GMT</pubDate>
    <dc:creator>Julián_AragónM</dc:creator>
    <dc:date>2026-03-23T18:14:36Z</dc:date>
    <item>
      <title>S32K148 FlexCAN2 not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-FlexCAN2-not-working/m-p/2337566#M57445</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to enable FlexCAN2 on the S32K148 while working with the Eclipse OpenBSW project.&lt;/P&gt;&lt;P&gt;FlexCAN0 is working correctly, but FlexCAN2 does not transmit valid frames.&lt;/P&gt;&lt;P&gt;Configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;MCU: S32K148&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;CAN instance: FlexCAN2&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Pins:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;PB12 → CAN2_RX (ALT4)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;PB13 → CAN2_TX (ALT4)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;External transceiver: MCP2551 powered at 5V&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Bus termination: total ~60 Ω&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Bitrate: 500 kbps (Classical CAN)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Observed behavior:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Only error frames are observed on the bus&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Bit stuffing errors occur&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;No ACK is received&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Is MCP2551 (5V transceiver) compatible with S32K148 FlexCAN I/O levels?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are PB12/PB13 ALT4 the correct pins for FlexCAN2?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there specific clock or configuration differences between FlexCAN0 and FlexCAN2 that should be considered?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any guidance would be appreciated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 10:25:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-FlexCAN2-not-working/m-p/2337566#M57445</guid>
      <dc:creator>sousou54</dc:creator>
      <dc:date>2026-03-23T10:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148 FlexCAN2 not working</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-FlexCAN2-not-working/m-p/2337801#M57463</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/260934"&gt;@sousou54&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1. I see no issues with MCP2551 compatibility.&lt;/P&gt;
&lt;P&gt;2. Yes.&lt;/P&gt;
&lt;P&gt;3. No additional configuration. CAN0/1/2 are clocked the same.&lt;/P&gt;
&lt;P&gt;You can try testing your node by steps...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try connecting TX/RX pins together without transceiver and send a message. You should see message repeatedly due to missing ACK. TX error counter is 0x80 and module is in error passive. If you see anything else, you have wrong pin settings.&lt;/P&gt;
&lt;P&gt;Connect TX/RX pins to transceiver normally and have it unconnected from the bus. Send a message. You should see the same as above. If not, transceiver could be disabled or it is not terminated.&lt;/P&gt;
&lt;P&gt;I can see from MCP2551 datasheet that you must select high-speed mode by connecting Rs pin to Vss.&lt;/P&gt;
&lt;P&gt;Connect transceiver to the bus with other nodes (e.g. CAN tool), send/receive messages. If any error is detected most probably the CAN bit timing is not right. Be sure all nodes use same bitrate and sample point.&lt;/P&gt;
&lt;P&gt;You can use the following tool:&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" rel="noopener"&gt;MPC5xxx/S32Kxx/LPCxxxx: CAN / CAN FD bit timing calculation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Lastly, is this a custom board, or are you using S32K148EVB? If this is a custom board, please check connections as described in &lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5426" target="_self"&gt; AN5426: Hardware Design Guidelines for S32K1xx.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 18:14:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-FlexCAN2-not-working/m-p/2337801#M57463</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2026-03-23T18:14:36Z</dc:date>
    </item>
  </channel>
</rss>

