<?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 CAN FD in S32k14x EVB in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1179404#M5289</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;After trying and trying to get the CAN FD to work in the MBD Toolbox for my S32k144 and s32k146 boards, I noticed that in the MBD there's no way to get the CAN FD to work.&lt;/P&gt;&lt;P&gt;In the Reference Manual, the section 55.4.2.34 states that the registers for the CAN FD are not the same as the ones for Standard CAN, which makes sense. But here's the issue. When I activate the CAN FD option in my configuration block (besides all the other blocks that I have to activate the option as well), and I try to configure the Bit Timing for my configuration of CAN FD, there's no way I can access the registers that I need to in order to make the CAN FD to really work.&lt;/P&gt;&lt;P&gt;As I see and understand (correct me if I am wrong please) what you guys call CAN FD is only giving the option to the designer to select the CAN FD check box, not providing the option of a functional bigger payload nor different times for the messages transmission, so I don't understand how this would be useful for a real CAN FD application. (Unless I am missing something)&lt;/P&gt;&lt;P&gt;I would really like to know what options do I have here. Are you going to provide an update for a real CAN FD bit timing configuration? Should I try another tool?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comment or suggestions would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 08:35:00 GMT</pubDate>
    <dc:creator>juliana_rojas30</dc:creator>
    <dc:date>2020-11-17T08:35:00Z</dc:date>
    <item>
      <title>CAN FD in S32k14x EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1179404#M5289</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;After trying and trying to get the CAN FD to work in the MBD Toolbox for my S32k144 and s32k146 boards, I noticed that in the MBD there's no way to get the CAN FD to work.&lt;/P&gt;&lt;P&gt;In the Reference Manual, the section 55.4.2.34 states that the registers for the CAN FD are not the same as the ones for Standard CAN, which makes sense. But here's the issue. When I activate the CAN FD option in my configuration block (besides all the other blocks that I have to activate the option as well), and I try to configure the Bit Timing for my configuration of CAN FD, there's no way I can access the registers that I need to in order to make the CAN FD to really work.&lt;/P&gt;&lt;P&gt;As I see and understand (correct me if I am wrong please) what you guys call CAN FD is only giving the option to the designer to select the CAN FD check box, not providing the option of a functional bigger payload nor different times for the messages transmission, so I don't understand how this would be useful for a real CAN FD application. (Unless I am missing something)&lt;/P&gt;&lt;P&gt;I would really like to know what options do I have here. Are you going to provide an update for a real CAN FD bit timing configuration? Should I try another tool?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comment or suggestions would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 08:35:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1179404#M5289</guid>
      <dc:creator>juliana_rojas30</dc:creator>
      <dc:date>2020-11-17T08:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: CAN FD in S32k14x EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1201817#M5504</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/148298"&gt;@juliana_rojas30&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Indeed, the CAN FD bit rate configuration is wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I attached a self-extracting archive that adds the following changes:&lt;/P&gt;
&lt;P&gt;1. Fixes the values available for Nominal bit rate registers when CAN FD is enabled.&lt;/P&gt;
&lt;P&gt;2. Before the selected value was the same one written to NXP FlexCAN timing registers, which is&amp;nbsp; incremented by 1 in the hardware. This meant that you had to select TIMING_VALUE-1. Now you select TIMING_VALUE, and a 1 is subtract before writing to FlexCAN Timing registers.&lt;/P&gt;
&lt;P&gt;2. Adds different bit rate and sampling point edit boxes to specify the Nominal and Data bit rates.&lt;/P&gt;
&lt;P&gt;3. Adds TDC (Transceiver Delay Compensation) configuration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The steps to apply the patch:&lt;/P&gt;
&lt;P&gt;1. Download the attached zip file and unzip it.&lt;/P&gt;
&lt;P&gt;2. Run &lt;STRONG&gt;mbd_find_s32k_root&lt;/STRONG&gt;() to get the root folder there the S32K toolbox is installed.&lt;/P&gt;
&lt;P&gt;3. Close Matlab.&lt;/P&gt;
&lt;P&gt;4. Open the &lt;STRONG&gt;&lt;SPAN class="lia-link-navigation lia-attachment-link lia-link-disabled"&gt;MBDToolbox_S32K1xx_4.2.0_can_fd_patch.&lt;/SPAN&gt;exe&lt;/STRONG&gt; file and extract it's contents to the root folder of the toolbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To use CAN FD you have to disable the Rx FIFO (if it isn't already disabled) in the &lt;STRONG&gt;Rx FIFO &lt;/STRONG&gt;tab&lt;STRONG&gt;,&amp;nbsp;&lt;/STRONG&gt;from &lt;STRONG&gt;FlexCAN Config&lt;/STRONG&gt; block&lt;STRONG&gt;, &lt;/STRONG&gt;and enable the CAN FD in the &lt;STRONG&gt;CAN FD&lt;/STRONG&gt; tab, by selecting the &lt;STRONG&gt;Enable CAN FD&lt;/STRONG&gt; option.&lt;/P&gt;
&lt;P&gt;Once you do that, new options will we enabled in the &lt;STRONG&gt;CAN FD&lt;/STRONG&gt; tab: selection of a different maximum payload size and configuration of TDC (Transceiver Delay Compensation).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulvlase_0-1608294670913.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133066i6B289E5258042808/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulvlase_0-1608294670913.png" alt="paulvlase_0-1608294670913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also in the &lt;STRONG&gt;Bit rate&lt;/STRONG&gt; tab you will be able to configure &lt;STRONG&gt;Data Bit Rate&lt;/STRONG&gt;, used when the &lt;STRONG&gt;BRS&lt;/STRONG&gt; (Bit Rate Switch) option is select in the FlexCAN send block. By default,&amp;nbsp;&lt;STRONG&gt;Bitrate to time segments&lt;/STRONG&gt; option is selected, which will compute automatically the value of the timing registers from a given Bitrate and Sampling Point. For CAN FD I recommend to uncheck it and set the values of the timing registers to the same values used in the CAN Analyzer/probe.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulvlase_1-1608294719849.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133067i3B307AC82F01AB6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulvlase_1-1608294719849.png" alt="paulvlase_1-1608294719849.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 19:04:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1201817#M5504</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2020-12-18T19:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: CAN FD in S32k14x EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1210307#M5604</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24319"&gt;@paulvlase&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I did the procedure as you said, and now I am able to see what you showed in the images attached. But, something odd is happening:&lt;/P&gt;&lt;P&gt;Each time I open (even if it is not to modify anything, just by opening it) the FCAN_config box, I get 5 failure messages on my commands window (Meaning that if I open it for a second time, I get 5 more messages and so on). These messages are the ones showed below:&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="juliana_rojas30_0-1610445034892.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134541iF0E4185642C30DEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="juliana_rojas30_0-1610445034892.png" alt="juliana_rojas30_0-1610445034892.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried ignoring this and configuring it for testing anyways, but when I try to build my model, I get this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="juliana_rojas30_1-1610445280006.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134542i7C91063DC887392A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="juliana_rojas30_1-1610445280006.png" alt="juliana_rojas30_1-1610445280006.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attached the diagnostics report in a .txt so it's easier to check.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I swiped the 4.1 version of the toolbox and installed the 4.2 and still no success.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any suggestion for this issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 10:03:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1210307#M5604</guid>
      <dc:creator>juliana_rojas30</dc:creator>
      <dc:date>2021-01-12T10:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: CAN FD in S32k14x EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1212388#M5633</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/148298"&gt;@juliana_rojas30&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I forgot to add the missing function&amp;nbsp;&lt;EM&gt;mbd_s32k_check_textbox_input_number&lt;/EM&gt; to this patch.&lt;/P&gt;
&lt;P&gt;I attached a new patch that has that function inside. I also tested on my side and now all examples from S32K 4.2 toolbox with this patch applied are building successfully.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 13:10:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1212388#M5633</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2021-01-15T13:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: CAN FD in S32k14x EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1213297#M5647</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24319"&gt;@paulvlase&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you very much for inquire into my issue. I have downloaded the zip that you attached. I followed the steps you mention and now something different happens.&lt;/P&gt;&lt;P&gt;I don't get the failure messages on the commands window which is something good, but when I try to build a model (even if I am not using the CAN FD function) I get this error message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="juliana_rojas30_0-1610967185953.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135052iF9D8CAF1AA1F6C1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="juliana_rojas30_0-1610967185953.png" alt="juliana_rojas30_0-1610967185953.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Again, I attached the result of the compilation in a .txt for you to see it more easily.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested the version of the toolbox without the patch and it builds correctly so it is not a license or downloading of the version issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if this is of any help but just by opening any model (after adding the patch) I get a warning:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="juliana_rojas30_0-1610972579515.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135058iDC09D9B5ECFD251E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="juliana_rojas30_0-1610972579515.png" alt="juliana_rojas30_0-1610972579515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll post a picture of the configuration of the bitrate of the model that I am testing (which is basically the same that the example has), because I don't understand the issue, how it gets to build it without the patch but with the patch it can't find the bitrate?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="juliana_rojas30_1-1610967349312.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135053i9CC24798EA6BA549/image-size/medium?v=v2&amp;amp;px=400" role="button" title="juliana_rojas30_1-1610967349312.png" alt="juliana_rojas30_1-1610967349312.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see I don't even have the CAN FD box active. This leads to the issue that it doesn't work with CAN FD activated either.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again to you and your team for working into this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I got rid of the error! I added the functions that were missing into the masks of the config block and now it works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 12:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1213297#M5647</guid>
      <dc:creator>juliana_rojas30</dc:creator>
      <dc:date>2021-01-21T12:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: CAN FD in S32k14x EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1228180#M5735</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/148298"&gt;@juliana_rojas30&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I fixed this build issue in &lt;SPAN class="lia-link-navigation lia-attachment-link-disabled lia-link-disabled"&gt;MBDToolbox_S32K1xx_4.2.0_can_fd_patch_2.zip&lt;/SPAN&gt; patch attached to my answer from &lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Bit-Rate-Switch-functionality/m-p/1228176/highlight/true#M5734" target="_self"&gt;here.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 18:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CAN-FD-in-S32k14x-EVB/m-p/1228180#M5735</guid>
      <dc:creator>paulvlase</dc:creator>
      <dc:date>2021-02-08T18:08:16Z</dc:date>
    </item>
  </channel>
</rss>

