<?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: Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1705545#M8404</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217391"&gt;@RegulusCheng&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have noticed that you have also opened a new thread here&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/2-LSD-pins-can-not-be-controlled/m-p/1705024#M8402" target="_blank"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/2-LSD-pins-can-not-be-controlled/m-p/1705024#M8402&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's please continue the investigation on the new thread.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 07:57:48 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2023-08-16T07:57:48Z</dc:date>
    <item>
      <title>Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1195140#M5466</link>
      <description>&lt;P&gt;Could we get examples showing how to use SPI communication in the MBDT to interface with the LSD, HSD, and&amp;nbsp;&lt;SPAN&gt;MSDI on-board chips for your MPC5775B evaluation board?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://www.nxp.com/design/designs/mpc5775b-bms-and-vcu-reference-design:RDVCU5775EVM" target="_self"&gt;MPC5775B BMS and VCU Reference &lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is the high-level communication that really matters. A lot is left to the imagination, and a lot can go wrong, if we only have low-level SPI communication examples to start with. It is not an easy task.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 04:53:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1195140#M5466</guid>
      <dc:creator>rsating</dc:creator>
      <dc:date>2020-12-08T04:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1196131#M5470</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178673"&gt;@rsating&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;For now, I don't have access to this board. I will try to test the SPI connection on a similar MCU for the previous thread you have opened related to that GPIO extender.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 08:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1196131#M5470</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-12-09T08:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1197010#M5476</link>
      <description>&lt;P&gt;Thanks in advance for looking into this.&amp;nbsp; Eagerly awaiting your guidance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 01:39:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1197010#M5476</guid>
      <dc:creator>rsating</dc:creator>
      <dc:date>2020-12-10T01:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1197209#M5477</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178673"&gt;@rsating&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I am sorry, I have to delay the investigation by a couple of days due to some urgent work that has to be done with my daily tasks.&lt;/P&gt;
&lt;P&gt;I will be back to you in the second half of the next week.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 07:59:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1197209#M5477</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-12-10T07:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1200551#M5497</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178673"&gt;@rsating&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I've attached an example that might toggle one relay on the board. As I said before I don't have this setup to test on but based on datasheets let's give this a try. I have only explained for the MCZ but for the other SPI devices, the connection is the same.&lt;/P&gt;
&lt;P&gt;MCZ33996 requires 24 bits on each SPI frame. To achieve that, we have to use the continuous mode to transfer the bits in one frame. We will keep the frame size to 8 bit. But we are going to feed the SPI send block with an array of 3x uint8_t.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1608139470827.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132873iDBAF48F1B269BE31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1608139470827.jpeg" alt="mariuslucianand_0-1608139470827.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now, looking on the schematic on your board,&amp;nbsp; MCZ is connected via the SPIC with the CS on PCSC3.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_1-1608139470992.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132874iB04EDEEC9E301D61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_1-1608139470992.jpeg" alt="mariuslucianand_1-1608139470992.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I don’t have this board, but I’ve selected the same SPI instance, and the same pins on the board I have.&lt;/P&gt;
&lt;P&gt;Now, there is another signal used for reset which is connected to the GPIO 456. So we have to use this pin to firstly reset the MCZ, then to start the communication.&lt;/P&gt;
&lt;P&gt;I’ve used a simple FlowChart to firstly reset the MCZ (the RESET subsystem) then to send the output state for the pins.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_2-1608139471024.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132875i487AFD331B3ABBC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_2-1608139471024.jpeg" alt="mariuslucianand_2-1608139471024.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see here, the input is an array of 3 uint8_t.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_3-1608139471063.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132876i24F01A7C6EB6E592/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_3-1608139471063.jpeg" alt="mariuslucianand_3-1608139471063.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For the command that we are going to send, the first byte will be 0 and for controlling the relay we are only toggling the bit 1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_4-1608139471173.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132877i889343E89C3309EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_4-1608139471173.jpeg" alt="mariuslucianand_4-1608139471173.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Running this on the board will end up with some signals like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_7-1608139656087.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132880iC78CF2314C483FBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_7-1608139656087.png" alt="mariuslucianand_7-1608139656087.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The Channel 4 is the reset, you can see the moment where the reset is pulled up. On each second you can see the communication signals.&lt;/P&gt;
&lt;P&gt;By zooming on the communication frame, you can see the command being send, there is a higher time between each 8 clock bits. You also will see an Initialize custom code block that inserts such time. Should not be necessary but without that custom code, the timing will be too small. Let’s hope this will work.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_8-1608139685724.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/132881i58A62B776A2E60D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_8-1608139685724.png" alt="mariuslucianand_8-1608139685724.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have attached the model and a simple FreeMaster project, but probably the LPUART instance has to be changed with the one on your board.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's give this a try and please reply to me with the results.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:34:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1200551#M5497</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-12-16T17:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1202375#M5511</link>
      <description>&lt;P&gt;Thank you Sir!&amp;nbsp; It worked on the first try for the LSD chip.&amp;nbsp;&lt;BR /&gt;The attached example was incredibly helpful.&lt;/P&gt;&lt;P&gt;The key points I missed were:&lt;BR /&gt;- resetting the chip&lt;BR /&gt;- adding time delay between 8-bit messages using the SDK&lt;BR /&gt;- using continuous transfer mode for SPI configuration&lt;/P&gt;&lt;P&gt;The answer is especially helpful in showing us we can use the SDK within Simulink.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the HSD and MSDI I'm able to send messages successfully to the chips based on the example above, but I'm having trouble getting the reply when one is expected. I'll start a new thread to document that and ask for guidance.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 08:54:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1202375#M5511</guid>
      <dc:creator>rsating</dc:creator>
      <dc:date>2020-12-21T08:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1705021#M8401</link>
      <description>&lt;P&gt;Hello, I have tried your solution, It dose works.&lt;/P&gt;&lt;P&gt;However, I found that the LSD pin of the development board does not output exactly according to the given value. When I give three frames of the message all 0, theoretically there should be no pin output, but there are 2 pins will continue to output, do you know why? If you have any further questions about the details, please feel free to contact me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 12:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1705021#M8401</guid>
      <dc:creator>RegulusCheng</dc:creator>
      <dc:date>2023-08-15T12:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1705545#M8404</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217391"&gt;@RegulusCheng&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have noticed that you have also opened a new thread here&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/2-LSD-pins-can-not-be-controlled/m-p/1705024#M8402" target="_blank"&gt;https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/2-LSD-pins-can-not-be-controlled/m-p/1705024#M8402&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's please continue the investigation on the new thread.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 07:57:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/1705545#M8404</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2023-08-16T07:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Request for HSD/LSD/MSDI Communication Examples for MPC5775B BMS and VCU Reference Design</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/2060593#M10123</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;HSD (High-Side Driver) and LSD (Low-Side Driver)&lt;/STRONG&gt;, how can the &lt;STRONG&gt;MCU detect whether the output is ON or OFF&lt;/STRONG&gt;? Additionally, how can we &lt;STRONG&gt;poll the fault status&lt;/STRONG&gt; and &lt;STRONG&gt;clear any faults&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 15:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Request-for-HSD-LSD-MSDI-Communication-Examples-for-MPC5775B-BMS/m-p/2060593#M10123</guid>
      <dc:creator>bharathn3402</dc:creator>
      <dc:date>2025-03-12T15:59:49Z</dc:date>
    </item>
  </channel>
</rss>

