<?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>Model-Based Design Toolbox (MBDT)のトピックRe: Using NVM chip on MPC5775B EVB</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298335#M6228</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135867"&gt;@sonik82&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I think it will remain low as long as you transmit. But, if you expect to receive for example 4 bytes from the NVM chip, you can compute the array like this: [cmd, addr, addr, add, 0xFF, 0xFF, 0xFF, 0xFF] basically you send an 0xFF or 0x00 as long as you want to receive from the NVM chip. Please give this a try.&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 09:02:05 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2021-06-25T09:02:05Z</dc:date>
    <item>
      <title>Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1294998#M6197</link>
      <description>&lt;P&gt;I would like to use NVM chip (M95M01-DWMN3TP/K) on &lt;SPAN&gt;DVCU5775EVM, so initially I have prepared simple model just to check chip status.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chip is connected to SPI0 with CS1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvm_1.PNG" style="width: 383px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147511i62CE4086E3C1BD89/image-dimensions/383x240?v=v2" width="383" height="240" role="button" title="nvm_1.PNG" alt="nvm_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvm_2.PNG" style="width: 375px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147508i6ABCF7C417B1B79E/image-dimensions/375x63?v=v2" width="375" height="63" role="button" title="nvm_2.PNG" alt="nvm_2.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And I have used these settings for SPI blocks&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvm_5.PNG" style="width: 353px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147512iB1D6FD03135ADBDC/image-dimensions/353x217?v=v2" width="353" height="217" role="button" title="nvm_5.PNG" alt="nvm_5.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvm_6.PNG" style="width: 359px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147513iF4BC5BA75BA9B43F/image-dimensions/359x346?v=v2" width="359" height="346" role="button" title="nvm_6.PNG" alt="nvm_6.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then have prepared stateflow diagram to send control commands&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvm_3.PNG" style="width: 346px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147514i5E3A8594CF95BAF0/image-dimensions/346x266?v=v2" width="346" height="266" role="button" title="nvm_3.PNG" alt="nvm_3.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where Tx_data is control command (RDSR) from&amp;nbsp;M95M01 datasheet&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_0-1624177375228.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147516i7034C887931E6ABE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_0-1624177375228.png" alt="sonik82_0-1624177375228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and this command goes after chip is selected&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_1-1624177630426.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147517i6B0A675652A742D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_1-1624177630426.png" alt="sonik82_1-1624177630426.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally I have got following model.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvm_4.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147515i3526D231EF91CE49/image-size/large?v=v2&amp;amp;px=999" role="button" title="nvm_4.PNG" alt="nvm_4.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After flashing, I have used Freemaster to check SPI feedback signal from NVM and it is always 0xff.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nvm_7.PNG" style="width: 338px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147518iACB4480676AA07B0/image-dimensions/338x144?v=v2" width="338" height="144" role="button" title="nvm_7.PNG" alt="nvm_7.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jun 2021 08:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1294998#M6197</guid>
      <dc:creator>sonik82</dc:creator>
      <dc:date>2021-06-20T08:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1296004#M6201</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135867"&gt;@sonik82&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I had a look at your model and attached the model with a couple of changes. I don't have access to your board and I cannot test it, but I had a look at the signals using the logic analyzer. See the image attached below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1624349389909.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147654iDDBB99E98690D00C/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_0-1624349389909.png" alt="mariuslucianand_0-1624349389909.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; SPI settings - for that you can select the CS pin in the SPI_Config, you don't need to change it by hand. To select the device you can select the CS in the Master transmit block, the one you have already used.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_1-1624349845093.png" style="width: 534px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147655i9E9F79C18A83CFAC/image-dimensions/534x313?v=v2" width="534" height="313" role="button" title="mariuslucianand_1-1624349845093.png" alt="mariuslucianand_1-1624349845093.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_2-1624350277160.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147658i6534E001B2565666/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_2-1624350277160.png" alt="mariuslucianand_2-1624350277160.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. In the Stateflow, you can remove the chip select state, because the DSPI will handle that, so you can only send and decode the responses from the SPI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_3-1624350367033.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147659i312DA1868B79B892/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_3-1624350367033.png" alt="mariuslucianand_3-1624350367033.png" /&gt;&lt;/span&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:27:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1296004#M6201</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-06-22T08:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1297828#M6212</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135867"&gt;@sonik82&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I faced the same problem and I want to save any data in EEPROM, can you help with that?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 14:55:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1297828#M6212</guid>
      <dc:creator>Baris</dc:creator>
      <dc:date>2021-06-24T14:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1297923#M6214</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;&amp;nbsp;Thank you for model modification, but, unfortunately, I am still facing same issue SPI receive signal is always 0xFF and it does not matter which command I send to NVM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 21:14:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1297923#M6214</guid>
      <dc:creator>sonik82</dc:creator>
      <dc:date>2021-06-24T21:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1297964#M6215</link>
      <description>&lt;P&gt;&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;As per datasheet, we need to keep Chip select low while sending command and getting data from chip&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_2-1624568581644.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147938i1F6128D753741CEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_2-1624568581644.png" alt="sonik82_2-1624568581644.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Your image shows that Chip Select goes High after transmitting of command, am I right?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_0-1624568237232.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147936i448817BCF6522496/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_0-1624568237232.png" alt="sonik82_0-1624568237232.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it possible to keep this signal Low until we will get data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question, these SPI settings are correct&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_3-1624568942974.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147939iD115B22EAE3B7FB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_3-1624568942974.png" alt="sonik82_3-1624568942974.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;to provide one of following SPI modes?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_4-1624569019113.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147940iF657AD443E1DA4CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_4-1624569019113.png" alt="sonik82_4-1624569019113.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, to send 8 bits command and 24 bits address I need to change SPI frame size to 32, am I right? Then how to change this frame size dynamically? For example to&amp;nbsp;Read Status Register it is required only 8 bits, to Read data 8 bits for command + 24 bits for address, to Write data 8 bits for command + 24 bits for address + Data.&lt;/P&gt;&lt;P&gt;Input and Output ports have same size, so does it mean that we can only send/get SPI frames with same size?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_0-1624570247904.png" style="width: 588px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147941i6CABF88E197EA7BF/image-dimensions/588x166?v=v2" width="588" height="166" role="button" title="sonik82_0-1624570247904.png" alt="sonik82_0-1624570247904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 21:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1297964#M6215</guid>
      <dc:creator>sonik82</dc:creator>
      <dc:date>2021-06-24T21:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298211#M6218</link>
      <description>&lt;P&gt;I have changed SPI frame size from 8 to 16 bits, assuming that Chip select will be Low enough time to read feedback (8 bits) from NVM chip.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_0-1624604328698.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148005i640C8DA1E0F6324B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_0-1624604328698.png" alt="sonik82_0-1624604328698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my SPI receive data is 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_0-1624603960892.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147984i4411FC70EA58273C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_0-1624603960892.png" alt="sonik82_0-1624603960892.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It looks fine for&amp;nbsp;Read Status Register command, because bits 0,1,2,3,7 should not be set by default.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_1-1624604560300.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148009iDEC5C703C092E147/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_1-1624604560300.png" alt="sonik82_1-1624604560300.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am going to check Read/Write commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 07:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298211#M6218</guid>
      <dc:creator>sonik82</dc:creator>
      <dc:date>2021-06-25T07:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298259#M6220</link>
      <description>&lt;P&gt;I guess if I set SPI frame size to 24 bits then in case when my command is 8 bits, expected response also 8 bit, then I will get next 8 bits as 0xFF, am I right?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 07:50:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298259#M6220</guid>
      <dc:creator>sonik82</dc:creator>
      <dc:date>2021-06-25T07:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298260#M6221</link>
      <description>&lt;P&gt;&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 guess if I set SPI frame size to 24 bits then in case when my command is 8 bits, expected response also 8 bit, then I will get next 8 bits as 0xFF, am I right?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 07:51:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298260#M6221</guid>
      <dc:creator>sonik82</dc:creator>
      <dc:date>2021-06-25T07:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298277#M6222</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135867"&gt;@sonik82&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can send variable bytes number (8, 16, 24, 32, 40 ...) with a continuous CS by selecting the Continuous transfer. But I've seen that you have already done that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1624607963579.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148028iDBD0002CD5F3D1A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1624607963579.png" alt="mariuslucianand_0-1624607963579.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, you select the frame size as 8, and you populate an array with the commands you want to send. F4irst byte is the command, then the next 3 bytes are the address. If you provide such an array to the SPI Send block, this will output on bus 4 continuous bytes, with only one chip select transition.&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>Fri, 25 Jun 2021 08:03:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298277#M6222</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-06-25T08:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298324#M6227</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp;SPI chip selection remains Low only when I am sending data to chip or it remains selected while receiving data from SPI also?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 08:52:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298324#M6227</guid>
      <dc:creator>sonik82</dc:creator>
      <dc:date>2021-06-25T08:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298335#M6228</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135867"&gt;@sonik82&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I think it will remain low as long as you transmit. But, if you expect to receive for example 4 bytes from the NVM chip, you can compute the array like this: [cmd, addr, addr, add, 0xFF, 0xFF, 0xFF, 0xFF] basically you send an 0xFF or 0x00 as long as you want to receive from the NVM chip. Please give this a try.&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 09:02:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298335#M6228</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-06-25T09:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298678#M6231</link>
      <description>&lt;P&gt;Hello&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 have checked your idea. To do it, I have modified model by creation of 4 commands:&amp;nbsp;&lt;/P&gt;&lt;P&gt;RDSR (Read Status Register) [ 00000101&amp;nbsp;&lt;SPAN&gt;0xFF&amp;nbsp;0xFF&amp;nbsp;0xFF&amp;nbsp;0xFF 0xFF 0xFF]&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_4-1624729396494.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148091iDBEF1C361AD2E987/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_4-1624729396494.png" alt="sonik82_4-1624729396494.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;WREN (Write Enable) [ 00000110&amp;nbsp;&lt;SPAN&gt;0xFF&amp;nbsp;0xFF 0xFF&amp;nbsp;0xFF&amp;nbsp;0xFF 0xFF]&lt;/SPAN&gt;&amp;nbsp; because of&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_2-1624729251596.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148089iF9C736E434635E90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_2-1624729251596.png" alt="sonik82_2-1624729251596.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;WRITE (Write to Memory Array) [&amp;nbsp;00000010&amp;nbsp;&lt;SPAN&gt;0x00&amp;nbsp;0x00&amp;nbsp;0x00 11000100&amp;nbsp;0xFF]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;READ (Read from Memory Array) [&amp;nbsp;00000011&amp;nbsp;0x00&amp;nbsp;0x00&amp;nbsp;0x00&amp;nbsp;0xFF 0xFF]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_5-1624729497228.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148092i43F18095EE6FF683/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sonik82_5-1624729497228.png" alt="sonik82_5-1624729497228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I use SPI frame size, received data is always 0xFF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_0-1624728449115.png" style="width: 203px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148087iF4B43EC74E6CAD80/image-dimensions/203x181?v=v2" width="203" height="181" role="button" title="sonik82_0-1624728449115.png" alt="sonik82_0-1624728449115.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Same situation with SPI frame size 16, but with using size 24 output data becomes 0x00&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sonik82_3-1624729313095.png" style="width: 205px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148090iB5F6AE7BE88518FD/image-dimensions/205x190?v=v2" width="205" height="190" role="button" title="sonik82_3-1624729313095.png" alt="sonik82_3-1624729313095.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jun 2021 17:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1298678#M6231</guid>
      <dc:creator>sonik82</dc:creator>
      <dc:date>2021-06-26T17:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1374434#M6729</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135867"&gt;@sonik82&lt;/a&gt;Sonic82, have you had any success yet in using the NVM chip on the MPC5775BEVB? I have tried also, with no success-so far.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 15:28:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1374434#M6729</guid>
      <dc:creator>ranulf</dc:creator>
      <dc:date>2021-11-19T15:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using NVM chip on MPC5775B EVB</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1393254#M6830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am dealing with the same problem but couldn't find the solution. Can you help me with that??&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 07:05:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Using-NVM-chip-on-MPC5775B-EVB/m-p/1393254#M6830</guid>
      <dc:creator>oguz</dc:creator>
      <dc:date>2021-12-30T07:05:09Z</dc:date>
    </item>
  </channel>
</rss>

