<?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: S32K116 PWM输出问题 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K116-PWM%E8%BE%93%E5%87%BA%E9%97%AE%E9%A2%98/m-p/1749947#M28296</link>
    <description>&lt;P&gt;感谢回复，按照您所提供的方式，修改了配置后，PWM输出变化就可以平滑过渡了。&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 03:39:22 GMT</pubDate>
    <dc:creator>JiShufan9</dc:creator>
    <dc:date>2023-11-01T03:39:22Z</dc:date>
    <item>
      <title>S32K116 PWM输出问题</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-PWM%E8%BE%93%E5%87%BA%E9%97%AE%E9%A2%98/m-p/1748687#M28245</link>
      <description>&lt;P&gt;近期在使用S32K116做PWM自动调光，PWM设定为200Hz，在改变PWM输出占空比时，发现PWM变化时会有异常现象&lt;SPAN&gt;，在相近的两个亮度中间会出现一个高亮画面。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;如下图，PWM1=3.30075/4.991=66.13%，PWM2=5.83725/7.5195=77.63%，PWM3=3.3085/4.991=66.29%。&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JiShufan9_0-1698665079112.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/247508i0384AD11AAEE17EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JiShufan9_0-1698665079112.png" alt="JiShufan9_0-1698665079112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;在66.13%变化至66.29%时，会出现一个77.64%的亮度的画面。&lt;/P&gt;&lt;P&gt;所以想请教下大家，有什么办法可以避免这种情况吗？是否能使调光更加的平滑？&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 11:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-PWM%E8%BE%93%E5%87%BA%E9%97%AE%E9%A2%98/m-p/1748687#M28245</guid>
      <dc:creator>JiShufan9</dc:creator>
      <dc:date>2023-10-30T11:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 PWM输出问题</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-PWM%E8%BE%93%E5%87%BA%E9%97%AE%E9%A2%98/m-p/1749088#M28260</link>
      <description>&lt;P&gt;Hi JiShufan9,&lt;/P&gt;
&lt;P&gt;请问是否用了S32K-RM参考手册提到的Synchronization Points来更新PWM占空比？&amp;nbsp;&lt;EM&gt;The synchronization points are points where the registers can be updated with their write buffer by PWM synchronization. These synchronization points are safe points because guarantee &lt;STRONG&gt;smooth transitions&lt;/STRONG&gt; in the generated PWM signals. &lt;/EM&gt;这有提到: 可以让生成的PWM信号平滑过渡。&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47.5.13.3 Synchronization Points S32K-RM.png" style="width: 828px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/247581iED06A49E0B610CB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="47.5.13.3 Synchronization Points S32K-RM.png" alt="47.5.13.3 Synchronization Points S32K-RM.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;请问你的工程使用S32K1 SDK的API，还是直接操作寄存器？&lt;A href="https://www.nxp.com/docs/zh/application-note/AN5303.pdf" target="_self"&gt;AN5303&amp;nbsp;S32K 上 FlexTimer 模块的特性和工作模式&lt;/A&gt;&amp;nbsp;有提到半周期和全周期重装策略。&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A class="dtmcustomrulelink" href="https://www.nxp.com/webapp/Download?colCode=AN5303SW&amp;amp;docLang=en" target="_blank" rel="noopener" data-dtmaction="Documentation Section - Results Link Click" data-dtmsubaction="Associated File: AN5303: Features and Operation Modes of FlexTimer Module on S32K – Application Note - NXP - Application Note - English"&gt;AN5303SW&lt;/A&gt;&amp;nbsp;里有直接操作寄存器的示例。&lt;/P&gt;
&lt;P&gt;SDK的话，根据你使用的S32DS for ARM 还是S32DS for S32 Platform,在Processor Expert或S32 Configuration Tool外设配置工具页面应该都是可以选择的，比如以下是S32DS&amp;nbsp;for S32 Platform的配置页面：&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTM Register Sync Configuration Sync Point.png" style="width: 507px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/247587i9A5773FB639F675B/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM Register Sync Configuration Sync Point.png" alt="FTM Register Sync Configuration Sync Point.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 02:59:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-PWM%E8%BE%93%E5%87%BA%E9%97%AE%E9%A2%98/m-p/1749088#M28260</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-10-31T02:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 PWM输出问题</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-PWM%E8%BE%93%E5%87%BA%E9%97%AE%E9%A2%98/m-p/1749947#M28296</link>
      <description>&lt;P&gt;感谢回复，按照您所提供的方式，修改了配置后，PWM输出变化就可以平滑过渡了。&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 03:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-PWM%E8%BE%93%E5%87%BA%E9%97%AE%E9%A2%98/m-p/1749947#M28296</guid>
      <dc:creator>JiShufan9</dc:creator>
      <dc:date>2023-11-01T03:39:22Z</dc:date>
    </item>
  </channel>
</rss>

