<?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 in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1451416#M7239</link>
    <description>&lt;P&gt;Thank you Marius, I followed your instructions and confirm that this issue is now fixed.&lt;/P&gt;&lt;P&gt;Cheers, Sean.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 15:54:31 GMT</pubDate>
    <dc:creator>swmurray</dc:creator>
    <dc:date>2022-04-29T15:54:31Z</dc:date>
    <item>
      <title>Read register block error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1377332#M6749</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to read SPI's SCK pin and PCS to see the output through the FreeMaster.&lt;/P&gt;&lt;P&gt;So I was trying to use the "Read Register" block for this in my Simulink model.&lt;/P&gt;&lt;P&gt;Whenever I add this block to the Simulink canvas, it shows the below error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_a_u_darshana_0-1637892988957.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163282i245AE89A65354753/image-size/large?v=v2&amp;amp;px=999" role="button" title="p_a_u_darshana_0-1637892988957.png" alt="p_a_u_darshana_0-1637892988957.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have checked the mentioned folder in this error message, and it looks fine and full with all the related .mat files.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_a_u_darshana_1-1637893056380.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163283i8E2AC9E24BA8EA65/image-size/large?v=v2&amp;amp;px=999" role="button" title="p_a_u_darshana_1-1637893056380.png" alt="p_a_u_darshana_1-1637893056380.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have opened the "LPSPIO_SCK.mat" file, and it looks okay as well.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_a_u_darshana_0-1637894357481.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163286iFCA872011C10647C/image-size/large?v=v2&amp;amp;px=999" role="button" title="p_a_u_darshana_0-1637894357481.png" alt="p_a_u_darshana_0-1637894357481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the MBD community, I saw several people ask questions regarding this, but I could not find any proper answer from their posts.&lt;/P&gt;&lt;P&gt;This error occurred if even we just added the "Config Information" block and "Read Register" block to empty Simulink canvas.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_a_u_darshana_2-1637893713551.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163285i07C40BEA2349BAE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="p_a_u_darshana_2-1637893713551.png" alt="p_a_u_darshana_2-1637893713551.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to solve this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176411"&gt;@constantinrazva&lt;/a&gt;&amp;nbsp;Please help me out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 08:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1377332#M6749</guid>
      <dc:creator>p_a_u_darshana</dc:creator>
      <dc:date>2021-11-26T08:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Read register block error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1419390#M7044</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Was you able to solve this? I am having the same issue.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 23:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1419390#M7044</guid>
      <dc:creator>Poley</dc:creator>
      <dc:date>2022-02-24T23:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Read register block error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1434781#M7120</link>
      <description>&lt;P&gt;Yes i have also same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 11:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1434781#M7120</guid>
      <dc:creator>McGlynn6</dc:creator>
      <dc:date>2022-03-28T11:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Read register block error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1434790#M7122</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/116524"&gt;@p_a_u_darshana&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Can you please try the solution posted here?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1434751#M7118" target="_blank"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1434751#M7118&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 11:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1434790#M7122</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2022-03-28T11:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read register block error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1450621#M7234</link>
      <description>&lt;P&gt;Hello, I have the same issue:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="swmurray_0-1651139450496.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178304iA3A203F62520B992/image-size/medium?v=v2&amp;amp;px=400" role="button" title="swmurray_0-1651139450496.png" alt="swmurray_0-1651139450496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The link to the solution (&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1.." target="_blank"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error-S32k142/m-p/1..&lt;/A&gt;.)&amp;nbsp; contains a scripts file for the S32K - is there also an update available for MPC57xx family ?&lt;/P&gt;&lt;P&gt;Until there is I will just use the band-aid method of copying the *.mat files I need to the path that it is incorrectly pointing to in the error message..!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sean.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 10:04:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1450621#M7234</guid>
      <dc:creator>swmurray</dc:creator>
      <dc:date>2022-04-28T10:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Read register block error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1450817#M7235</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/197267"&gt;@swmurray&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for replying this behavior to us!&lt;/P&gt;
&lt;P&gt;As for the S32K1, I cannot replicate this issue on my end, so I've prepared a patch that might solve this issue on your side. I would kindly ask you to apply this patch on your side, test the changes on the registers blocks and please reply to me if this worked or not.&lt;/P&gt;
&lt;P&gt;To apply the files, please run the below command in MATLAB's Command Window, and unzip the files from the archive. There should be 5 replaced files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;winopen(fullfile(mbd_find_mpc_root, 'mbdtbx_mpc', 'mscripts'))&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1651160409054.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/178341i741D8F27003354E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1651160409054.png" alt="mariuslucianand_0-1651160409054.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am waiting for you feedback!&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 15:44:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1450817#M7235</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2022-04-28T15:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Read register block error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1451416#M7239</link>
      <description>&lt;P&gt;Thank you Marius, I followed your instructions and confirm that this issue is now fixed.&lt;/P&gt;&lt;P&gt;Cheers, Sean.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 15:54:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Read-register-block-error/m-p/1451416#M7239</guid>
      <dc:creator>swmurray</dc:creator>
      <dc:date>2022-04-29T15:54:31Z</dc:date>
    </item>
  </channel>
</rss>

