<?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)中的主题 CSNS setting and Control of HSD pinouts with SPI</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CSNS-setting-and-Control-of-HSD-pinouts-with-SPI/m-p/1286201#M6114</link>
    <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make SPI adjustments according to the datasheet of the IC we used (MC15XS3400), but I cannot control the outputs and I cannot see any data flow when I trigger the HSD_IN0 pin from outside.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HSD.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146118i202C19ECC20B4FCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HSD.PNG" alt="HSD.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2021 14:57:28 GMT</pubDate>
    <dc:creator>peaces</dc:creator>
    <dc:date>2021-06-02T14:57:28Z</dc:date>
    <item>
      <title>CSNS setting and Control of HSD pinouts with SPI</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CSNS-setting-and-Control-of-HSD-pinouts-with-SPI/m-p/1286201#M6114</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to make SPI adjustments according to the datasheet of the IC we used (MC15XS3400), but I cannot control the outputs and I cannot see any data flow when I trigger the HSD_IN0 pin from outside.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HSD.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146118i202C19ECC20B4FCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HSD.PNG" alt="HSD.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 14:57:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CSNS-setting-and-Control-of-HSD-pinouts-with-SPI/m-p/1286201#M6114</guid>
      <dc:creator>peaces</dc:creator>
      <dc:date>2021-06-02T14:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: CSNS setting and Control of HSD pinouts with SPI</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CSNS-setting-and-Control-of-HSD-pinouts-with-SPI/m-p/1294050#M6185</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187165"&gt;@peaces&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Unfortunately, I don't have access to the board so I cannot test the code attached.&lt;/P&gt;
&lt;P&gt;I would try to control the HSD via the SPI protocol first. For that, I've tried the following model to control the outputs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_0-1623926391848.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147333iAFCF70020ADD1CC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mariuslucianand_0-1623926391848.png" alt="mariuslucianand_0-1623926391848.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;at first, it will control the Reset Pin, will send the PWM control command, and after that will toggle the OUT0&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_1-1623926477181.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147334i4781DB434A014564/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_1-1623926477181.png" alt="mariuslucianand_1-1623926477181.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is how the set HIGH command looks like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_2-1623926517369.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147335i036042E0DAD9B9E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_2-1623926517369.png" alt="mariuslucianand_2-1623926517369.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please give this model a try, but be aware that it sets the output fully open and at every second fully closed.&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;</description>
      <pubDate>Thu, 17 Jun 2021 10:43:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/CSNS-setting-and-Control-of-HSD-pinouts-with-SPI/m-p/1294050#M6185</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2021-06-17T10:43:32Z</dc:date>
    </item>
  </channel>
</rss>

