<?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 S32K144 GPO Output pulse is different from Simulink scope in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-GPO-Output-pulse-is-different-from-Simulink-scope/m-p/2105958#M10265</link>
    <description>&lt;P&gt;Hello everyone &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;I’m trying to generate an engine crank signal using two GPOs of the S32K144 EVB via Simulink. The signal has 60 teeth with 2 missing teeth, and during the missing teeth section, one of the GPO outputs is held high (1) while the other is held low (0) to represent an intermediate 'idle' state.&lt;/P&gt;&lt;P&gt;In the attached Simulink model, when I observe the combined waveforms using a Scope block, the output appears as a clean square waveform, and the idle section is clearly and correctly shown.&lt;/P&gt;&lt;P&gt;However, when I implement this on the actual S32K144 EVB, I connect each GPO output through a 1k Ohm resistor and combine them to observe the waveform on an oscilloscope. In this case, I notice that the idle state appears very briefly between every pulse, not just at the missing teeth section.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simulink_Result.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/340133i5D142F8D27F4F13B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Simulink_Result.png" alt="Simulink_Result.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Actual_Result.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/340134iB5202E139E1CEFAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Actual_Result.jpg" alt="Actual_Result.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I’m wondering why there is a discrepancy between the Scope output in Simulink and the actual waveform from the hardware. Could this be due to a mistake in my hardware setup or Simulink configuration? I would appreciate any guidance or suggestions.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 28 May 2025 07:27:26 GMT</pubDate>
    <dc:creator>HyeonJun94</dc:creator>
    <dc:date>2025-05-28T07:27:26Z</dc:date>
    <item>
      <title>S32K144 GPO Output pulse is different from Simulink scope</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-GPO-Output-pulse-is-different-from-Simulink-scope/m-p/2105958#M10265</link>
      <description>&lt;P&gt;Hello everyone &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;I’m trying to generate an engine crank signal using two GPOs of the S32K144 EVB via Simulink. The signal has 60 teeth with 2 missing teeth, and during the missing teeth section, one of the GPO outputs is held high (1) while the other is held low (0) to represent an intermediate 'idle' state.&lt;/P&gt;&lt;P&gt;In the attached Simulink model, when I observe the combined waveforms using a Scope block, the output appears as a clean square waveform, and the idle section is clearly and correctly shown.&lt;/P&gt;&lt;P&gt;However, when I implement this on the actual S32K144 EVB, I connect each GPO output through a 1k Ohm resistor and combine them to observe the waveform on an oscilloscope. In this case, I notice that the idle state appears very briefly between every pulse, not just at the missing teeth section.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Simulink_Result.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/340133i5D142F8D27F4F13B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Simulink_Result.png" alt="Simulink_Result.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Actual_Result.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/340134iB5202E139E1CEFAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Actual_Result.jpg" alt="Actual_Result.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I’m wondering why there is a discrepancy between the Scope output in Simulink and the actual waveform from the hardware. Could this be due to a mistake in my hardware setup or Simulink configuration? I would appreciate any guidance or suggestions.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 07:27:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-GPO-Output-pulse-is-different-from-Simulink-scope/m-p/2105958#M10265</guid>
      <dc:creator>HyeonJun94</dc:creator>
      <dc:date>2025-05-28T07:27:26Z</dc:date>
    </item>
  </channel>
</rss>

