<?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 output in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018445#M44518</link>
    <description>&lt;P&gt;Hi@&lt;SPAN&gt;fengba_360&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This is impossible. I tested it and found that the global prescaler is effective for all channels.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1734942787563.png" style="width: 722px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317023i53DE84B48985AC60/image-dimensions/722x653?v=v2" width="722" height="653" role="button" title="Senlent_0-1734942787563.png" alt="Senlent_0-1734942787563.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Dec 2024 08:33:27 GMT</pubDate>
    <dc:creator>Senlent</dc:creator>
    <dc:date>2024-12-23T08:33:27Z</dc:date>
    <item>
      <title>s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2017658#M44461</link>
      <description>&lt;P&gt;Hello, we encountered a strange phenomenon while using the PWM output function with the s32k312. When configuring the clock divider value at the EMIOS_MCL layer for global frequency division, we found it did not work, but configuring the channel frequency divider was effective. For example, when the system clock frequency is 120MHz, if we set the global frequency division to 120 and the channel frequency division to 10, with a period tick of 50,000, the output frequency is 240Hz. However, if we set the global frequency division to 1 and the channel frequency division to 10, with the same period tick of 50,000, the output frequency remains 240Hz.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20241220141610.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316805i6185F7E54BBD8120/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20241220141610.png" alt="微信图片_20241220141610.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20241220141615.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316806i0A3AF94D14F83A1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20241220141615.png" alt="微信图片_20241220141615.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 06:17:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2017658#M44461</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-20T06:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2017701#M44464</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@fengba_360" target="_blank"&gt;Hi@fengba_360&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You select "Internal Counter" for Ch5, so there is nothing do to with "Mcl" settings.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1734679968436.png" style="width: 621px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316815i68DF6F1F8E633E82/image-dimensions/621x371?v=v2" width="621" height="371" role="button" title="Senlent_0-1734679968436.png" alt="Senlent_0-1734679968436.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 07:36:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2017701#M44464</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-12-20T07:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2017758#M44469</link>
      <description>&lt;P&gt;Received, thank you. However, when I use the EMIOS ICU to measure PWM input and select the EMIOS_ICU_BUS_INTERNAL_COUNTER, the global frequency divider does indeed take effect. As shown in the figure below, I am somewhat confused. Could you please help clarify this?&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="微信图片_20241220162912.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316834i1BF58B4CDA7FE7E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20241220162912.png" alt="微信图片_20241220162912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 08:38:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2017758#M44469</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-20T08:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018414#M44512</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;fengba_360&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;"However, if we set the global frequency division to 1 and the channel frequency division to 10, with the same period tick of 50,000, the output frequency remains 240Hz"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I think this is wrong. It should still change. You can test it again.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 07:39:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018414#M44512</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-12-23T07:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018421#M44514</link>
      <description>&lt;P&gt;I have tested it, and for PWM output, the global prescaler does not take effect, but it does take effect when measuring with PWM ICU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 07:56:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018421#M44514</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-23T07:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018424#M44516</link>
      <description>&lt;P&gt;Moreover, didn't you say that if the internal counter is selected for PWM output, it is unrelated to the MCL global prescaler?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 07:59:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018424#M44516</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-23T07:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018445#M44518</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;fengba_360&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This is impossible. I tested it and found that the global prescaler is effective for all channels.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1734942787563.png" style="width: 722px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317023i53DE84B48985AC60/image-dimensions/722x653?v=v2" width="722" height="653" role="button" title="Senlent_0-1734942787563.png" alt="Senlent_0-1734942787563.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 08:33:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018445#M44518</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-12-23T08:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018517#M44524</link>
      <description>&lt;P&gt;Hello, I have conducted another round of actual measurements, and here are my results. I set the global frequency division to 10 and the channel frequency division to 12. Based on theoretical calculations, the final frequency of this channel should be 1MHZ, with a tick of 50,000, resulting in an output frequency of 20HZ. However, when I measured it with an oscilloscope, the actual output frequency was 200HZ.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317050i71215A683354EC10/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317051i541593BDC111288C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317052i9A851032EF8E554D/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 09:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018517#M44524</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-23T09:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018519#M44525</link>
      <description>&lt;P&gt;My understanding is the same as yours, but the actual test result shows that the global division has not taken effect.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 09:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018519#M44525</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-23T09:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018520#M44526</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;fengba_360&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Did you initialize MCL in the main function?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 09:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018520#M44526</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-12-23T09:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018528#M44529</link>
      <description>&lt;P&gt;hello ：Please have a look.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317054i021124C0526202DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 10:04:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018528#M44529</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-23T10:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018530#M44530</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@fengba_360" target="_blank"&gt;Hi@fengba_360&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Emios_Mcl_Ip_Init(0U, &amp;amp;Emios_Mcl_Ip_0_Config);&lt;/P&gt;
&lt;P&gt;Emios_Mcl_Ip_ConfigureGlobalTimebase(0U, TRUE);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 10:10:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018530#M44530</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-12-23T10:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018551#M44535</link>
      <description>&lt;P&gt;It didn't work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317064iE27810475C1CC0EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.jpg" alt="5.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317066i8CE2C4C800B3F3AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 10:48:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018551#M44535</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-23T10:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018747#M44547</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@fengba_360" target="_blank"&gt;Hi@fengba_360&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please provide your project and I will check it for you.&lt;/P&gt;
&lt;P&gt;My test project is in line with expectations.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 01:49:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018747#M44547</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-12-24T01:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018760#M44548</link>
      <description>&lt;P&gt;Should I create a new case or directly send it to your email?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 02:09:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018760#M44548</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-24T02:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018763#M44549</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;fengba_360&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;you can create a new case and tell me the case number.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 02:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018763#M44549</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-12-24T02:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018779#M44550</link>
      <description>case：00674118</description>
      <pubDate>Tue, 24 Dec 2024 02:34:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018779#M44550</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-24T02:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018889#M44559</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@fengba_360" target="_blank"&gt;Hi@fengba_360&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In your project, you didn't enable &lt;STRONG&gt;UCPREN&lt;/STRONG&gt; bit.&lt;/P&gt;
&lt;DIV id="tinyMceEditorSenlent_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_1-1735020814969.png" style="width: 724px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317163i145CBB3D794DFC81/image-dimensions/724x286?v=v2" width="724" height="286" role="button" title="Senlent_1-1735020814969.png" alt="Senlent_1-1735020814969.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;eMIOS_Cn.UCPREN = 0:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_2-1735020835553.png" style="width: 710px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317164i77525077AE393F7E/image-dimensions/710x307?v=v2" width="710" height="307" role="button" title="Senlent_2-1735020835553.png" alt="Senlent_2-1735020835553.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;eMIOS_Cn.UCPREN = 1:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_3-1735020845523.png" style="width: 719px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317165i62136AD423F9E91A/image-dimensions/719x308?v=v2" width="719" height="308" role="button" title="Senlent_3-1735020845523.png" alt="Senlent_3-1735020845523.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 06:17:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2018889#M44559</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-12-24T06:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 pwm output</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2019110#M44571</link>
      <description>&lt;P&gt;thanks，it is work&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 13:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-pwm-output/m-p/2019110#M44571</guid>
      <dc:creator>fengba_360</dc:creator>
      <dc:date>2024-12-24T13:48:34Z</dc:date>
    </item>
  </channel>
</rss>

