<?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 Documentation inconsistency or error for MC3377xB Register Write block in MBDT S32K1xx in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1188479#M5405</link>
    <description>&lt;P&gt;I'm referring to the block at &lt;STRONG&gt;NXP Model-Based Design Toolbox for S32K1xx MCUs/External Devices/Battery Management System/BMS/MC3377xB Register Write&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp; The block in Simulink shows a data type mismatch between the constant (uint16) feeding Reg Value the Reg Value port (uint8). See below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RegisterWriteInSimulink.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130900i2FC4CB55BEB569D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RegisterWriteInSimulink.png" alt="RegisterWriteInSimulink.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The documentation shows that Reg Value is a UINT16. See below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RegisterWriteDocs.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130901iA261E206A531DEF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RegisterWriteDocs.png" alt="RegisterWriteDocs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which is in error? I think the block port is in error because register values have 16 bits.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 00:54:58 GMT</pubDate>
    <dc:creator>ranulf</dc:creator>
    <dc:date>2020-11-25T00:54:58Z</dc:date>
    <item>
      <title>Documentation inconsistency or error for MC3377xB Register Write block in MBDT S32K1xx</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1188479#M5405</link>
      <description>&lt;P&gt;I'm referring to the block at &lt;STRONG&gt;NXP Model-Based Design Toolbox for S32K1xx MCUs/External Devices/Battery Management System/BMS/MC3377xB Register Write&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp; The block in Simulink shows a data type mismatch between the constant (uint16) feeding Reg Value the Reg Value port (uint8). See below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RegisterWriteInSimulink.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130900i2FC4CB55BEB569D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RegisterWriteInSimulink.png" alt="RegisterWriteInSimulink.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The documentation shows that Reg Value is a UINT16. See below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RegisterWriteDocs.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130901iA261E206A531DEF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RegisterWriteDocs.png" alt="RegisterWriteDocs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which is in error? I think the block port is in error because register values have 16 bits.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 00:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1188479#M5405</guid>
      <dc:creator>ranulf</dc:creator>
      <dc:date>2020-11-25T00:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation inconsistency or error for MC3377xB Register Write block in MBDT S32K1xx</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1189263#M5414</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/179095"&gt;@ranulf&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You are right, the issue is with the block not with the documentation.&lt;/P&gt;
&lt;P&gt;To get the right input value type, please replace the&amp;nbsp;mc3377xb_s32k_reg_write.mexw64 file, from the archive attached to the {Toolbox install path}\external_devices\blocks\mc3377xb.&lt;/P&gt;
&lt;P&gt;To find the Toolbox install path, please type the&amp;nbsp;mbd_find_s32k_root command in Matlab.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 20:15:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1189263#M5414</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-11-25T20:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation inconsistency or error for MC3377xB Register Write block in MBDT S32K1xx</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1189283#M5416</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I followed your instructions and now the block Reg Value port has the correct data type. However, I have not been successful in changing register values. I can read them but not change them. This perhaps is a different question and issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 21:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1189283#M5416</guid>
      <dc:creator>ranulf</dc:creator>
      <dc:date>2020-11-25T21:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation inconsistency or error for MC3377xB Register Write block in MBDT S32K1xx</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1189290#M5417</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/179095"&gt;@ranulf&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I will investigate the behavior that you have mentioned and reply tomorrow. Until then, I remember that I've noticed at some point a reinitialization behavior to the battery cell controller and provided a file called&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;mbdtargetmainlibs32k.tlc that prevents this to happen. I wonder if the block writes the register but due to this reinitialization, the value is set back to reset.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;You can find the file that I am talking about here together with instructions.&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-put-S32K-MCU-into-sleep-low-power-mode/m-p/1165078/highlight/true#M5122" target="_blank"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-put-S32K-MCU-into-sleep-low-power-mode/m-p/1165078/highlight/true#M5122&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Marius&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 22:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1189290#M5417</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-11-25T22:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation inconsistency or error for MC3377xB Register Write block in MBDT S32K1xx</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1189296#M5418</link>
      <description>&lt;P&gt;Hi Marius,&lt;/P&gt;&lt;P&gt;I followed your instructions and have replaced the indicated file. The file replacement appears to have made it possible or me to write register values!! I need to test, but it looks like the blocks related to cell balancing are changing register values. Please do test yourself.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 23:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Documentation-inconsistency-or-error-for-MC3377xB-Register-Write/m-p/1189296#M5418</guid>
      <dc:creator>ranulf</dc:creator>
      <dc:date>2020-11-25T23:17:35Z</dc:date>
    </item>
  </channel>
</rss>

