<?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>Model-Based Design Toolbox (MBDT)のトピックCAN TX Not Working on S32K344EVB-T172 (MBD Ver 1.8.0)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-TX-Not-Working-on-S32K344EVB-T172-MBD-Ver-1-8-0/m-p/2324362#M10672</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I am currently trying to test CAN TX using the Model-Based Design (MBD) approach, but the CAN transmission is not working. I would appreciate your support.&lt;/P&gt;&lt;P&gt;My test environment is as follows:&lt;BR /&gt;- Board: S32K344EVB-T172&lt;BR /&gt;- MBD Version: MBD Ver 1.8.0 (RTD V7.0.0)&lt;BR /&gt;- MATLAB: 2025b&lt;BR /&gt;- Configuration Tool: S32CT (V2025.R1.8)&lt;BR /&gt;- CAN Tool: VehicleSPY Basic with ValueCAN4&lt;BR /&gt;- FreeMASTER: Version 3.2&lt;/P&gt;&lt;P&gt;Reference document:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Interacting-with-Digital-Inputs-Outputs-on-MR-CANHUBK344/ta-p/1746789" target="_blank"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Interacting-with-Digital-Inputs-Outputs-on-MR-CANHUBK344/ta-p/1746789&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Test Description :&lt;BR /&gt;The test reads an ADC value from a potentiometer, converts it to voltage (in mV), and transmits it via CAN with ID 0x100.&lt;BR /&gt;The ADC result (ADC_Voltage_mv, 0–5000 mV) is verified to be working correctly in FreeMASTER.&lt;/P&gt;&lt;P&gt;CAN transceiver (TJA1443) initial configuration:&lt;BR /&gt;- CAN0_EN (PTC21) = HIGH&lt;BR /&gt;- CAN0_STB_N (PTC20) = HIGH&lt;/P&gt;&lt;P&gt;CAN configuration:&lt;BR /&gt;- FlexCAN0&lt;BR /&gt;- 500 kbps (Sampling Point: 87.5%)&lt;BR /&gt;- Standard ID (11-bit)&lt;BR /&gt;- 8-byte payload&lt;BR /&gt;- CAN TX Polling mode&lt;/P&gt;&lt;P&gt;Hardware Connection&lt;BR /&gt;- S32K344EVB-T172 board J32: Pin 1 (CAN_HIGH), Pin 2 (CAN_LOW)&lt;BR /&gt;- Connected to ValueCAN4 Channel 1: Pin 2 → CAN_LOW, Pin 7 → CAN_HIGH&lt;BR /&gt;- Bitrate set to 500 kbps&lt;BR /&gt;- 120-ohm termination resistor enabled&lt;BR /&gt;- CAN DB configuration:&lt;BR /&gt;ID 0x100 (8 bytes)&lt;BR /&gt;ID 0x101 (8 bytes)&lt;BR /&gt;Factor = 1, Offset = 0&lt;/P&gt;&lt;P&gt;Test Result&lt;BR /&gt;- No simulation errors&lt;BR /&gt;- Build and deployment completed successfully&lt;BR /&gt;- ADC works correctly&lt;BR /&gt;- CAN TX is not observed on VehicleSPY&lt;/P&gt;&lt;P&gt;I have attached the source files for review. I would appreciate any expert advice regarding the possible cause.&lt;/P&gt;&lt;P&gt;Attachment: CAN_TX_TEST.zip&lt;BR /&gt;- Model: CAN_TX_TEST.slx&lt;BR /&gt;- Executable: CAN_TX_TEST.elf&lt;BR /&gt;- Configuration file: CAN_TX_TESTConfig.mex&lt;BR /&gt;- CAN DB: CAN_DB_TEST_20260227.dbc&lt;BR /&gt;- FreeMASTER project: CAN_TX_TEST.pmpx&lt;/P&gt;&lt;P&gt;Thank you in advance for your support.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Feb 2026 10:29:17 GMT</pubDate>
    <dc:creator>hyunsiksong</dc:creator>
    <dc:date>2026-02-27T10:29:17Z</dc:date>
    <item>
      <title>CAN TX Not Working on S32K344EVB-T172 (MBD Ver 1.8.0)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-TX-Not-Working-on-S32K344EVB-T172-MBD-Ver-1-8-0/m-p/2324362#M10672</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am currently trying to test CAN TX using the Model-Based Design (MBD) approach, but the CAN transmission is not working. I would appreciate your support.&lt;/P&gt;&lt;P&gt;My test environment is as follows:&lt;BR /&gt;- Board: S32K344EVB-T172&lt;BR /&gt;- MBD Version: MBD Ver 1.8.0 (RTD V7.0.0)&lt;BR /&gt;- MATLAB: 2025b&lt;BR /&gt;- Configuration Tool: S32CT (V2025.R1.8)&lt;BR /&gt;- CAN Tool: VehicleSPY Basic with ValueCAN4&lt;BR /&gt;- FreeMASTER: Version 3.2&lt;/P&gt;&lt;P&gt;Reference document:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Interacting-with-Digital-Inputs-Outputs-on-MR-CANHUBK344/ta-p/1746789" target="_blank"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Interacting-with-Digital-Inputs-Outputs-on-MR-CANHUBK344/ta-p/1746789&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Test Description :&lt;BR /&gt;The test reads an ADC value from a potentiometer, converts it to voltage (in mV), and transmits it via CAN with ID 0x100.&lt;BR /&gt;The ADC result (ADC_Voltage_mv, 0–5000 mV) is verified to be working correctly in FreeMASTER.&lt;/P&gt;&lt;P&gt;CAN transceiver (TJA1443) initial configuration:&lt;BR /&gt;- CAN0_EN (PTC21) = HIGH&lt;BR /&gt;- CAN0_STB_N (PTC20) = HIGH&lt;/P&gt;&lt;P&gt;CAN configuration:&lt;BR /&gt;- FlexCAN0&lt;BR /&gt;- 500 kbps (Sampling Point: 87.5%)&lt;BR /&gt;- Standard ID (11-bit)&lt;BR /&gt;- 8-byte payload&lt;BR /&gt;- CAN TX Polling mode&lt;/P&gt;&lt;P&gt;Hardware Connection&lt;BR /&gt;- S32K344EVB-T172 board J32: Pin 1 (CAN_HIGH), Pin 2 (CAN_LOW)&lt;BR /&gt;- Connected to ValueCAN4 Channel 1: Pin 2 → CAN_LOW, Pin 7 → CAN_HIGH&lt;BR /&gt;- Bitrate set to 500 kbps&lt;BR /&gt;- 120-ohm termination resistor enabled&lt;BR /&gt;- CAN DB configuration:&lt;BR /&gt;ID 0x100 (8 bytes)&lt;BR /&gt;ID 0x101 (8 bytes)&lt;BR /&gt;Factor = 1, Offset = 0&lt;/P&gt;&lt;P&gt;Test Result&lt;BR /&gt;- No simulation errors&lt;BR /&gt;- Build and deployment completed successfully&lt;BR /&gt;- ADC works correctly&lt;BR /&gt;- CAN TX is not observed on VehicleSPY&lt;/P&gt;&lt;P&gt;I have attached the source files for review. I would appreciate any expert advice regarding the possible cause.&lt;/P&gt;&lt;P&gt;Attachment: CAN_TX_TEST.zip&lt;BR /&gt;- Model: CAN_TX_TEST.slx&lt;BR /&gt;- Executable: CAN_TX_TEST.elf&lt;BR /&gt;- Configuration file: CAN_TX_TESTConfig.mex&lt;BR /&gt;- CAN DB: CAN_DB_TEST_20260227.dbc&lt;BR /&gt;- FreeMASTER project: CAN_TX_TEST.pmpx&lt;/P&gt;&lt;P&gt;Thank you in advance for your support.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2026 10:29:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-TX-Not-Working-on-S32K344EVB-T172-MBD-Ver-1-8-0/m-p/2324362#M10672</guid>
      <dc:creator>hyunsiksong</dc:creator>
      <dc:date>2026-02-27T10:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: CAN TX Not Working on S32K344EVB-T172 (MBD Ver 1.8.0)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-TX-Not-Working-on-S32K344EVB-T172-MBD-Ver-1-8-0/m-p/2326164#M10673</link>
      <description>&lt;P&gt;The previously shared link was incorrect. Here is the correct one.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Communicating-over-the-CAN-Bus/ta-p/1758456" target="_blank"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Communicating-over-the-CAN-Bus/ta-p/1758456&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 09:34:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-TX-Not-Working-on-S32K344EVB-T172-MBD-Ver-1-8-0/m-p/2326164#M10673</guid>
      <dc:creator>hyunsiksong</dc:creator>
      <dc:date>2026-03-04T09:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: CAN TX Not Working on S32K344EVB-T172 (MBD Ver 1.8.0)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-TX-Not-Working-on-S32K344EVB-T172-MBD-Ver-1-8-0/m-p/2351654#M10716</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I downloaded and build your model and it works as you described, the ADC works fine but the CAN doesn't work.&lt;/P&gt;
&lt;P&gt;First of all, please confirm what board revision you have because they have different CAN transceivers:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;RevA - RevB&lt;/STRONG&gt; have &lt;STRONG&gt;TJA1153&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;RevB1&lt;/STRONG&gt; has &lt;STRONG&gt;TJA1443&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;From the image you sent, it seems that you have RevB, but please confirm as the image is compressed and doesn't have the best quality.&lt;/P&gt;
&lt;P&gt;If you have RevB, the TJA1153 must be initialized, it is not enough to set up the EN and STB_N pins. You can find an example on how to initialize it in the "s32k3xx_can_transmit_ebt" example.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, you have to do these steps in this exact order (set priorities for each block to make sure the order is followed):&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;SetControllerMode&lt;/LI&gt;
&lt;LI&gt;Can_DisableControllerInterrupts&lt;/LI&gt;
&lt;LI&gt;TJA1153 Initialization&lt;/LI&gt;
&lt;LI&gt;Can_EnableControllerInterrupts&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SorinIBancila_0-1776262523574.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382458i8C1610CD13B45D9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SorinIBancila_0-1776262523574.png" alt="SorinIBancila_0-1776262523574.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inside the &lt;STRONG&gt;CAN Transceiver Initialization variant,&amp;nbsp;&lt;/STRONG&gt;you must have an MATLAB function block that contain the initialization for the TJA1153.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SorinIBancila_1-1776262638434.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382460iDD976A0372C36371/image-size/large?v=v2&amp;amp;px=999" role="button" title="SorinIBancila_1-1776262638434.png" alt="SorinIBancila_1-1776262638434.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The inputs for the MATLAB functions can be found in the image below:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;canExtHwId -&amp;gt; the hardware object id for the can tx polling (used to send commands to TJA1153 to initialize it)&lt;/LI&gt;
&lt;LI&gt;canEnDioChannel - Enable pin&lt;/LI&gt;
&lt;LI&gt;canStbDioChannel - Standy_N pin&lt;/LI&gt;
&lt;LI&gt;canErrnDioChannel - Error_N pin&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SorinIBancila_2-1776262677343.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/382461i96E5600135F86ABE/image-size/large?v=v2&amp;amp;px=999" role="button" title="SorinIBancila_2-1776262677343.png" alt="SorinIBancila_2-1776262677343.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the MATLAB function, you also need to install MinGW compiler. You can find it in the Addons Manager in MATLAB.&lt;/P&gt;
&lt;P&gt;I have also attached the SLX file that has the initialization part updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sorin Bancila&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 14:26:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-TX-Not-Working-on-S32K344EVB-T172-MBD-Ver-1-8-0/m-p/2351654#M10716</guid>
      <dc:creator>SorinIBancila</dc:creator>
      <dc:date>2026-04-15T14:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: CAN TX Not Working on S32K344EVB-T172 (MBD Ver 1.8.0)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-TX-Not-Working-on-S32K344EVB-T172-MBD-Ver-1-8-0/m-p/2351871#M10721</link>
      <description>Hello Sorin Bancila,&lt;BR /&gt;&lt;BR /&gt;Thank you for your detailed solution regarding my inquiry.&lt;BR /&gt;&lt;BR /&gt;First, the board we are using is RevB.&lt;BR /&gt;Therefore, it appears that the TJA1153 is used.&lt;BR /&gt;&lt;BR /&gt;There is no explicit part number marked on the component, so it is difficult to confirm directly. However, the board has a label: “SCH-53148 RevB 700-53148 Rev X5”.&lt;BR /&gt;&lt;BR /&gt;Initially, I only configured the EN and STB_N pins for the TJA1153, but I now understand that the initialization sequence is critical. Following the TJA1153 initialization procedure you provided, I was able to confirm that CAN TX is now working properly.&lt;BR /&gt;&lt;BR /&gt;In conclusion, the issue was caused by an incorrect initialization sequence of the TJA1153.&lt;BR /&gt;&lt;BR /&gt;Thank you very much for providing the solution.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Hyunsik Song</description>
      <pubDate>Thu, 16 Apr 2026 02:25:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-TX-Not-Working-on-S32K344EVB-T172-MBD-Ver-1-8-0/m-p/2351871#M10721</guid>
      <dc:creator>hyunsiksong</dc:creator>
      <dc:date>2026-04-16T02:25:28Z</dc:date>
    </item>
  </channel>
</rss>

