<?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: S32K344 CAN Trans Error in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1947142#M9445</link>
    <description>&lt;P&gt;Thanks, this information helps a lot.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 10:06:10 GMT</pubDate>
    <dc:creator>RegulusCheng</dc:creator>
    <dc:date>2024-09-04T10:06:10Z</dc:date>
    <item>
      <title>S32K344 CAN Trans Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1789489#M8758</link>
      <description>&lt;P&gt;Hi, NXP friends&lt;/P&gt;&lt;P&gt;I am working with&amp;nbsp;S32K3X4EVB-Q172（Part of MCSPTE1AK344）, using simulink in matlab 2021b.&lt;/P&gt;&lt;P&gt;I have problem trying CAN trans Demo of MBDT:&lt;/P&gt;&lt;P&gt;I use CAN FD transmit EBT example, the board's CAN0H/CAN0L is connected to an USB-CAN device. After build and download, the RED_LED lights up, which shows there is an can error.&lt;/P&gt;&lt;P&gt;I have set the board config to S32K344-172，and other demos like Dio is working right. I wonder if the TJA1153_init is not set correctly. I am sure the EN/STB/ERRN pins are right, but I am not sure what should be write into the canExdHwId.&amp;nbsp; I have tried 6 (default value), and 4(Interrupt/CanObjectId - 4 ), 3 (Polling/CanObjectId - 3 ) accoring to this thread:&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-use-MBDT-to-initialize-the-TJA1153-CAN-on-MRCANHUBK344/m-p/1784779" target="_blank"&gt;how to use MBDT to initialize the TJA1153 CAN on ... - NXP Community&lt;/A&gt;&amp;nbsp; ,but still not work.&lt;/P&gt;&lt;P&gt;Considering the reply speed,&amp;nbsp; I ask this question in case someone know the reason and can give me some suggestion. Tomorrow I will try to get error Info through the FreeMaster (Sometimes the&amp;nbsp; Software just can not open, and may need rebot the computer)&lt;/P&gt;&lt;P&gt;Hope someone can give me some suggestions, thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RegulusCheng_0-1705407631057.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258389i5CA0EC7C35F16159/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RegulusCheng_0-1705407631057.png" alt="RegulusCheng_0-1705407631057.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RegulusCheng_1-1705407663502.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258390iDA7CE1D7F680CD1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RegulusCheng_1-1705407663502.png" alt="RegulusCheng_1-1705407663502.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RegulusCheng_2-1705407696285.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/258391iDA616603F1F2946B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RegulusCheng_2-1705407696285.png" alt="RegulusCheng_2-1705407696285.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;Regulus Cheng&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 12:21:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1789489#M8758</guid>
      <dc:creator>RegulusCheng</dc:creator>
      <dc:date>2024-01-16T12:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 CAN Trans Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1790158#M8761</link>
      <description>&lt;P&gt;After one-day rest, the problem solved ifself: the bule LED blinks and I can receive the message board sent.&lt;/P&gt;&lt;P&gt;It's wired because I didn't change anything today, just power up the board and then receive the message correctly (I tried to shut down and power up the board yesterday, too).&amp;nbsp;&lt;/P&gt;&lt;P&gt;It shows that my configuration yesterday is right: the&amp;nbsp;&lt;SPAN&gt;canExdHwId should be set to 3, whitch is the "Polling/CanObjectId - 3" in configuration file. But I don't know why should be this because I chose "CanHardwareObject_Can0_Tx_Interrupt" in CAN write model, not "CanHardwareObject_Can0_Tx_Polling". Why&amp;nbsp;canExdHwId should be 3, not 4 (Interrupt/CanObjectId - 4)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 09:15:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1790158#M8761</guid>
      <dc:creator>RegulusCheng</dc:creator>
      <dc:date>2024-01-17T09:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 CAN Trans Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1790411#M8765</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217391"&gt;@RegulusCheng&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The TJA_1153 requires a complete disconnection from power supply and reconnection and it definitely seems unusual that it did not work the first time you tried it. I must mention that a reset using the button on the board is not enough to get the TJA_1153 to switch to the normal operating mode.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;To answer the second question, the mechanism of sending CAN messages is based on interruptions, thus the hardware object chosen for the Can_Write block is the one that is enabled for interrupts.&lt;/P&gt;
&lt;P&gt;As for the other hardware object, it is used to communicate with the TJA_1153 transceiver with the purpose of selecting the operating mode.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert V&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 15:06:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1790411#M8765</guid>
      <dc:creator>robertv</dc:creator>
      <dc:date>2024-01-17T15:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 CAN Trans Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1790654#M8768</link>
      <description>&lt;P&gt;Hi, Robert V&lt;/P&gt;&lt;P&gt;Thanks for your explanation, it is very useful for me to understand the&amp;nbsp;mechanism! I&lt;/P&gt;&lt;P&gt;have another problem using FreeMaster. I will try to solve it today, and if I fail, I may ask for your help tonight in another thread &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regulus&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 02:21:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1790654#M8768</guid>
      <dc:creator>RegulusCheng</dc:creator>
      <dc:date>2024-01-18T02:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 CAN Trans Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1939882#M9393</link>
      <description>&lt;P&gt;Hi Robert,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219933"&gt;@robertv&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I met this problem again with my second S32K3X4EVB-T172, the red LED is on, which shows that there is an error in Initialization. Unfortunately, this time it didn't solve itself after 2 days of power off.&lt;/P&gt;&lt;P&gt;I noticed the can phy on this board is TJA1443, but the function I used is TJA1153_Init, is this universal? I didn't remember what phy was on my last board.&lt;/P&gt;&lt;P&gt;hope for getting your reply,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regulus&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 03:38:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1939882#M9393</guid>
      <dc:creator>RegulusCheng</dc:creator>
      <dc:date>2024-08-26T03:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 CAN Trans Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1941301#M9396</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217391"&gt;@RegulusCheng&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;The TJA1443 does not use the same initialization sequence as the TJA1153. In fact, it has a simpler initialization process. It requires setting the STB and EN pins of the CAN instance you are going to use to High.&lt;BR /&gt;&lt;BR /&gt;You can use the Dio block, and the WriteChannel function to set the STB and EN pins to High and that should take care of the initialization.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you try this and let me know if it fixed your issue?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert V&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 12:47:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1941301#M9396</guid>
      <dc:creator>robertv</dc:creator>
      <dc:date>2024-08-27T12:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 CAN Trans Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1945868#M9432</link>
      <description>&lt;P&gt;Hi Robert，&lt;/P&gt;&lt;P&gt;Thanks for replying！&lt;/P&gt;&lt;P&gt;Yes, it works well. After reading the document about TJA1443, I tried to give high outputs on these two pins using the Dio module and the transmitter can work now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I can not remember why this initialization function can work on my last S32K3X4EVB-T172, part of the Motor Control suite. Does the old version of this board use TJA1153?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regulus.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 03:53:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1945868#M9432</guid>
      <dc:creator>RegulusCheng</dc:creator>
      <dc:date>2024-09-03T03:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 CAN Trans Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1946287#M9437</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217391"&gt;@RegulusCheng&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Glad it worked.&lt;/P&gt;
&lt;P&gt;You might be right in your assumption that the new version may have a different transceiver.&lt;BR /&gt;I asked a colleague about this and they confirmed that they found two S32K3X4EVB-T172 boards from different revisions, that had different transceivers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what I understood, the&amp;nbsp;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;SCH-53148 Rev &lt;STRONG&gt;B&lt;/STRONG&gt; had the TJA1153 transceiver, while the&amp;nbsp;SCH-53148 Rev &lt;STRONG&gt;B1&lt;/STRONG&gt; has the TJA1443.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert V&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 12:18:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1946287#M9437</guid>
      <dc:creator>robertv</dc:creator>
      <dc:date>2024-09-03T12:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 CAN Trans Error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1947142#M9445</link>
      <description>&lt;P&gt;Thanks, this information helps a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 10:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-CAN-Trans-Error/m-p/1947142#M9445</guid>
      <dc:creator>RegulusCheng</dc:creator>
      <dc:date>2024-09-04T10:06:10Z</dc:date>
    </item>
  </channel>
</rss>

