<?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: S32K388 eMIOS init ended in BUSFAULT in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K388-eMIOS-init-ended-in-BUSFAULT/m-p/2154211#M51940</link>
    <description>&lt;P&gt;Hi Leo,&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I trying this project again and setup clock follow your screenshot but still is there HARDFAULT.&lt;BR /&gt;One question: you r screenshot is from what environment-versions? MCU, S32DS.RTD? Because main looks different:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OndrejK_0-1755590216387.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352949iEE43AC63BE168BFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OndrejK_0-1755590216387.png" alt="OndrejK_0-1755590216387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and you can see that EMIOS IP is driving from CORE_CLK.&lt;BR /&gt;I try to add&amp;nbsp; Emios_Mcl_Ip_Init function (I not sure if&amp;nbsp; that really missing) to my main.c:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OndrejK_1-1755590389947.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352950i5BCDAFDA0E21557B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OndrejK_1-1755590389947.png" alt="OndrejK_1-1755590389947.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and here is exact place where code first time try access EMIOS-MCR register and step over this cause HARDFAULT immediately:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OndrejK_2-1755590580761.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352951iB099FE4AFFFFBB9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OndrejK_2-1755590580761.png" alt="OndrejK_2-1755590580761.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you try&amp;nbsp; my projects on your side?&lt;BR /&gt;I again attaching original example which works on FIRC clocks(original_example.zip) and adjusted project(adjusted.zip) witch is switched&amp;nbsp; to ExtOSC 16MHz on my S32K388EVB-Q289 board&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 08:11:54 GMT</pubDate>
    <dc:creator>OndrejK</dc:creator>
    <dc:date>2025-08-19T08:11:54Z</dc:date>
    <item>
      <title>S32K388 eMIOS init ended in BUSFAULT</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-eMIOS-init-ended-in-BUSFAULT/m-p/2153597#M51901</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;Me and my colleagues working on new design of our main products and we choose S32K344&amp;nbsp; and S32K388 MCU.&lt;BR /&gt;Now we are playing with ICU (IPWM) and OCU (OPWM) EMIOS&amp;nbsp; functionality and testing this on S32K344 (PVEV board) and S32K388 EVB board) MCU. I pickup example projects from RTD 6.0.0 D2506 version&amp;nbsp; S32DS 3.6.3 and these working &amp;nbsp;fine with clock domain set us running from FIRC (48 MHz).&lt;BR /&gt;But when I change clock domain to&amp;nbsp; external OSC (16MHz) ,PLL&amp;nbsp; chain and EMIOS is clocking from CORE_CLK (120 or 160 MHz) first try to write EMIOS MCR register ended with BUSFAULT escalate to HARDFAULT.&lt;BR /&gt;Seems for me that some initialization missing but I haven't idea what. Funny is that example for using EMIOS PWM output mode works for me well for both clock domain settings (FIRC and external OSC) Have somebody any tips, idea what I need to do in project?&lt;/P&gt;&lt;P&gt;Here is my projects for review:&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 11:07:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-eMIOS-init-ended-in-BUSFAULT/m-p/2153597#M51901</guid>
      <dc:creator>OndrejK</dc:creator>
      <dc:date>2025-08-18T11:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 eMIOS init ended in BUSFAULT</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-eMIOS-init-ended-in-BUSFAULT/m-p/2153841#M51924</link>
      <description>&lt;P&gt;Thank you for your interest in our products and for contributing to our community.&lt;/P&gt;
&lt;P&gt;Please refer to the following community post:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;S32M27x/S32K3 – eMIOS Usage -&amp;gt;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32M-Knowledge-Base/S32M27x-S32K3-eMIOS-Usage/ta-p/2129760" target="_self"&gt;https://community.nxp.com/t5/S32M-Knowledge-Base/S32M27x-S32K3-eMIOS-Usage/ta-p/2129760&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Examples are clocked in the following way:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_Leo__0-1755544381159.png" style="width: 678px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352843i0EDD3DEA809B8FF7/image-dimensions/678x273?v=v2" width="678" height="273" role="button" title="_Leo__0-1755544381159.png" alt="_Leo__0-1755544381159.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope this information is helpful.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 19:13:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-eMIOS-init-ended-in-BUSFAULT/m-p/2153841#M51924</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2025-08-18T19:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 eMIOS init ended in BUSFAULT</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-eMIOS-init-ended-in-BUSFAULT/m-p/2154211#M51940</link>
      <description>&lt;P&gt;Hi Leo,&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I trying this project again and setup clock follow your screenshot but still is there HARDFAULT.&lt;BR /&gt;One question: you r screenshot is from what environment-versions? MCU, S32DS.RTD? Because main looks different:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OndrejK_0-1755590216387.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352949iEE43AC63BE168BFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OndrejK_0-1755590216387.png" alt="OndrejK_0-1755590216387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and you can see that EMIOS IP is driving from CORE_CLK.&lt;BR /&gt;I try to add&amp;nbsp; Emios_Mcl_Ip_Init function (I not sure if&amp;nbsp; that really missing) to my main.c:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OndrejK_1-1755590389947.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352950i5BCDAFDA0E21557B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OndrejK_1-1755590389947.png" alt="OndrejK_1-1755590389947.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and here is exact place where code first time try access EMIOS-MCR register and step over this cause HARDFAULT immediately:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OndrejK_2-1755590580761.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352951iB099FE4AFFFFBB9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OndrejK_2-1755590580761.png" alt="OndrejK_2-1755590580761.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please can you try&amp;nbsp; my projects on your side?&lt;BR /&gt;I again attaching original example which works on FIRC clocks(original_example.zip) and adjusted project(adjusted.zip) witch is switched&amp;nbsp; to ExtOSC 16MHz on my S32K388EVB-Q289 board&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 08:11:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-eMIOS-init-ended-in-BUSFAULT/m-p/2154211#M51940</guid>
      <dc:creator>OndrejK</dc:creator>
      <dc:date>2025-08-19T08:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 eMIOS init ended in BUSFAULT</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-eMIOS-init-ended-in-BUSFAULT/m-p/2154271#M51945</link>
      <description>&lt;P&gt;Hi Leo&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I found out issue here:&lt;BR /&gt;is needed just change &lt;SPAN&gt;Clock_Ip_Init(&amp;amp;Clock_Ip_aClockConfig[0])&lt;/SPAN&gt;&amp;nbsp;function instead&amp;nbsp;&lt;SPAN&gt;Clock_Ip_InitClock(&amp;amp;Clock_Ip_aClockConfig[0]) used on example which is "sub function of previous one.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OndrejK_0-1755594474234.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352978i2C2773CFF952B219/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OndrejK_0-1755594474234.png" alt="OndrejK_0-1755594474234.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now is working for&amp;nbsp; and&amp;nbsp; you can mark this as SOLVED &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;Thank you for your interest&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 09:08:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-eMIOS-init-ended-in-BUSFAULT/m-p/2154271#M51945</guid>
      <dc:creator>OndrejK</dc:creator>
      <dc:date>2025-08-19T09:08:12Z</dc:date>
    </item>
  </channel>
</rss>

