<?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>i.MX ProcessorsのトピックClock setting for PWM operation</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Clock-setting-for-PWM-operation/m-p/1363037#M182248</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I can obtain PWM signal output by reference evkbimxrt1050_pwm example.&lt;/P&gt;&lt;P&gt;But when I operate not only PWM but also I2C, I2C has always error.&lt;/P&gt;&lt;P&gt;And I found that below code is cause of problem.&lt;/P&gt;&lt;P&gt;CLOCK_SetDiv(kCLOCK_AhbDiv, 0x2);&lt;/P&gt;&lt;P&gt;If I use below code(which can be found BOARD_BootClockRUN()), I2C can operate well.&lt;/P&gt;&lt;P&gt;CLOCK_SetDiv(kCLOCK_AhbDiv, 0x0);&lt;/P&gt;&lt;P&gt;I want to use PWM and I2C simultaneously.&lt;/P&gt;&lt;P&gt;Would you recommend how I can set PWM properly?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 07:09:22 GMT</pubDate>
    <dc:creator>emdev</dc:creator>
    <dc:date>2021-10-28T07:09:22Z</dc:date>
    <item>
      <title>Clock setting for PWM operation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clock-setting-for-PWM-operation/m-p/1363037#M182248</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I can obtain PWM signal output by reference evkbimxrt1050_pwm example.&lt;/P&gt;&lt;P&gt;But when I operate not only PWM but also I2C, I2C has always error.&lt;/P&gt;&lt;P&gt;And I found that below code is cause of problem.&lt;/P&gt;&lt;P&gt;CLOCK_SetDiv(kCLOCK_AhbDiv, 0x2);&lt;/P&gt;&lt;P&gt;If I use below code(which can be found BOARD_BootClockRUN()), I2C can operate well.&lt;/P&gt;&lt;P&gt;CLOCK_SetDiv(kCLOCK_AhbDiv, 0x0);&lt;/P&gt;&lt;P&gt;I want to use PWM and I2C simultaneously.&lt;/P&gt;&lt;P&gt;Would you recommend how I can set PWM properly?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 07:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clock-setting-for-PWM-operation/m-p/1363037#M182248</guid>
      <dc:creator>emdev</dc:creator>
      <dc:date>2021-10-28T07:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Clock setting for PWM operation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Clock-setting-for-PWM-operation/m-p/1368783#M182815</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;Hope you are well. I apologize for my delayed reply.&lt;BR /&gt;&lt;BR /&gt;For I2C I suggest you select USB1PLL as clock source as the I2C example uses. The limitation of the LPI2C clock is that it must be lower or equal to 66MHz.&lt;BR /&gt;For the PWM I suggest you keep the default configuration from&amp;nbsp; BOARD_BootClockRUN() avoiding the modification of the AHB divider.&lt;BR /&gt;&lt;BR /&gt;If you have more questions do not hesitate to ask me. &lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 20:46:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Clock-setting-for-PWM-operation/m-p/1368783#M182815</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-11-09T20:46:51Z</dc:date>
    </item>
  </channel>
</rss>

