<?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)のトピックRe: Read standar and extended messages through same CAN port. (S32k39)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031555#M9945</link>
    <description>&lt;P&gt;Hi Adrian.&lt;/P&gt;&lt;P&gt;Thanks for the response. I know where are located the examples. The problem here is that there is no an example combining standard, extended messages TX and RX. So, this is why I asked for a more complete example.&lt;/P&gt;&lt;P&gt;Good to know that the drivers configuration are exchangables between Tresos and NXP tool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;P&gt;Miguel.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 15:29:09 GMT</pubDate>
    <dc:creator>MaMM</dc:creator>
    <dc:date>2025-01-21T15:29:09Z</dc:date>
    <item>
      <title>Read standar and extended messages through same CAN port. (S32k39)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031341#M9939</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm trying to read can messages in a port. I can read extended, but I cannot read any standard message. I have configured port as "mixed", but still I cannot read,. How can I configure it?&lt;/P&gt;&lt;P&gt;Do I need to generate pdu_ID per can message or can I read all of them and filter inside tha simulink code by comparing the ID with the expected ID?&lt;/P&gt;&lt;P&gt;Any example of reading standard/extended messages through the same port will be apprecited.&lt;/P&gt;&lt;P&gt;Miguel.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 09:26:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031341#M9939</guid>
      <dc:creator>MaMM</dc:creator>
      <dc:date>2025-01-21T09:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Read standar and extended messages through same CAN port. (S32k39)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031388#M9940</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;In order to receive CAN messages with standard ID,&amp;nbsp; in your configuration project (S32 Configuration Tool or EB tresos), you need to &lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;explicitly&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; set the &lt;EM&gt;&lt;STRONG&gt;Can ID Message Type&lt;/STRONG&gt;&lt;/EM&gt; field (under&amp;nbsp;Can_43_FLEXCAN\CanConfigSet\CanHardwareObject) to &lt;EM&gt;&lt;STRONG&gt;STANDARD&lt;/STRONG&gt;&lt;/EM&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_0-1737455182854.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320587i55869D7F72B6F071/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_0-1737455182854.png" alt="Adrian_Gherca_0-1737455182854.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;For more information and a comprehensive example please have a look at this article: &lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Communicating-over-the-CAN-Bus/ta-p/1758456" target="_self"&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Communicating over the CAN Bus&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 10:30:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031388#M9940</guid>
      <dc:creator>Adrian_Gherca</dc:creator>
      <dc:date>2025-01-21T10:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Read standar and extended messages through same CAN port. (S32k39)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031444#M9941</link>
      <description>&lt;P&gt;Hi Adrian.&lt;/P&gt;&lt;P&gt;Thanks a lot. It works now. The link you've given is related to MCUExpress utility. Do you have examples using EB Tresos?&lt;/P&gt;&lt;P&gt;Miguel.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 11:40:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031444#M9941</guid>
      <dc:creator>MaMM</dc:creator>
      <dc:date>2025-01-21T11:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Read standar and extended messages through same CAN port. (S32k39)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031510#M9944</link>
      <description>&lt;P&gt;In &lt;SPAN&gt;NXP’s Model-Based Design Toolbox for S32K3xx Series you can find many examples related to CAN and many other topics.&lt;BR /&gt;The CAN examples are located in these folders: NXP_MBDToolbox_S32K3xx\S32K3_Examples\can&amp;nbsp; and&amp;nbsp; NXP_MBDToolbox_S32K3xx\S32K3_Examples\MR-CANHUBK344&lt;BR /&gt;&lt;BR /&gt;All the settings from the S32 Configuration Tool can be traced to the ones in EB tresos.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Nevertheless, the toolbox includes examples for EB tresos as well as examples for S32 Configuration Tool.&lt;BR /&gt;&lt;BR /&gt;P.S.&amp;nbsp; S32 Configuration Tool is NXP's proprietary tool for configuring S32K3xx MCUs. &lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;MCUXpresso&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; is for IMXRT, DSC, LPC.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 14:15:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031510#M9944</guid>
      <dc:creator>Adrian_Gherca</dc:creator>
      <dc:date>2025-01-21T14:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Read standar and extended messages through same CAN port. (S32k39)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031555#M9945</link>
      <description>&lt;P&gt;Hi Adrian.&lt;/P&gt;&lt;P&gt;Thanks for the response. I know where are located the examples. The problem here is that there is no an example combining standard, extended messages TX and RX. So, this is why I asked for a more complete example.&lt;/P&gt;&lt;P&gt;Good to know that the drivers configuration are exchangables between Tresos and NXP tool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;P&gt;Miguel.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 15:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2031555#M9945</guid>
      <dc:creator>MaMM</dc:creator>
      <dc:date>2025-01-21T15:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Read standar and extended messages through same CAN port. (S32k39)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2032143#M9947</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;In Can_Write (&lt;STRONG&gt;Tx&lt;/STRONG&gt;) blocks, switching between the standard and extended ID formats can be done by choosing the appropriate &lt;EM&gt;Hardware Object&lt;/EM&gt; that was previously configured (or created if necessary) with the desired &lt;EM&gt;Can ID Message Type&lt;/EM&gt; setting in the configuration project in CanHardwareObject tab.&lt;/P&gt;
&lt;P&gt;If, in the configuration project, the &lt;EM&gt;TRANSMIT&lt;/EM&gt; CanHardwareObject was configured as &lt;EM&gt;MIXED&lt;/EM&gt; (in &lt;EM&gt;Can ID Message Type&lt;/EM&gt;), then the ID type can be changed directly from the Simulink model by applying the bitwise OR operation to the &lt;EM&gt;Message ID&lt;/EM&gt; input of the Can_write block: &lt;BR /&gt;0x80000000 &lt;STRONG&gt;|&lt;/STRONG&gt; desired_ID.&lt;BR /&gt;Example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_2-1737533548845.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320796iA03B23002608BC24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_2-1737533548845.png" alt="Adrian_Gherca_2-1737533548845.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;On the &lt;STRONG&gt;Rx&lt;/STRONG&gt; side, a CanHardwareObject must be configured for each type of ID that you want to receive. Then the &lt;EM&gt;Object_ID&lt;/EM&gt; output of the CanIf_RxIndication block can be checked to find out which CanHardwareObject has received the message. This gives you the information of the message ID type.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_0-1737531424191.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320780i7C3BA2C7E624CB88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrian_Gherca_0-1737531424191.png" alt="Adrian_Gherca_0-1737531424191.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrian_Gherca_1-1737531555052.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320782iCFDD7D17AB64448E/image-size/small?v=v2&amp;amp;px=200" role="button" title="Adrian_Gherca_1-1737531555052.png" alt="Adrian_Gherca_1-1737531555052.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 08:27:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-standar-and-extended-messages-through-same-CAN-port-S32k39/m-p/2032143#M9947</guid>
      <dc:creator>Adrian_Gherca</dc:creator>
      <dc:date>2025-01-22T08:27:13Z</dc:date>
    </item>
  </channel>
</rss>

