<?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: S32 Configuration Tool SpiPhyUnit mapping to SpiExternal Device in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32-Configuration-Tool-SpiPhyUnit-mapping-to-SpiExternal-Device/m-p/1612680#M8058</link>
    <description>&lt;P&gt;Yeah - Thank You!&lt;/P&gt;&lt;P&gt;Operator - error, for some reason my brain was processing the CSIBx as a chip select channel...&lt;/P&gt;&lt;P&gt;This was driving me nuts - went so far as to run Beyond Compare on the folder structure while making slight changes to the config...&lt;/P&gt;&lt;P&gt;Blue Sky LpSpi!&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 21:55:27 GMT</pubDate>
    <dc:creator>matnerd</dc:creator>
    <dc:date>2023-03-09T21:55:27Z</dc:date>
    <item>
      <title>S32 Configuration Tool SpiPhyUnit mapping to SpiExternal Device</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32-Configuration-Tool-SpiPhyUnit-mapping-to-SpiExternal-Device/m-p/1611846#M8055</link>
      <description>&lt;P&gt;Hello NXP Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an LPSPI device driver I'm developing for an S32K344 with the MBDT toolbox 1.3.0.&lt;/P&gt;&lt;P&gt;I completed the design of a single LSPI channel with no issues.&lt;/P&gt;&lt;P&gt;However, when I attempt to instantiate a 2nd driver on a separate LSPI unit, I cannot get the Configuration Tool (1.6) to map to the proper SpiPhyUnit.&lt;/P&gt;&lt;P&gt;I assign a single SpiJob to a SpiSequence and SpiExternalDevice.&lt;/P&gt;&lt;P&gt;All Job's will run on whatever I define as SpiPhyUnit[0].&lt;/P&gt;&lt;P&gt;Looking over all of the generated source, I do not see how the device gets assigned to a SpiPhyUnit…&lt;/P&gt;&lt;P&gt;I have screenshots of my configuration below…&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 18:25:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32-Configuration-Tool-SpiPhyUnit-mapping-to-SpiExternal-Device/m-p/1611846#M8055</guid>
      <dc:creator>matnerd</dc:creator>
      <dc:date>2023-03-08T18:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32 Configuration Tool SpiPhyUnit mapping to SpiExternal Device</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32-Configuration-Tool-SpiPhyUnit-mapping-to-SpiExternal-Device/m-p/1612573#M8057</link>
      <description>&lt;P&gt;Hi Scott,&lt;/P&gt;
&lt;P&gt;The mapping between an SpiExternalDevice&amp;nbsp;and an SpiPhyUnit is configured with the help of the&amp;nbsp;&lt;STRONG&gt;SpiHwUnit &lt;/STRONG&gt;setting, which can be found inside the SpiExternalDevice tab, as illustrated in the screenshot below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Irina_Costachescu_0-1678379133865.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213919iFE8F5729D009D341/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Irina_Costachescu_0-1678379133865.png" alt="Irina_Costachescu_0-1678379133865.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As mentioned in the SpiHwUnit setting tooltip, you should choose the &lt;STRONG&gt;CSIB &lt;/STRONG&gt;parameter, from the dropdown list, according to the order in which the LPSPI instances were configured inside the SpiPhyUnit tab.&lt;/P&gt;
&lt;P&gt;Based on your attached screenshots, if you would like your SpiExternalDevice_0 to be associated to the LPSPI2 instance, you should select the SpiHwUnit as &lt;STRONG&gt;CSIB0&lt;/STRONG&gt;, since LPSPI2 is configured as the first SpiPhyUnit.&lt;/P&gt;
&lt;P&gt;From the attached LPSPI3.jpg, I see that SpiExternalDevice_1 has the SpiHwUnit set on CSIB0 as well. Under this configuration, it means that the SpiExternalDevice_1 is also associated to the LPSPI2 instance, and not to a different one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hence, if you would like your SpiExternalDevice_1 to be associated to the LPSPI1 instance, you should select the SpiHwUnit as &lt;STRONG&gt;CSIB1&lt;/STRONG&gt;, since LPSPI1 is configured as the second SpiPhyUnit.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 16:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32-Configuration-Tool-SpiPhyUnit-mapping-to-SpiExternal-Device/m-p/1612573#M8057</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2023-03-09T16:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32 Configuration Tool SpiPhyUnit mapping to SpiExternal Device</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32-Configuration-Tool-SpiPhyUnit-mapping-to-SpiExternal-Device/m-p/1612680#M8058</link>
      <description>&lt;P&gt;Yeah - Thank You!&lt;/P&gt;&lt;P&gt;Operator - error, for some reason my brain was processing the CSIBx as a chip select channel...&lt;/P&gt;&lt;P&gt;This was driving me nuts - went so far as to run Beyond Compare on the folder structure while making slight changes to the config...&lt;/P&gt;&lt;P&gt;Blue Sky LpSpi!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 21:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32-Configuration-Tool-SpiPhyUnit-mapping-to-SpiExternal-Device/m-p/1612680#M8058</guid>
      <dc:creator>matnerd</dc:creator>
      <dc:date>2023-03-09T21:55:27Z</dc:date>
    </item>
  </channel>
</rss>

