<?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: Values for Apollo Lake PWM Control Register in Embedded Intel Atom® Processors</title>
    <link>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/Values-for-Apollo-Lake-PWM-Control-Register/m-p/1473673#M4987</link>
    <description>&lt;P&gt;Mr. Diego,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="6"&gt;&lt;STRONG&gt;THANK YOU !&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Your explanation was &lt;U&gt;EXACTLY&lt;/U&gt; what I needed.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;As I type this, I am looking at a digital Multimeter connected to a DC motor control relay which is in turn connected the PWM0 signal of my Apollo Lake maker board.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;I am able to cycle through the entire voltage range.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Fantastic !&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 02:07:35 GMT</pubDate>
    <dc:creator>JamesPreciado</dc:creator>
    <dc:date>2023-04-06T02:07:35Z</dc:date>
    <item>
      <title>Values for Apollo Lake PWM Control Register</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/Values-for-Apollo-Lake-PWM-Control-Register/m-p/1473334#M4985</link>
      <description>&lt;P&gt;Apollo Lake has a PWM Control Register (PWMCRTL) for each of its PWM output signals.&amp;nbsp; That register has contains three bit fields that control the frequency of the PWM signal.&amp;nbsp; These fields are BASE_UNIT_INTEGER, BASE_UNIT_FRACtion and ON_TIME_DIVISOR.&lt;/P&gt;
&lt;P&gt;Is there a table of values for the PWMCTRL register showing the value to use for output duty cycles ?&amp;nbsp; For example, what values would I set PWMCTRL register to in order to generate a 100%, 75%, 50% and 25% duty cycle on the PWM signal output ?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 05:05:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/Values-for-Apollo-Lake-PWM-Control-Register/m-p/1473334#M4985</guid>
      <dc:creator>JamesPreciado</dc:creator>
      <dc:date>2023-04-05T05:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Values for Apollo Lake PWM Control Register</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/Values-for-Apollo-Lake-PWM-Control-Register/m-p/1473642#M4986</link>
      <description>&lt;P class="sub_section_element_selectors"&gt;Hello&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/222548"&gt;@JamesPreciado&lt;/a&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;BR /&gt;Thank you for contacting Intel Embedded Community.&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;SPAN&gt;The main PWM variables that control PWM output are:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;base_unit: Frequency is controlled by the base_unit setting in the PWMCTRL register. The base_unit value is added to a counter every clock. Counter roll-over marks the start of a new cycle.&lt;/LI&gt;
&lt;LI&gt;on_time_divisor: Duty cycle is controlled by the on_time_divisor setting (0 to 255). When the counter rolls-over it is reset and a new cycle starts with the output signal being 0, once the counter reaches the on_time_divisor value the output toggles to 1 and stays high until the counter rolls over.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So, if on_time_divisor is 0, the duty cycle will be the maximum for the base_unit you set, maybe in a formula can be, 1-(otd/256) I think.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like if otd is 0, the counter reaches the on_time_divisor value immediately, having a duty cycle of 100%, 50% at 127 and a duty cycle of 0.04% at 255 of the on_time_divisor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;Best regards,&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;A class="sub_section_element_selectors" href="https://community.intel.com/t5/user/viewprofilepage/user-id/266977" target="_blank"&gt;@Diego_INTEL&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 00:02:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/Values-for-Apollo-Lake-PWM-Control-Register/m-p/1473642#M4986</guid>
      <dc:creator>Diego_INTEL</dc:creator>
      <dc:date>2023-04-06T00:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Values for Apollo Lake PWM Control Register</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/Values-for-Apollo-Lake-PWM-Control-Register/m-p/1473673#M4987</link>
      <description>&lt;P&gt;Mr. Diego,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="6"&gt;&lt;STRONG&gt;THANK YOU !&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Your explanation was &lt;U&gt;EXACTLY&lt;/U&gt; what I needed.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;As I type this, I am looking at a digital Multimeter connected to a DC motor control relay which is in turn connected the PWM0 signal of my Apollo Lake maker board.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;I am able to cycle through the entire voltage range.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Fantastic !&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 02:07:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/Values-for-Apollo-Lake-PWM-Control-Register/m-p/1473673#M4987</guid>
      <dc:creator>JamesPreciado</dc:creator>
      <dc:date>2023-04-06T02:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Values for Apollo Lake PWM Control Register</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/Values-for-Apollo-Lake-PWM-Control-Register/m-p/1473910#M4990</link>
      <description>&lt;P class="sub_section_element_selectors"&gt;Hello&lt;SPAN class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;A class="sub_section_element_selectors" href="https://community.intel.com/t5/user/viewprofilepage/user-id/222548" target="_blank"&gt;@JamesPreciado&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;That sounds great. I'm glad that I could be of help.&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;Best regards,&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&lt;A class="sub_section_element_selectors" href="https://community.intel.com/t5/user/viewprofilepage/user-id/266977" target="_blank" rel="noopener"&gt;@Diego_INTEL&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 18:30:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/Values-for-Apollo-Lake-PWM-Control-Register/m-p/1473910#M4990</guid>
      <dc:creator>Diego_INTEL</dc:creator>
      <dc:date>2023-04-06T18:30:03Z</dc:date>
    </item>
  </channel>
</rss>

