<?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: S32K312 PWM initialization problem under MCAL in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684253#M24903</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186237"&gt;@Alfredo_Rubio&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Do you initialize the EMIOS clock before the EMIOS?&lt;/P&gt;
&lt;P&gt;There is this RTD IP example that utilizes EMIOS_1_ch12 and the LED for PWM.&lt;/P&gt;
&lt;P&gt;Have you tested it?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1688910771644.png" style="width: 662px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231382i75533E80E511C435/image-dimensions/662x461?v=v2" width="662" height="461" role="button" title="danielmartynek_0-1688910771644.png" alt="danielmartynek_0-1688910771644.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2023 13:53:16 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2023-07-09T13:53:16Z</dc:date>
    <item>
      <title>S32K312 PWM initialization problem under MCAL</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1683189#M24852</link>
      <description>&lt;P&gt;I’m trying to implement a single PWM output in the S32K312 EVB board.&lt;/P&gt;&lt;P&gt;I’ve previously generated different PWM signals but without the MCAL abstraction layer. I need to use this layer to generate and verify the .mex file that we will use during our MBD development.&lt;/P&gt;&lt;P&gt;I’m trying to use EMIOS_1 channel 12 that is connected to the onboard red led.&lt;/P&gt;&lt;P&gt;I think that the configuration is correct, but when the Pwm_Init &amp;nbsp;function is called, the program crash&amp;nbsp; (go to &lt;STRONG&gt;HardFault_Handler&lt;/STRONG&gt;). I have followed the execution and found that the exception arise when the following function is executed:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Emios_Pwm_Ip_SetOutputUpdate&lt;/STRONG&gt;(Emios_Pwm_Ip_HwAddrType *&lt;STRONG&gt;const&lt;/STRONG&gt; Base,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint8 Channel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; boolean Value)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Base-&amp;gt;OUDIS = Base-&amp;gt;OUDIS | (eMIOS_OUDIS_OU0((Value == TRUE) ? 0x00U : 0x01U) &amp;lt;&amp;lt; Channel);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I now all the parameters are correct. Base is pointing to address 0x4008C000, channel value is 12 (intended emios channel) and Value is TRUE.&lt;/P&gt;&lt;P&gt;Do you have any idea on this problem.&lt;/P&gt;&lt;P&gt;I'm triying to attach the .mex file but the system doesn't allow me to upload it.&lt;/P&gt;&lt;P&gt;Thanks you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 12:39:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1683189#M24852</guid>
      <dc:creator>Alfredo_Rubio</dc:creator>
      <dc:date>2023-07-06T12:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 PWM initialization problem under MCAL</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684253#M24903</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186237"&gt;@Alfredo_Rubio&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Do you initialize the EMIOS clock before the EMIOS?&lt;/P&gt;
&lt;P&gt;There is this RTD IP example that utilizes EMIOS_1_ch12 and the LED for PWM.&lt;/P&gt;
&lt;P&gt;Have you tested it?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1688910771644.png" style="width: 662px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231382i75533E80E511C435/image-dimensions/662x461?v=v2" width="662" height="461" role="button" title="danielmartynek_0-1688910771644.png" alt="danielmartynek_0-1688910771644.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 13:53:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684253#M24903</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-07-09T13:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 PWM initialization problem under MCAL</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684587#M24921</link>
      <description>&lt;P&gt;I have just intalled the DS a month and a half&amp;nbsp; ago, but don't have any 312 example on my installation. I think that need to check for updates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 07:27:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684587#M24921</guid>
      <dc:creator>Alfredo_Rubio</dc:creator>
      <dc:date>2023-07-10T07:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 PWM initialization problem under MCAL</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684618#M24924</link>
      <description>&lt;P&gt;And yes, the problem was that the clock was not enabled for any emios.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was not clear were to enable the clock under de MCAL environment. I had checked that it was enable on the menu bar clock icon, but I have found that it was the right place. &amp;nbsp;Yo need to enable on MCAL-&amp;gt;MCU-&amp;gt;McuModuleConfiguration-&amp;gt;McuModeSettingConf&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 08:08:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684618#M24924</guid>
      <dc:creator>Alfredo_Rubio</dc:creator>
      <dc:date>2023-07-10T08:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 PWM initialization problem under MCAL</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684639#M24926</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ' have just checked for update and the last S32K3XX AUTOSAR version available is the 4.4 that I have already installed. How can I get the 4.4.2.0.1 that you have?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my new from example menu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alfredo_Rubio_0-1688977252127.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231494iF47A2580AC528B3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alfredo_Rubio_0-1688977252127.png" alt="Alfredo_Rubio_0-1688977252127.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 08:24:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684639#M24926</guid>
      <dc:creator>Alfredo_Rubio</dc:creator>
      <dc:date>2023-07-10T08:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 PWM initialization problem under MCAL</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684962#M24943</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186237"&gt;@Alfredo_Rubio&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;According to the release notes of the RTD RTM 2.0.x, it is compatible with S32DS IDE 3.4.&lt;/P&gt;
&lt;P&gt;Please install the 3.4 version.&lt;/P&gt;
&lt;P&gt;The RTD should be available in S32DS Extensions and Updates.&lt;/P&gt;
&lt;P&gt;If not, let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 14:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-PWM-initialization-problem-under-MCAL/m-p/1684962#M24943</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-07-10T14:16:58Z</dc:date>
    </item>
  </channel>
</rss>

