<?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>S32K中的主题 S32K344MINI-EVB: FlexCAN_IP_Example_S32K344 and Can_Example_S32K344 Configuration Errors</title>
    <link>https://community.nxp.com/t5/S32K/S32K344MINI-EVB-FlexCAN-IP-Example-S32K344-and-Can-Example/m-p/2417505#M61266</link>
    <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I am currently working with the &lt;STRONG&gt;S32K344MINI-EVB&lt;/STRONG&gt;&amp;nbsp;(FRDM Automotive Evaluation Board) and would like to gain hands-on experience with basic peripheral drivers before starting development on a custom project based on the &lt;STRONG&gt;NXP S32K3 family&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;Development Environment&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;S32 Design Studio (S32DS) 3.5.8&lt;/LI&gt;&lt;LI&gt;SW32K3_S32M27x_RTD_R21-11_4.0.0_P19_D2403&lt;/LI&gt;&lt;LI&gt;EB tresos 29&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Current Status&lt;/H3&gt;&lt;P&gt;I successfully imported and ran the following example projects:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SIUL2_DIO_IP_Example_S32K344&lt;/LI&gt;&lt;LI&gt;Dio_Example_S32K344&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For both AUTOSAR and Non-AUTOSAR configurations, the projects built successfully and produced the expected output on the S32K344MINI-EVB.&lt;/P&gt;&lt;H3&gt;Issue&lt;/H3&gt;&lt;P&gt;I then imported the following CAN example projects:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;FlexCAN_IP_Example_S32K344&lt;/LI&gt;&lt;LI&gt;Can_Example_S32K344&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;While configuring and building these projects, I encountered the errors shown in the attached screenshot.&lt;/P&gt;&lt;H3&gt;Request&lt;/H3&gt;&lt;P&gt;Could anyone please advise:&lt;/P&gt;&lt;DIV&gt;&lt;OL&gt;&lt;LI&gt;Are any board-specific modifications required for the S32K344MINI-EVB?&lt;/LI&gt;&lt;LI&gt;Are there additional FlexCAN, clock, pin, or EB tresos configurations needed?&lt;/LI&gt;&lt;LI&gt;Is there a guide for running these CAN examples on the MINI-EVB?&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;P&gt;The attached screenshot shows the errors encountered during configuration/build.&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;&lt;STRONG&gt;Veer&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2026 11:30:29 GMT</pubDate>
    <dc:creator>Veereshh</dc:creator>
    <dc:date>2026-09-30T11:30:29Z</dc:date>
    <item>
      <title>S32K344MINI-EVB: FlexCAN_IP_Example_S32K344 and Can_Example_S32K344 Configuration Errors</title>
      <link>https://community.nxp.com/t5/S32K/S32K344MINI-EVB-FlexCAN-IP-Example-S32K344-and-Can-Example/m-p/2417505#M61266</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I am currently working with the &lt;STRONG&gt;S32K344MINI-EVB&lt;/STRONG&gt;&amp;nbsp;(FRDM Automotive Evaluation Board) and would like to gain hands-on experience with basic peripheral drivers before starting development on a custom project based on the &lt;STRONG&gt;NXP S32K3 family&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;Development Environment&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;S32 Design Studio (S32DS) 3.5.8&lt;/LI&gt;&lt;LI&gt;SW32K3_S32M27x_RTD_R21-11_4.0.0_P19_D2403&lt;/LI&gt;&lt;LI&gt;EB tresos 29&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Current Status&lt;/H3&gt;&lt;P&gt;I successfully imported and ran the following example projects:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SIUL2_DIO_IP_Example_S32K344&lt;/LI&gt;&lt;LI&gt;Dio_Example_S32K344&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For both AUTOSAR and Non-AUTOSAR configurations, the projects built successfully and produced the expected output on the S32K344MINI-EVB.&lt;/P&gt;&lt;H3&gt;Issue&lt;/H3&gt;&lt;P&gt;I then imported the following CAN example projects:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;FlexCAN_IP_Example_S32K344&lt;/LI&gt;&lt;LI&gt;Can_Example_S32K344&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;While configuring and building these projects, I encountered the errors shown in the attached screenshot.&lt;/P&gt;&lt;H3&gt;Request&lt;/H3&gt;&lt;P&gt;Could anyone please advise:&lt;/P&gt;&lt;DIV&gt;&lt;OL&gt;&lt;LI&gt;Are any board-specific modifications required for the S32K344MINI-EVB?&lt;/LI&gt;&lt;LI&gt;Are there additional FlexCAN, clock, pin, or EB tresos configurations needed?&lt;/LI&gt;&lt;LI&gt;Is there a guide for running these CAN examples on the MINI-EVB?&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;P&gt;The attached screenshot shows the errors encountered during configuration/build.&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;&lt;STRONG&gt;Veer&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2026 11:30:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344MINI-EVB-FlexCAN-IP-Example-S32K344-and-Can-Example/m-p/2417505#M61266</guid>
      <dc:creator>Veereshh</dc:creator>
      <dc:date>2026-09-30T11:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344MINI-EVB: FlexCAN_IP_Example_S32K344 and Can_Example_S32K344 Configuration Errors</title>
      <link>https://community.nxp.com/t5/S32K/S32K344MINI-EVB-FlexCAN-IP-Example-S32K344-and-Can-Example/m-p/2417608#M61268</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/258635"&gt;@Veereshh&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Pinout is fairly similar between S32K344 EVB and FRDM-A-S32K344 (formerly S32K344MINI).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. No&lt;/P&gt;
&lt;P&gt;2. Yes. Both FlexCAN_IP_Example_S32K344 &amp;amp; Can_Example_S32K344 projects only configure FlexCAN in "loopback" mode, meaning there are no pins configured, and FlexCAN_0 is listening to its own messages.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inside the project's MEX, you must:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Change FlexCAN 'Loopback' to 'Normal/User mode'&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Add Siul2_Port (or Port in MCAL), and configure both PTA6 &amp;amp; PTA7 (CAN_H CAN_L in FRDM-A-S32K344).&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Add port initialization in your project.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;FRDM-A-S32K344 also uses TJA1043 CAN transceiver, which must set CAN_EN &amp;amp; CAN_STB to HIGH in order to set the transceiver in normal operation. These are routed to PTC21 &amp;amp; PTC20, as stated in the FRDM's user manual:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1790804627123.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397110iFAAAF94926CE7E3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Julin_AragnM_0-1790804627123.png" alt="Julin_AragnM_0-1790804627123.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;These must be set to HIGH inside your project as well. You can use the following examples as reference:&amp;nbsp;&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;/P&gt;
&lt;P&gt;Keep in mind they are based on RTD 6.0.0, not RTD 4.0.0.&lt;/P&gt;
&lt;P&gt;After setting this, you can use&amp;nbsp;J15.1 CANH and J15.2 CANL connected to another CAN node (PCAN USB analyzer, another MCU, etc.) to test CAN communication. In the examples I've shared, PCAN-USB analyzer was used.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2026 21:46:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344MINI-EVB-FlexCAN-IP-Example-S32K344-and-Can-Example/m-p/2417608#M61268</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2026-09-30T21:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344MINI-EVB: FlexCAN_IP_Example_S32K344 and Can_Example_S32K344 Configuration Errors</title>
      <link>https://community.nxp.com/t5/S32K/S32K344MINI-EVB-FlexCAN-IP-Example-S32K344-and-Can-Example/m-p/2417853#M61279</link>
      <description>&lt;P&gt;Hi Julian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support. Your guidance helped me successfully resolve the original configuration issues and build the CAN example. I have shared the build steps and screenshots below for the benefit of other users facing the same issue.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I have one additional question. After successfully running the Loopback example, I configured &lt;STRONG&gt;CAN_EN (PTC21)&lt;/STRONG&gt; and &lt;STRONG&gt;CAN_STB (PTC20)&lt;/STRONG&gt; and then modified the CAN configuration as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Disabled &lt;STRONG&gt;Can Loop Back Mode&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Changed &lt;STRONG&gt;Can Rx Processing Type&lt;/STRONG&gt; from &lt;STRONG&gt;Polling&lt;/STRONG&gt; to &lt;STRONG&gt;Interrupt&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;After these changes, validation/build errors are generated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Veereshh_11-1790862778793.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397164i3516B52B8DE5D475/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Veereshh_11-1790862778793.png" alt="Veereshh_11-1790862778793.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Veereshh_0-1790862453855.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397153iC073069D664C970F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Veereshh_0-1790862453855.png" alt="Veereshh_0-1790862453855.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please advise if any additional FlexCAN, IntCtrl_Ip, NVIC, or RTD-specific settings are required when switching from Polling to Interrupt mode?&lt;/P&gt;&lt;P&gt;Thank you again for your continued support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;H3&gt;Steps to Build CAN Example Successfully&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Import &lt;STRONG&gt;Can_Example_S32K344&lt;/STRONG&gt; project.&lt;/LI&gt;&lt;LI&gt;Open the .mex file.&lt;/LI&gt;&lt;LI&gt;Enable &lt;STRONG&gt;Pins Tool&lt;/STRONG&gt; if not already available.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Veereshh_2-1790863062579.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397167iB32D66BF44D23384/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Veereshh_2-1790863062579.png" alt="Veereshh_2-1790863062579.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Rename Functional Group to &lt;STRONG&gt;PortContainer_0_VS_0&lt;/STRONG&gt;.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Veereshh_1-1790863039288.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397166i4A463208A69F4C83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Veereshh_1-1790863039288.png" alt="Veereshh_1-1790863039288.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Veereshh_3-1790862581274.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397156i0B2DFFFCA57FD131/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Veereshh_3-1790862581274.png" alt="Veereshh_3-1790862581274.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Configure:&lt;UL&gt;&lt;LI&gt;CAN0_RX → PTA6&lt;/LI&gt;&lt;LI&gt;CAN0_TX → PTA7&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Veereshh_5-1790862609099.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397158i2894C3731519CF93/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Veereshh_5-1790862609099.png" alt="Veereshh_5-1790862609099.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Add &lt;STRONG&gt;PORT&lt;/STRONG&gt; module under MCAL.&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Veereshh_8-1790862684481.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397161iFBEB01B7E87E2385/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Veereshh_8-1790862684481.png" alt="Veereshh_8-1790862684481.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Configure PortPin settings and assign the required MSCR values.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Veereshh_9-1790862726874.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397162iC7E4795E06271B49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Veereshh_9-1790862726874.png" alt="Veereshh_9-1790862726874.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Update code and resolve validation errors.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Veereshh_10-1790862736318.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397163i94301BEFEF5EFEA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Veereshh_10-1790862736318.png" alt="Veereshh_10-1790862736318.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Generate code and build the project.&lt;/LI&gt;&lt;LI&gt;Program the board and verify CAN Loopback communication.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Veer&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2026 13:58:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344MINI-EVB-FlexCAN-IP-Example-S32K344-and-Can-Example/m-p/2417853#M61279</guid>
      <dc:creator>Veereshh</dc:creator>
      <dc:date>2026-10-01T13:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344MINI-EVB: FlexCAN_IP_Example_S32K344 and Can_Example_S32K344 Configuration Errors</title>
      <link>https://community.nxp.com/t5/S32K/S32K344MINI-EVB-FlexCAN-IP-Example-S32K344-and-Can-Example/m-p/2417877#M61281</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm glad the information has been helpful.&lt;/P&gt;
&lt;P&gt;In order to operate FlexCAN through interrupts, you must install the interrupt handler:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_2-1790873249024.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397170i1B4281A441128D24/image-size/large?v=v2&amp;amp;px=999" role="button" title="Julin_AragnM_2-1790873249024.png" alt="Julin_AragnM_2-1790873249024.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, the error you are seeing is because when FlexCAN driver uses Polling mode, you must specify the CanMainFunctionRWPeriods for both read and write calls. If Interrupt mode is used, this container must be removed from "CanHardwareObjetc &amp;gt; Can MainFunction RW Period Reference"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_3-1790873263975.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/397171i5F2F71562E5FC175/image-size/large?v=v2&amp;amp;px=999" role="button" title="Julin_AragnM_3-1790873263975.png" alt="Julin_AragnM_3-1790873263975.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2026 16:48:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344MINI-EVB-FlexCAN-IP-Example-S32K344-and-Can-Example/m-p/2417877#M61281</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2026-10-01T16:48:05Z</dc:date>
    </item>
  </channel>
</rss>

