<?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: Read_register block error S32k142 in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1680376#M8319</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;&amp;nbsp;I am using read write register in order to get the data from i2c block as I have observed that the data is not cleared in i2c register when the salve is removed after a period of time. So, i am planning to clear the buffer initially before every read operation.&lt;/P&gt;&lt;P&gt;But, when I select the i2c registers from read write Register i get the an error whose snapshot is been added. MATLAB Version 2020a.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rathi_tg_0-1688376735382.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230489iE3F5DC579F33AC64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rathi_tg_0-1688376735382.png" alt="rathi_tg_0-1688376735382.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2023 09:34:28 GMT</pubDate>
    <dc:creator>rathi_tg</dc:creator>
    <dc:date>2023-07-03T09:34:28Z</dc:date>
    <item>
      <title>Read_register block error S32k142</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1425355#M7085</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I found an error when using the read register block for S32K142 platform.&lt;/P&gt;&lt;P&gt;The block when opening it tries to search for the list of .mat files in the wrong device folder.&lt;/P&gt;&lt;P&gt;This can be fixed with a work around by just copying the files to that location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Extra note: If this block is used in 2021b, a&amp;nbsp;new error triggers with less feedback, which I cannot solve. due to .p files. However, by clicking OK, the block appears to be usable, but I don't know if the output in code generation will be correct. This extra note links to:&amp;nbsp;&lt;LI-MESSAGE title="Compatibility issue list for matlab R2021b" uid="1423306" url="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Compatibility-issue-list-for-matlab-R2021b/m-p/1423306#U1423306" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error message when running the initialization command of the mask:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; mbd_s32k_rw_register_init;&lt;BR /&gt;Error using fgets&lt;BR /&gt;Invalid file identifier. Use fopen to generate a valid file identifier.&lt;/P&gt;&lt;P&gt;Error in fgetl (line 32)&lt;BR /&gt;[tline,lt] = fgets(fid);&lt;/P&gt;&lt;P&gt;Error in mbd_s32k_get_periph_clock_list&lt;/P&gt;&lt;P&gt;Error in mbd_s32k_rw_register_init&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 15:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1425355#M7085</guid>
      <dc:creator>craanede</dc:creator>
      <dc:date>2022-03-09T15:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Read_register block error S32k142</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1433672#M7109</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196916"&gt;@craanede&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Unfortunately, I cannot reproduce this on my setup, but I think that I have a patch to solve this behavior. I am attaching some files which have to be replaced into the MBDT files.&lt;/P&gt;
&lt;P&gt;To do so, you have to run the following command in MATLAB &lt;EM&gt;winopen(fullfile(mbd_find_s32k_root, 'mbdtbx_s32k', 'mscripts'))&lt;/EM&gt; and in the newly opened window, to copy the content of the archive (the files are delivered in the same folders as the ones in the current mscripts files in the toolbox).&lt;/P&gt;
&lt;P&gt;Can you please apply this patch and check if the registers blocks are now displaying the right information?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 22:48:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1433672#M7109</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2022-03-24T22:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Read_register block error S32k142</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1434789#M7121</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;For me the files are located in this directory:&lt;/P&gt;&lt;P&gt;%AppData%\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\mbdtbx_s32k\devices\S32K142\signal_description&lt;/P&gt;&lt;P&gt;The toolbox was looking for the signal description files in the S32k148 or S32k146. So I copied the folder there as a work around.&lt;/P&gt;&lt;P&gt;However, try the solution proposed by NXP with the updated files. That for me also solved the secondary issue in 2021b.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 11:10:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1434789#M7121</guid>
      <dc:creator>craanede</dc:creator>
      <dc:date>2022-03-28T11:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Read_register block error S32k142</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1434791#M7123</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;This solved the issue. I don't get an error message and all the information is available as it is for older versions.&lt;/P&gt;&lt;P&gt;Thank you for the support.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Dennie&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 11:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1434791#M7123</guid>
      <dc:creator>craanede</dc:creator>
      <dc:date>2022-03-28T11:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Read_register block error S32k142</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1680376#M8319</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;&amp;nbsp;I am using read write register in order to get the data from i2c block as I have observed that the data is not cleared in i2c register when the salve is removed after a period of time. So, i am planning to clear the buffer initially before every read operation.&lt;/P&gt;&lt;P&gt;But, when I select the i2c registers from read write Register i get the an error whose snapshot is been added. MATLAB Version 2020a.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rathi_tg_0-1688376735382.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230489iE3F5DC579F33AC64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rathi_tg_0-1688376735382.png" alt="rathi_tg_0-1688376735382.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 09:34:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1680376#M8319</guid>
      <dc:creator>rathi_tg</dc:creator>
      <dc:date>2023-07-03T09:34:28Z</dc:date>
    </item>
  </channel>
</rss>

