<?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)中的主题 U40 Load Switches Configuration</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/U40-Load-Switches-Configuration/m-p/1880977#M9175</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm working with a s32K358 and some contactor. One step of closing the contactors is "Make sure U40 OUT #3 is active and provides power supply for contactor drivers."&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VastHorizon_0-1717537061213.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/282493i1D56C0E90F5A07AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VastHorizon_0-1717537061213.png" alt="VastHorizon_0-1717537061213.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder what configuration I should go through to activate the OUT 3. I didn't find the corresponding pin in S32 configuration toolbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2024 21:40:48 GMT</pubDate>
    <dc:creator>Vast-Horizon</dc:creator>
    <dc:date>2024-06-04T21:40:48Z</dc:date>
    <item>
      <title>U40 Load Switches Configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/U40-Load-Switches-Configuration/m-p/1880977#M9175</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm working with a s32K358 and some contactor. One step of closing the contactors is "Make sure U40 OUT #3 is active and provides power supply for contactor drivers."&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VastHorizon_0-1717537061213.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/282493i1D56C0E90F5A07AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VastHorizon_0-1717537061213.png" alt="VastHorizon_0-1717537061213.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder what configuration I should go through to activate the OUT 3. I didn't find the corresponding pin in S32 configuration toolbox.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 21:40:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/U40-Load-Switches-Configuration/m-p/1880977#M9175</guid>
      <dc:creator>Vast-Horizon</dc:creator>
      <dc:date>2024-06-04T21:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: U40 Load Switches Configuration</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/U40-Load-Switches-Configuration/m-p/1884093#M9188</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232747"&gt;@Vast-Horizon&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If my assumption is correct, you are using the &lt;SPAN&gt;RD-K358BMU HVBMS design. In this custom design, the power for the contactors is controlled via the OUT3 of the U40.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The U40 is the 17XS6500 high-side switch communicating with the MCU via the SPI Interface.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"I wonder what configuration I should go through to activate the OUT 3. I didn't find the corresponding pin in the S32 configuration toolbox."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;To control the outputs of the U40, you have to send such commands to the U40 via the SPI. So you don't have actually a pin assigned to the MCU to control directly the U40 outputs.&lt;/P&gt;
&lt;P&gt;The main steps for achieving such a task are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;go to S32CT and configure the SPI 3 pins, for the LOAD SW.&lt;/LI&gt;
&lt;LI&gt;in S32CT, make sure the clock for the SPI 3 is enabled.&lt;/LI&gt;
&lt;LI&gt;in S32CT, go to the SPI component, and configure the SPI3 to match the settings required by the &lt;SPAN&gt;17XS6500,&amp;nbsp;&lt;/SPAN&gt;alongside their channels and transmit sequences.&lt;/LI&gt;
&lt;LI&gt;in S32CT, in the Platform component, enable the interrupt required by the SPI 3 instance&lt;/LI&gt;
&lt;LI&gt;in Simulink, you can now put together the communication sequence and use the SPI blocks to communicate with the U40.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;As an example, you can have a look at the pressure sensor reading delivered with the k358bmu_read_s32ct, in the MBDT for BMS 1.1.0.&amp;nbsp;This example configures the SPI instance for the pressure sensor and in Simulink, it reads the value using the SPI commands.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 07:37:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/U40-Load-Switches-Configuration/m-p/1884093#M9188</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2024-06-10T07:37:31Z</dc:date>
    </item>
  </channel>
</rss>

