<?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 How to set CAN ID masking for Rx FIFO in MBDT in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-set-CAN-ID-masking-for-Rx-FIFO-in-MBDT/m-p/1796267#M8802</link>
    <description>&lt;P&gt;Dear MBD team,&lt;/P&gt;&lt;P&gt;I'm currently using MBDT on Simulink to develop project on the MPC5748G Devkit for CAN communication. I noticed that in the normal CAN receive set up, you can configure the ID mask to allow a certain range of ID that can be received.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wei_H_0-1706304009242.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260341i3D88EE3EE439D865/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wei_H_0-1706304009242.png" alt="Wei_H_0-1706304009242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, in the case of using Rx FIFO, I couldn't find a place to add declare ID mask. So far, I've been only using the filter table, which allows for filtering the full ID but without masking, hence not able to give a range of ID that can be receive by Rx FIFO. I'm working with Extended ID, which means that without the masking option for Rx FIFO, I'm limited to maximum 128 specific IDs on Rx FIFO using ID format A.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wei_H_1-1706304278219.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260342iD170F37B69360D70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wei_H_1-1706304278219.png" alt="Wei_H_1-1706304278219.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I saw another post asking this question but not on the Simulink environment:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-SDK/How-to-set-Rx-FIFO-Mask/m-p/1005375" target="_blank"&gt;https://community.nxp.com/t5/S32-SDK/How-to-set-Rx-FIFO-Mask/m-p/1005375&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But in Simulink, I can only choose either Rx FIFO mode or CAN FD mode. In my case, I prefer Rx FIFO since it provide a more stable CAN communication. So what I ask is to find where I can configure masking for RX FIFO so that I can allow for more CAN ID to be received by Rx FIFO.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Wei&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2024 21:28:38 GMT</pubDate>
    <dc:creator>Wei_H</dc:creator>
    <dc:date>2024-01-26T21:28:38Z</dc:date>
    <item>
      <title>How to set CAN ID masking for Rx FIFO in MBDT</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-set-CAN-ID-masking-for-Rx-FIFO-in-MBDT/m-p/1796267#M8802</link>
      <description>&lt;P&gt;Dear MBD team,&lt;/P&gt;&lt;P&gt;I'm currently using MBDT on Simulink to develop project on the MPC5748G Devkit for CAN communication. I noticed that in the normal CAN receive set up, you can configure the ID mask to allow a certain range of ID that can be received.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wei_H_0-1706304009242.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260341i3D88EE3EE439D865/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wei_H_0-1706304009242.png" alt="Wei_H_0-1706304009242.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, in the case of using Rx FIFO, I couldn't find a place to add declare ID mask. So far, I've been only using the filter table, which allows for filtering the full ID but without masking, hence not able to give a range of ID that can be receive by Rx FIFO. I'm working with Extended ID, which means that without the masking option for Rx FIFO, I'm limited to maximum 128 specific IDs on Rx FIFO using ID format A.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wei_H_1-1706304278219.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/260342iD170F37B69360D70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Wei_H_1-1706304278219.png" alt="Wei_H_1-1706304278219.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I saw another post asking this question but not on the Simulink environment:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-SDK/How-to-set-Rx-FIFO-Mask/m-p/1005375" target="_blank"&gt;https://community.nxp.com/t5/S32-SDK/How-to-set-Rx-FIFO-Mask/m-p/1005375&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But in Simulink, I can only choose either Rx FIFO mode or CAN FD mode. In my case, I prefer Rx FIFO since it provide a more stable CAN communication. So what I ask is to find where I can configure masking for RX FIFO so that I can allow for more CAN ID to be received by Rx FIFO.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Wei&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 21:28:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-set-CAN-ID-masking-for-Rx-FIFO-in-MBDT/m-p/1796267#M8802</guid>
      <dc:creator>Wei_H</dc:creator>
      <dc:date>2024-01-26T21:28:38Z</dc:date>
    </item>
  </channel>
</rss>

